-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some questions #11
Comments
You have to do it on the server side because this is what spiders fetch. They don't run JavaScript. |
Hi @mitar Thank you so much for your answer. I am trying to understand this thoroughly, got couple more follow up questions. :) So lets assumed a case that I have iron router installed and spiderable installed as well. I have set meta data with IR's beforeAction hook. When I do curl -i APPADDRESS?escaped_fragment=, it returns correct header. And this is not what google spider will get? |
Also @mitar From Headly's code, it add metadata into headers, if useragent is one of the 2(facebook and twitter). How would it helps for Googlebot? Oops Mybad, It said in description it works for facebook's og metadata. |
If you want support for Google, use spiderable. |
And yes, interaction between spiderable, headly, and iron-router is probably not well defined. |
Just rereading the blog post from Matt about spiderable. He said "When a spider requests an HTML snapshot of a page, the Meteor server runs the client half of the application and returns the full HTML generated by the client code." That is where I got really confused about adding meta data on the server side. |
Hi @ayal
First, good job on this package. I am just having some questions on this topic. I think you might have the answer I seek.
Thank you for the package. Love to hear back from you.
The text was updated successfully, but these errors were encountered: