HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


gallery image check........

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#90817 (In Topic #18329)
Avatar

Community saint

Is there a maintenance routine built in that will go through the galleries and either mark or remove images that for whatever reason no longer exist?

I have done a lot of cleaning up and it seems the most common error the site get's according to googles webmaster tools is 'not found' on images.  I don't know where it's getting the links to crawl, so don't know if it is old stuff it found somewhere else or if there are just more images in my gallery that users used links to post that are now dead/unavailable.    

It seems like a lot of work to go through every image to check.

Paul
Back to the top
 
Posted
Rating:
#90820
Avatar

Kinda. There's the broken URLs cleanup tool, but that does it site wide and disables itself if you have too many links. But the limit is 10,000 so it may well work for you.

I like the idea of an OcCLE command to run it on a table:
0000816: Broken link check command - ocPortal feature tracker

Alternatively you could do this manually.
  1. Go into phpMyAdmin
  2. Grab a CSV export of the images table
  3. In e.g. Excel sort by the url column
  4. Grab all those starting http:// to clipboard
  5. Find some tool/web service that allows checking a list of links


Become a fan of ocPortal on Facebook or add me as a friend. Add me on on Twitter.
Was I helpful?
  • If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
  • If so, please let others know about ocPortal whenever you see the opportunity.
  • If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying ocPortal on fun personal projects.
  • If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
Back to the top
 
Posted
Rating:
#90856
Avatar

Community saint

Ok, thanks for the info.

Paul
Back to the top
 
There are too many online users to list.
Control functions:

Quick reply   Contract

Your name:
Your message: