Single page websites are a relatively new class of web sites that are gaining some traction, at least in some contexts (http://sixrevisions.com/web_design/the-science-behind-a-single-page-website/). As the name suggests, they are websites made of a single page (thus _usually_ a single URL) and different contents are accessed by means of CSS and JavaScript.

I'm studying them since they are at the boundary of what I usually call "web application" (in contrast to website). The experiments I'm doing aren't at the moment with a real single-page website (but I'll start designing one sooner or later), rather with a regular website that includes complex subsections made of a single page. For instance, photo galleries. I've redesigned all my photo galleries to get rid of Flash (originally in order to support the iPad etc) so they are now running a JQuery script. Each gallery can be thought as a single page website, even though by using #hash URLs I'm making them bookmarkable (e.g. during the slideshow starting at http://stoppingdown.net/diary/2010/January/CornicheEsterel/ you'll see the URL changing as http://stoppingdown.net/diary/2010/January/CornicheEsterel/#20100102-0022, http://stoppingdown.net/diary/2010/January/CornicheEsterel/#20100102-0001 etc... as the photos go on).

Now, the question. Having HTML seems to be an advantage for indexing (e.g. by Google) and for analytics (e.g. by Google Analytics). Consider the photo example: each photo has got its own title and metadata (keywords), and I'd like Google to be able to index them. Actually, each set of keywords could be bound to a real URL (e.g. keyword1 -> .../#20100102-0022, keyword2 -> .../#20100102-0001, etc... so when I google for keyword1 I should see the first URL, including the anchor after the #hash, among the results). But is this possible in practice? If yes, how?

Same thing for analytics: my site is registered to Google Analytics, but it seem unable to distinguish URLs that only differ after the #hash. After all, they are the same page. Is there any way to have Google Analytics to consider them separate pages?

Thanks.

--
Fabrizio Giudici - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
java.net/blog/fabriziogiudici - www.tidalwave.it/people
[email protected]

--
You received this message because you are subscribed to the Google Groups "The Java 
Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to