Re:CPP: A Standardized Alternative to AMP
by mxuribe on Tuesday October 25, 2016 @09:44AM
(#12787885)
I agree 90% with this; .txt files get most of the job done! ;-) The other 10% where i don't fully agree comprises of hyperlinks; i need me some clickable hyperlinks. :-)
Re:CPP: A Standardized Alternative to AMP
by walterbell on Tuesday October 25, 2016 @09:55AM
(#12787978)
Browser option to make hyperlinks clickable when rendering text files? Or client-side browser rendering of text-based markdown.
Re:CPP: A Standardized Alternative to AMP
by happyslobro on Tuesday October 25, 2016 @10:15AM
(#12788153)
Having browsers intelligently render `text/markdown` sounds like a great idea. And while we're waiting on the browser implementation, maybe we can find some sort of temporary workaround to send a markdown parser to the client?
Re:CPP: A Standardized Alternative to AMP
by Pete_D on Tuesday October 25, 2016 @02:29PM
(#12790319)
Maybe we could just send the raw markdown anyway - it might not be pretty on all clients, but it should be _legible_ on all clients.
Or maybe we could send markdown if the user agent included text/markdown in the request's Accept header, and pipe it through a markdown->HTML filter otherwise.
I would love to see some kind of native markdown support on the web.
Re:CPP: A Standardized Alternative to AMP
by walterbell on Tuesday October 25, 2016 @04:44PM
(#12791508)
A web search turned up this Firefox plugin, https://addons.mozilla.org/en-US/firefox/addon/markdown-view..., are there other good ones?
Re:CPP: A Standardized Alternative to AMP
by pfooti on Tuesday October 25, 2016 @10:44AM
(#12788410)
As long as I can make text blink, I'm happy.
Re:CPP: A Standardized Alternative to AMP
by krisdol on Tuesday October 25, 2016 @10:56AM
(#12788512)
No, hyperlinks failed us. It's all about single-page apps. Put all of your content and all of the content you would have linked to in your .txt. We need someone to build Reactxt.
Re:CPP: A Standardized Alternative to AMP
by arkitaip on Tuesday October 25, 2016 @09:58AM
(#12788007)
Whoa whoa whoa, what's some fat cat solution right there! Just use a http header for your content and you're set.
Re:CPP: A Standardized Alternative to AMP
by imtringued on Tuesday October 25, 2016 @10:02AM
(#12788040)
The url should contain all the information so we don't have to make a HTTP request.
Edit: I mean this as a sort of lazy way of making a reductio. I don't think .txt is better than HTML/CSS for pages (and I hope that's obvious). I also don't think having no JS is a good idea.
I believe in progressive enhancement, and to a first approximation, I think that all websites have at least one feature that they could implement in JS that would be "a good thing".