Feed.TXT - A Free Feeds Format in Plain Text w/ Structured Meta Data and Markdown ; -)
Gerald Bauer
gerald.bauer at gmail.com
Tue Jun 6 03:25:58 EDT 2017
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.
More information about the Markdown-Discuss
mailing list