google snippets for data in datatable

google snippets for data in datatable

DukeNukenDukeNuken Posts: 7Questions: 2Answers: 0
edited March 2014 in General
Hey.

I am using the datatable for music tracks. For example this one http://freemusiclib.com/artist/Rihanna
Each item show in row something like that
[code]Diamonds[/code]

but when google checking that page with the tool http://www.google.com/webmasters/tools/richsnippets it dont see info which generated by datatable. Can I fix that somehow? I understand what it may be question to the google team but may be I miss something in datatable settings.

Duke

Replies

  • systematicalsystematical Posts: 23Questions: 0Answers: 0
    This is because you are loading your table with Ajax and Google is not good at indexing Ajax. See: http://webcache.googleusercontent.com/search?q=cache:ZtBOGAwtc84J:freemusiclib.com/artist/Rihanna+&cd=1&hl=en&ct=clnk&gl=us

    Don't load your table with ajax if you want this functionality. Or come up with a solution that is spider friendly.
  • DukeNukenDukeNuken Posts: 7Questions: 2Answers: 0
    Thanks, now main question how to do it "spider friendly", but looks like it is not correct forum for this question :)
  • allanallan Posts: 63,075Questions: 1Answers: 10,384 Site admin
    Its on the edge :-). However, basically you want to take systematical's advice in my opinion. If search engine crawling is important for you, don't Ajax load the data - have it in the HTML. Otherwise the spider won't see the data (apparently the Google spider does execute Javascript, so it might have some Ajax support - I don't know, but if it does, it will do some serious downgrading of the results).

    Allan
  • systematicalsystematical Posts: 23Questions: 0Answers: 0
    You can put the data you want google to see and not your users to see in noscript tags. That's one idea.
This discussion has been closed.