Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Breaking the Web with hash-bangs
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  18 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
cancel bubble  
View profile  
 More options Feb 8 2011, 6:48 pm
From: cancel bubble <cancelbub...@gmail.com>
Date: Tue, 8 Feb 2011 15:48:50 -0800 (PST)
Local: Tues, Feb 8 2011 6:48 pm
Subject: Breaking the Web with hash-bangs

http://isolani.co.uk/blog/javascript/BreakingTheWebWithHashBangs

"Lifehacker, along with every other Gawker property, experienced a lengthy
site-outage on Monday<http://blogs.wsj.com/digits/2011/02/07/gawker-outage-causing-twitter-...>over a misbehaving piece of JavaScript. Gawker sites were reduced to being
an empty homepage layout with zero content<http://dl.dropbox.com/u/3205568/lifehacker-loading-screenshot-2011020...>,
functionality, ads, or even legal disclaimer wording. Every visitor coming
through via Google bounced right back out, because all the content was
missing.

Gawker, like Twitter before it, built their new site to be totally dependent
on JavaScript, even down to the page URLs. The JavaScript failed to load, so
no content appeared, and every URL on the page was broken."


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
mcot  
View profile  
 More options Feb 8 2011, 11:09 pm
From: mcot <atm1...@gmail.com>
Date: Tue, 8 Feb 2011 20:09:20 -0800 (PST)
Local: Tues, Feb 8 2011 11:09 pm
Subject: Re: Breaking the Web with hash-bangs
I've noticed this same thing with the NY times app on the chrome web
store.  In my experience about 25-30% of the time it fails to load and
you get no content.  I also notice this with the NY times app on the
apple app store which appears to just be a native app with a webkit
view hosting the same content as whats on the chrome web store.

Its a difficult problem.  While the idea of "progressive enhancement"
sounds nice, I can see it being particularly hard to achieve with
HTML5 web apps.  Lifehacker is kind of a borderline case where they
really are not full blown web apps but include a lot of essential
functionality that needs JS.

On Feb 8, 6:48 pm, cancel bubble <cancelbub...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jason Mulligan  
View profile  
 More options Feb 9 2011, 10:10 am
From: Jason Mulligan <jason.mulli...@avoidwork.com>
Date: Wed, 9 Feb 2011 07:10:15 -0800 (PST)
Local: Wed, Feb 9 2011 10:10 am
Subject: Re: Breaking the Web with hash-bangs
TDD would've caught that.

On Feb 8, 11:09 pm, mcot <atm1...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
cancel bubble  
View profile  
 More options Feb 9 2011, 3:45 pm
From: cancel bubble <cancelbub...@gmail.com>
Date: Wed, 9 Feb 2011 12:45:10 -0800 (PST)
Local: Wed, Feb 9 2011 3:45 pm
Subject: Re: Breaking the Web with hash-bangs

As a sort of follow-up, Degradable JavaScript Applications Using HTML5
pushState,
http://blog.new-bamboo.co.uk/2011/2/2/degradable-javascript-applicati...

Anyone know if IE9 will be supporting the new history pushState(),
replaceState() and onpopstate event?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
RobG  
View profile  
 More options Feb 9 2011, 4:19 pm
From: RobG <rg...@iinet.net.au>
Date: Wed, 9 Feb 2011 13:19:46 -0800 (PST)
Local: Wed, Feb 9 2011 4:19 pm
Subject: Re: Breaking the Web with hash-bangs

On Feb 10, 1:10 am, Jason Mulligan <jason.mulli...@avoidwork.com>
wrote:

> TDD would've caught that.

A Telecommunication Device for the Deaf? Oh, you mean test driven
development.

An architecture based on links and perfectly functioning javascript to
follow them is brittle and subject to additional a single points of
failure. An architecture isn't a development methodology, they are
completely separate animals.

--
Rob


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Acaz Souza Pereira  
View profile  
 More options Feb 9 2011, 6:31 pm
From: Acaz Souza Pereira <acazso...@gmail.com>
Date: Wed, 9 Feb 2011 21:31:01 -0200
Local: Wed, Feb 9 2011 6:31 pm
Subject: Re: [JSMentors] Re: Breaking the Web with hash-bangs

I think is appearing a lot of discussion about future javascript on the web,
is a complex subject.

I agree javascript today cause lot of problems on pages in slow internet,
the pages simply not loading, like twittter or facebook or orkut...

is hard discussions.... i'll like to observe that.

2011/2/9 RobG <rg...@iinet.net.au>

--
www.twitter.com/acazsouza

www.acazsouza.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Mahemoff  
View profile  
 More options Feb 9 2011, 7:03 pm
From: Michael Mahemoff <mich...@mahemoff.com>
Date: Thu, 10 Feb 2011 00:03:07 +0000
Local: Wed, Feb 9 2011 7:03 pm
Subject: Re: [JSMentors] Re: Breaking the Web with hash-bangs

I'm pretty sure IE9 won't be supporting it. Anything that's not in the beta
won't be in the final version is what I heard from an MS evangelist back in
October.

