On Fri 20 Apr 2012, Bob Walker bob@randomness.org.uk wrote:
pages with rdf will have links to it.
http://london.randomness.org.uk/wiki.cgi?Cafe_East,_SE16_7LH http://london.randomness.org.uk/wiki.cgi?id=Cafe_East%2C_SE16_7LH;format=rdf rgl doesnt link to the json but you just change the format. http://london.randomness.org.uk/wiki.cgi?id=Cafe_East%2C_SE16_7LH;format=jso...
RGL does link to the JSON now! This was an oversight which I have corrected.
Incidentally, in core OpenGuides the header.tt includes links like this:
<link rel="alternate" type="application/rss+xml" title="Page as RSS" href="[% feed_base %];format=rss" /> <link rel="alternate" type="application/atom+xml" title="Page as Atom" href="[% feed_base %];format=atom" />
Should there be one for the JSON version too, or is that not what this type of link is for? And if there should be one, what should the "type" attribute be?
kake has been adding better json to some of locale and cateogry pages. i think.
Sort of. I fixed ?action=index;format=json to actually work, _but_ the JSON links on locale and category pages actually link to e.g. ?id=My_Category;format=json which is like the JSON output for a normal page.
Kake