Telling Google what to index might not be a figment of webmasters imagination for that much longer. I recently came across a few lines of code explaining that you can tell Google not to index parts of your page. This could prove to be quite useful.
Don't index word:
fish <!--googleoff: index-->shark
<!--googleon: index-->mackerel
Don't use link text to describe target page:
<!--googleoff: anchor--><A href=sharks_rugby.html>
shark </A> <!--googleon: anchor-->
Don't use for snippet:
<!--googleoff: snippet-->Come to the fair!
<!--googleon: snippet-->
Don't index any:
<!--googleoff: all-->Come to the fair!
<!--googleon: all-->
Now I'm not sure if any of this works just yet. I'm still testing, but I imagine that Google will for the most part ignore these comments. We know that the Google bot pretty much tries to read all the code on a page including scripts. But if the snippet comment works at least we might be able to use a description that might be useful.
Watch this space...
4 classic reads, newly available on Google Books
-
Every new year brings new books to read free of charge with Google Books.
1 day ago
0 comments:
Post a Comment