adam-singer / dart-carte-du-jour

Pub documentation generation system
www.dartdocs.org
Other
25 stars 8 forks source link

generate Sitemap #58

Open adam-singer opened 10 years ago

adam-singer commented 10 years ago

https://support.google.com/webmasters/answer/156184?hl=en

sethladd commented 10 years ago

Good call.

skybrian commented 10 years ago

It would be good to make sure that only the latest version of a library is crawled by search engines, so people don't get search results going to old versions.

Also, the URL might need to be adjusted so that the latest version is always the same. That way when people make links and a new version is uploaded, it will keep the Pagerank.

That is, instead of: http://www.dartdocs.org/documentation/angular/0.12.0/index.html#angular

It should be: http://www.dartdocs.org/documentation/angular/latest/index.html#angular

Currently only the front page is showing up: https://www.google.com/?gws_rd=ssl#q=site:dartdocs.org+gifencoder

a14n commented 10 years ago

The lastest link feature is tracked by #51.

With dependency constraints it is quite unlikely that you only need the doc of the lastest version. If only the latest version is crawled, will the search engine be able to return the page if I search for "angular 0.10.0 doc" for instance ?

sethladd commented 10 years ago

@skybrian let's open a separate issue for a different URL structure. (maybe there's already one?) Thanks for the suggestion!

skybrian commented 10 years ago

Yes, Alexandre already posted it.

Entirely up to you. With GWT, we used to have stale versions showing up a lot in Google searches until we switched to gwtproject.org. It made searches rather annoying.

Another solution would be to add a header that says "this is not the latest version" and links to the latest version. That would give more page rank to the latest version (good for when you don't search for a version number) and also inform readers that they might want to look at a different page.