On Wed, Feb 9, 2011 at 8:45 PM, cancel bubble <cancelbub...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andraž Kos  
View profile  
 More options Feb 10 2011, 2:11 am
From: Andraž Kos <andraz....@gmail.com>
Date: Thu, 10 Feb 2011 08:11:18 +0100
Local: Thurs, Feb 10 2011 2:11 am
Subject: Re: [JSMentors] Re: Breaking the Web with hash-bangs

On Wed, Feb 9, 2011 at 05:09, mcot <atm1...@gmail.com> wrote:
> Its a difficult problem.  While the idea of "progressive enhancement"
> sounds nice, I can see it being particularly hard to achieve with
> HTML5 web apps.

There is a bigger problem: no search engine optimization.

Who cares about the content that can't be found on Google. For me it doesn't
exist.

Solution is simple: write a bare-bone no-css no-flash (who uses that
anyway?) no-nothing pure default html web page that gets displayed by
everything, even text browsers, and can be spidered by Google (googlebot =
text browser). Do not forget the static links that work, so bots can scan
the site.

Then add css. Then add javascript which replaces blocks of the default html
(in divs or html5 sections) with advanced functionality after the page has
loaded. Advanced = ajax inline content replace with no reloading,
animations, etc...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Heilmann  
View profile  
 More options Feb 10 2011, 5:03 am
From: Chris Heilmann <code...@gmail.com>
Date: Thu, 10 Feb 2011 10:03:08 +0000
Local: Thurs, Feb 10 2011 5:03 am
Subject: Re: [JSMentors] Re: Breaking the Web with hash-bangs

On 10/02/2011 07:11, Andraz( Kos wrote:

This is the concept I have been advocating for years, too. The argument
against it I hear though is that if you build an HTML5 Application then
you by default don't want it indexed by Google. Gmail should not show up
in search results as these are your private emails.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dean Landolt  
View profile  
 More options Feb 10 2011, 6:11 am
From: Dean Landolt <d...@deanlandolt.com>
Date: Thu, 10 Feb 2011 06:11:32 -0500
Local: Thurs, Feb 10 2011 6:11 am
Subject: Re: [JSMentors] Re: Breaking the Web with hash-bangs

But that's silly. If you don't want web crawlers reading your emails don't
expose that capability. You probably don't want random people reading your
emails anyway :)

Authorization and indexability are orthagonal issues.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Anton Byrna  
View profile  
 More options Feb 10 2011, 6:19 am
From: Anton Byrna <it.rele...@gmail.com>
Date: Thu, 10 Feb 2011 14:19:52 +0300
Local: Thurs, Feb 10 2011 6:19 am
Subject: Re: Breaking the Web with hash-bangs

Sites that use hash bang are good crawlable if server were set up to handle requests for URLs that contain _escaped_fragment_ see — http://code.google.com/intl/ru-RU/web/ajaxcrawling/docs/getting-start...

--
Anton Byrna
Javascript developer at bookmate.ru


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Mahemoff  
View profile  
 More options Feb 10 2011, 9:07 am
From: Michael Mahemoff <mich...@mahemoff.com>
Date: Thu, 10 Feb 2011 14:07:15 +0000
Local: Thurs, Feb 10 2011 9:07 am
Subject: Re: [JSMentors] Re: Breaking the Web with hash-bangs

cf Hijax
http://ajaxian.com/archives/hijax-graceful-degration

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Dan Cătălin Burzo  
View profile  
 More options Feb 10 2011, 10:29 am
From: Dan Cătălin Burzo <danbu...@gmail.com>
Date: Thu, 10 Feb 2011 17:29:45 +0200
Local: Thurs, Feb 10 2011 10:29 am
Subject: Re: [JSMentors] Re: Breaking the Web with hash-bangs

I don't think progressive enhancement solves all that much in terms of SEO.

The problem lies in the fact that humans will *always* use the human version
of URLs, and Google still won't know how to deal with those. For example, I
will add a link on my blog to my Twitter account like this:
twitter.com/#!/danburzo, because that's what it says in my browser's
location bar. Search engines still need to make sense of this in order to
boost the rank for twitter.com/danburzo.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Heilmann  
View profile  
 More options Feb 10 2011, 11:11 am
From: Chris Heilmann <code...@gmail.com>
Date: Thu, 10 Feb 2011 16:11:54 +0000
Local: Thurs, Feb 10 2011 11:11 am
Subject: Re: [JSMentors] Re: Breaking the Web with hash-bangs

On 10/02/2011 15:29, Dan Cătălin Burzo wrote:

> I don't think progressive enhancement solves all that much in terms of
> SEO.

> The problem lies in the fact that humans will *always* use the human
> version of URLs, and Google still won't know how to deal with those.
> For example, I will add a link on my blog to my Twitter account like
> this: twitter.com/#!/danburzo <http://twitter.com/#%21/danburzo>,
> because that's what it says in my browser's location bar. Search
> engines still need to make sense of this in order to boost the rank
> for twitter.com/danburzo <http://twitter.com/danburzo>.

