coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: soro on February 03, 2007, 06:28:08 AM

Title: Does Yahoo rate my images while crawling?
Post by: soro on February 03, 2007, 06:28:08 AM
I've found this in my server log:

"GET /cpg/ratepic.php?pic=680&rate=5 HTTP/1.0" 302 0 "-" "Mozilla/5.0 (compatible; Yahoo! Slurp; http://help.yahoo.com/help/us/ysearch/slurp)"

Looks like Yahoo slurps a rating onto my images, uuh?
Title: Re: Does Yahoo rate my images while crawling?
Post by: Joachim Müller on February 03, 2007, 05:14:09 PM
Yes, it does - if you allow anonymous rating. This is a bug in cpg1.4.x (has been fixed for future versions). Disallow anonymous rating!
Title: Re: Does Yahoo rate my images while crawling?
Post by: soro on February 04, 2007, 04:58:13 PM
Ok, I was just was wondering. I think it's ok as long as Yahoo gives a "5" to my images, so I won't disallow it right now. ;) Thanks for the info!
Title: Re: Does Yahoo rate my images while crawling?
Post by: Joachim Müller on February 05, 2007, 08:14:13 AM
It doesn't. Depends on which link is first to visit for the bot (usually "0"). Moving thread from "General discussion (no support!)" to support board (where you should have posted in the first place).
Title: Re: Does Yahoo rate my images while crawling?
Post by: soro on February 06, 2007, 07:23:10 AM
Well, if that's the case, I'll see whether I can drop some rewrite rule into the pertinent htaccess file so that Yahoo always gives a 5 to all of my images.  :D No, seriously, I didn't really see it as a problem. Just a funny detail. Thanks for the info, and sorry for asking it at the wrong place. Thanks for all your hard work!
Title: Re: Does Yahoo rate my images while crawling?
Post by: soro on February 06, 2007, 07:34:01 AM
... or actually, if I look at it closely, looks like

User-agent: *
Disallow: /path-to-gallery/ratepic.php

in robots.txt could do the job?

Sorry I'm replying to myself. Seems there's no edit button. Please delete my last post at your discretion. Thanks!
Title: Re: Does Yahoo rate my images while crawling?
Post by: Joachim Müller on February 06, 2007, 08:24:56 AM
Yes, this would be an option for spiders that respect robots.txt.