[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [syndication] site-wide metadata discovery



Bill Kearney <wkearney@syndic8.com> wrote:
>Site-Index:    http://somesite.example.com/feedindex.xml
>http://purl.org/ocs/directory/0.5/

I woke up thinking "put the pointer in robots.txt" and discovered
someone had beaten me to it. Damn!

Interestingly, robots.txt is valid if trivial YAML[1]. So I wonder what
would happen if you added lines like

Site-Index: default
  href: http://somesite.example.com/feedindex.xml
  type: http://purl.org/ocs/directory/0.5/
  title: My Feed List

I suspect that existing readers of robots.txt would treat this as one
long line with continuation. A YAML parser would extract all the data.

[1]YAML Ain't Markup Language http://www.yaml.org

-- 
Julian Bond Email&MSM: julian.bond@voidstar.com
Webmaster:              http://www.ecademy.com/
Personal WebLog:       http://www.voidstar.com/
M: +44 (0)77 5907 2173   T: +44 (0)192 0412 433