Tool for Checking your Yahoo NoContent Tags

Well, I was in the mood for some PHP earlier, and was also working on adding Yahoo’s robots-nocontent tags to my pages, so I decided to waste my whole day relearning regexp stuff (my most hated aspect of php because I can never remember the expressions.. btw this regex cheat sheet is useful if you have a bad memory like me) and developing a little tool that helps you see what you’ve blocked out and what you haven’t. For those of you who have already started playing around with this tag, you probably noticed (like me) that it’s a real pain in the ass getting everything blocked out the way you want it, without accidentally screwing up your divs, spans, paragraphs, etc., or even worse, marking valuable content as robots-nocontent.

Here’s the tool.

This little tool will check your pages and highlight the parts you’ve blocked out in yellow so you can get a visual idea of what you’re telling Yahoo is content and what you’re saying isn’t content. You can also click a link at the top of your results page to toggle between a full code view and one that just shows what you haven’t blocked out.

Hopefully you get some use out of it, because I probably shouldn’t have spent my whole day coding it :) — (Yeah, I’m rusty with PHP, it probably shouldn’t have taken a whole day).

BTW, Some people are bound to notice little mistakes or glitches. If you happen to find something that needs fixin’, please let me know.

RSS feed | Trackback URI


Comment by Tom
2007-05-07 16:36:55

I don’t spend enough of my time looking into what Yahoo is doing. First I have heard of the nocontent tag. I have saved your site to my favorites and will now consider you my Yahoo expert :) Nice tool by the way. It does seem to have a difficult time pulling the html from a php page, future version?

Comment by SEOLoser
2007-05-15 00:09:32

Thanks for the comment.

Actually I usually don’t spend a lot of time on Yahoo either, but lately one of my ‘favorite’ sites in my portfolio has been surprising me with how poorly it’s doing in Y!. I’m getting literally 30 times more hits from Google than Yahoo! on this site, which is totally different than what I’ve experience historically.

About the PHP question–it shouldn’t have any difficulties, because PHP just generates HTML that my script pulls. Is there a complex (or even simple) querystring attached to the URL you’re trying?

I’d love to see the site you’re having trouble analyzing (with this tool) so that I can identify any issues there may be.

Thanks again for commenting.

Comment by Tom
2007-05-21 07:04:24

Well, your right. It does work with the php. When I tried is before it had an issue I can’t seem to reproduce. Musta been a fluke. Again, nice work!

Comment by elusid
2007-07-01 13:08:29

LOL I totally understand your frustration with php regular expressions!

Name (required)
E-mail (required - never shown publicly)
Your Comment (smaller size | larger size)
You may use <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong> in your comment.