choko
choko copied to clipboard
SEO
SEO is always a concern with SPAs. To overcome this, Choko must be able to render simple HTML output for search engine bots as well as Facebook, Google+ and other web resource crawlers and clients that don't actually display the page nor parses javascript.
The HTML page can be a simple list of linked items with auto generated meta tags based on content and context.
This can be implemented by checking the headers those bots send and use them to switch response rendering to HTML instead of JSON. The context system should be changed so context reactions can add in their bits.
@recidive There's some technologies that already do some great work with SPAs. My friend @alexferreira has made some great experiments by using PhantomJS and some custom code, then a library was born.
I don't know about how is going the project, but you can take a look at his seojs and also the dedicated DevCast video.
Search Engine Bot Detection:
https://github.com/presentcompany/funnelweb
This seems to be a better approach for bot detection:
https://github.com/rguerreiro/express-device
Also the snippets each item/field will produce must implement microdata:
http://schema.org/docs/gs.html
Some articles and tools on microdata:
http://diveintohtml5.info/extensibility.html https://html.spec.whatwg.org/multipage/microdata.html#microdata http://foolip.org/microdatajs/live/ http://www.lesliesikos.com/search-engine-optimization-with-html5-microdata-json-ld-semantic-web-standards/