James Smits
2017-Jun-06 03:34 UTC
Feed.TXT - A Free Feeds Format in Plain Text w/ Structured Meta Data and Markdown ; -)
So is that pure YAML, or YAML with JSON conventions,? Sent from my iPhone> On Jun 5, 2017, at 7:55 PM, Gerald Bauer <gerald.bauer at gmail.com> wrote: > > Hello, > > May I highlight the latest (and greatest) feed format in - > surprise, surprise - plain text with markdown formatting ;-) > > The structured meta data is in (simplified) yaml or (human) json. > > See samples at the Feed.TXT project site [1] > > Questions? Comments? Welcome. Cheers. > > [1] https://feedtxt.github.io > _______________________________________________ > Markdown-Discuss mailing list > Markdown-Discuss at six.pairlist.net > https://pairlist6.pair.net/mailman/listinfo/markdown-discuss
Gerald Bauer
2017-Jun-06 07:25 UTC
Feed.TXT - A Free Feeds Format in Plain Text w/ Structured Meta Data and Markdown ; -)
Hello, The structured meta data block is (simplified) YAML [1] e.g: id: http://therecord.co/chris-parrish title: Special #1 - Chris Parrish url: http://therecord.co/chris-parrish summary: Brent interviews Chris Parrish, co-host of The Record and one-half of Aged & Distilled. published: 2014-05-09T14:04:00-07:00 attachments: - url: http://therecord.co/downloads/The-Record-sp1e1-ChrisParrish.m4a mime_type: audio/x-m4a size_in_bytes: 89970236, duration_in_seconds: 6629 As an alternative you can use "classic" JSON or newer human versions (e.g. SON - Simple Object Notation, JSON5 or HJSON, for example). If you use JSON than the begin / next / end marker change e.g.: |>>> becomes |{ </> becomes }/{ <<<| becomes }| Cheers. [1] Good point- I know JSON is a subset of YAML and JSON is YAML but YAML is not JSON etc. PS: In difference to the new YAML Feed format - Feed.TXT looks like a joke too ;-) It's easy it can't be true but it's for real e.g. all content blocks use plain text with markdown formatting conventions ;-) No more need to clean the HTML for cross-site scripting etc.