News for hackers. Stuff that matters.
Re:Broken Links by masklinn on Thursday February 10, 2011 @03:35AM (#2201278)
You don't need the hashbang for that. You never did. Hashbang only tells google "munge around this shit to get an actual page".
Re:Broken Links by robin_reala on Thursday February 10, 2011 @04:14AM (#2201342)
What the hashbang does is update the URI in such a way that it’s possible to bookmark/share a URI (assuming you’ve coded your app properly). It is however just a stopgap measure until pushstate turns up - that way we’ll be able to have URIs that encode the document/state reference in the proper part, not the fragment.

Actually, you are right with regards to the bang pash of hashbang - that’s just a Google defined way of letting them access the content.

Re:Broken Links by zaius on Thursday February 10, 2011 @04:18AM (#2201350)
I'm curious what the other solutions are then. The only one I can think of is the History.pushState, and that's only supported in newer browsers.

Let's say I'm writing a web based word processor, and a user clicks on a document. I want the URL to be a reference to that specific document. The only way to change the URL to be specific without requiring a whole-page refresh is to use the hashbang syntax.

Re:Broken Links by masklinn on Thursday February 10, 2011 @05:25AM (#2201465)
> I'm curious what the other solutions are then.

The hash without the bang. It's only been done for about 10 years. You can put whatever you want after the hash. It's up to your application to decide the meaning of it.

For an example, see the OSX SDK documentations: http://developer.apple.com/library/mac/#documentation/Cocoa/...

Re:Broken Links by tjpick on Thursday February 10, 2011 @04:46AM (#2201404)
well it looks like they are emitting crap like this

<a rel="nofollow" href="/#!about/" title="Click here to go to About">About</a>

without the hashbang shit, that's a nice normal link that any normal http client can work with. you can still layer on ajax to bind to that link, and use the fragment for the benefit of browser state and user interaction should you think that is a wise thing.