Finish Configuring Hidden HTML for web robots and non-javascript browsers.
Currently there are 'hidden' static pages which are accessible to non-javascript-capable user agents, such as simple browsers and web robots.
Their main role is to provide for Google searching, but the stylesheet should be inserted into these in case anyone ends up browsing them.
Additionally, some javascript hash redirection logic is needed to ensure that people who hit these pages with a javascript-capable browser (following a google search match) actually end up at the main view not the static page.
Comments (4)
-
reporter -
reporter This approach has now been completed meaning that (hopefully) when Google indexes our content it will become searchable at the same time as being dynamically loading AJAX-style into the interactive, non-page-reloading view. This also offers a potential fallback vehicle for IE8 or other incompatible browsers.
-
reporter - changed status to resolved
-
reporter As of time of writing (Friday) google still hasn't got around to indexing the content. Hoping this will happen before Saturday.
- Log in to comment
One strategy to achieve this is to copy the final HTML layout into the XQuery which generates the fragment pages. This is a tiny bit wasteful, but would ensure that people get something decent-looking and browsable in all cases. Where these pages happen to be loaded via AJAX, it's just the "div.output" fragment which would be dynamically incorporated into the current view without refreshing.
This content should then pick up every part of the final layout, but dynamic behaviours won't be incorporated.