News for hackers. Stuff that matters.
Re:Apps and Web URLs: Perfect Together by icebraining on Thursday October 06, 2011 @08:31PM (#3082159)
Not sure what you're talking about, it doesn't need JS. Works fine here with NoScript, and the source clearly shows the content directly in the HTML.
Re:Apps and Web URLs: Perfect Together by dangrossman on Thursday October 06, 2011 @09:01PM (#3082221)
Not here. The source of this blog post is a script tag that writes a script tag that actually writes the post content. The content isn't in the source.

http://pastebin.com/CXh0nvXm

Re:Apps and Web URLs: Perfect Together by icebraining on Thursday October 06, 2011 @09:19PM (#3082261)
Uh, odd. Both Firefox and curl give me the proper content: http://paste.debian.net/plain/134758
Re:Apps and Web URLs: Perfect Together by joehewitt on Thursday October 06, 2011 @09:38PM (#3082309)
Sorry, I'm doing some experimental stuff here. I do UA sniffing to decide whether to render the page on the server (with Node.js) or on the client with Ajax. Crawlers and old browsers get static content, new browsers get JavaScript.
Re:Apps and Web URLs: Perfect Together by icebraining on Friday October 07, 2011 @07:59AM (#3083570)
Have you thought about adding a link to a server rendered version (something like same_url+"?script=0") inside a <noscript> area? It'd be easy to implement.