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.
James Smits
2017-Jun-06 16:41 UTC
Feed.TXT - A Free Feeds Format in Plain Text w/ Structured Meta Data and Markdown ; -)
I know this is the wrong list for this, but JSON Feed seems like as much of a joke as Feed.TXT. RSS works and has widespread adoption. As far as I can tell there is no upside to JSON feed other than "it isn't XML". I don't see a business case for supporting another feed format simply because JSON is easier to parse. On Tue, Jun 6, 2017 at 3:25 AM, Gerald Bauer <gerald.bauer at gmail.com> wrote:> 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. > _______________________________________________ > Markdown-Discuss mailing list > Markdown-Discuss at six.pairlist.net > https://pairlist6.pair.net/mailman/listinfo/markdown-discuss >-------------- next part -------------- An HTML attachment was scrubbed... URL: <https://pairlist6.pair.net/pipermail/markdown-discuss/attachments/20170606/aeef8f36/attachment.html>