Totally. The other thing to consider is though that for a lot of these
apps SEO is not really an issue. So if you tell people they shouldn't
use hash-bangs because of Google you will get a lot of "well, we have an
app that has people's private info in it - it shouldn't be indexed anyways".

Why a site like http://www.learnsomethingeveryday.co.uk/#/2010/12/28
uses it doesn't name any sense to me at all.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Björn Söderqvist  
View profile  
 More options Feb 10 2011, 12:42 pm
From: Björn Söderqvist <cyb...@gmail.com>
Date: Thu, 10 Feb 2011 18:42:52 +0100
Local: Thurs, Feb 10 2011 12:42 pm
Subject: Re: [JSMentors] Re: Breaking the Web with hash-bangs
Actually, Google seems to have a way to translate the hashbang into
something more meaningful.

"As soon as you use the hashbang in a URL, Google will spot that
you're following their protocol, and interpret your URLs in a special
way - they'll take everything after the hashbang, and pass it to the
site as a URL parameter instead. The name they use for the parameter
is: _escaped_fragment_"

http://www.seomoz.org/blog/how-to-allow-google-to-crawl-ajax-content

(That's still only Google's way... who knows what the rest do)

On Thu, Feb 10, 2011 at 4:29 PM, Dan Cătălin Burzo <danbu...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Ryan Grove  
View profile  
 More options Feb 10 2011, 1:07 pm
From: Ryan Grove <r...@wonko.com>
Date: Thu, 10 Feb 2011 10:07:25 -0800
Local: Thurs, Feb 10 2011 1:07 pm
Subject: Re: [JSMentors] Re: Breaking the Web with hash-bangs
2011/2/10 Björn Söderqvist <cyb...@gmail.com>:

> Actually, Google seems to have a way to translate the hashbang into
> something more meaningful.

> "As soon as you use the hashbang in a URL, Google will spot that
> you're following their protocol, and interpret your URLs in a special
> way - they'll take everything after the hashbang, and pass it to the
> site as a URL parameter instead. The name they use for the parameter
> is: _escaped_fragment_"

> http://www.seomoz.org/blog/how-to-allow-google-to-crawl-ajax-content

There are still several problems with this, though.

It requires the implementer to forego more human-friendly progressive
enhancement techniques in favor of a non-standard _escaped_fragment_
query parameter, which currently only benefits the GoogleBot. It
breaks referrer URLs. It adds significant latency to the initial
request to a bookmarked # URL, since JavaScript (and probably more
requests) must execute before content can be displayed. It doesn't
work at all if JavaScript is disabled, or if the script fails to load.

Hash-based history is perfectly acceptable (and advisable) for minor
functionality like keeping track of the active tab in a
JavaScript-enhanced tab widget, or which label is currently being
viewed in Gmail, or similar things. It's not a good solution as the
primary navigation handler of an entire content-focused website.

HTML5 pushState is a much better alternative that allows JavaScript
apps to change the URL in a way that's backwards compatible (if
implemented correctly), so the generated URLs can be used regardless
of whether the client supports JavaScript. They don't have the same
latency penalty as hash URLs, since content can be generated on the
server for the initial request. They will also be indexable by all
search crawlers instead of just the GoogleBot. They're correctly
passed as referrer URLs. And they look and behave like perfectly
normal URLs that users are used to, because that's exactly what they
are.

The major drawback of pushState, of course, is a lack of broad browser
support. No version of IE supports pushState (not even IE9). Some
browsers (like Mobile Safari) have buggy support. Since pushState
inherently encourages progressive enhancement, it's possible to
gracefully degrade to non-JS handling of URLs for those browsers, but
it requires careful planning and application design.

Hash-based history is better than no history support at all, but it's
the laziest solution there is.

- Ryan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Michael Mahemoff  
View profile  
 More options Feb 10 2011, 2:17 pm
From: Michael Mahemoff <mich...@mahemoff.com>
Date: Thu, 10 Feb 2011 19:17:26 +0000
Local: Thurs, Feb 10 2011 2:17 pm
Subject: Re: [JSMentors] Re: Breaking the Web with hash-bangs

Simon Willison's collecting articles on this topic:
http://simonwillison.net/tags/hashbanghell/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kyle Adams  
View profile  
 More options Feb 11 2011, 8:07 pm
From: Kyle Adams <k...@kyleandkelly.com>
Date: Fri, 11 Feb 2011 20:07:44 -0500
Local: Fri, Feb 11 2011 8:07 pm
Subject: Re: [JSMentors] Re: Breaking the Web with hash-bangs

> HTML5 pushState is a much better alternative that allows JavaScript
> apps to change the URL in a way that's backwards compatible (if
> implemented correctly), so the generated URLs can be used regardless
> of whether the client supports JavaScript.

IMO, Github's use of pushState for browsing repos seems quite well done and
a good example of progressive enhancement. For example, compare browsing
through folders and files at this URL in FF 3.6 vs. Chrome:

https://github.com/github/markup

Kyle A.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »