On Mon, Feb 9, 2015 at 3:22 PM, Kingsley Idehen kidehen@openlinksw.com wrote:
Daniel,
Have you still not considered using <link/> in <head/> of HTML docs to enable user agents discover:
alternative document content sources?
related document content sources?
All you have to do (although you must know this already) is:
<head> <link rel="alternate" href="https://tools.wmflabs.org/autodesc/?q=Q3184929&lang=en&mode=short&links=text&redlinks=&format=json" title="JSON representation" /> </head>
or if you simply want to be looser:
<head> <link rel="related" href="https://tools.wmflabs.org/autodesc/?q=Q3184929&lang=en&mode=short&links=text&redlinks=&format=json" title="JSON representation" /> </head>
Just placing the above in your HTML aids user agents that understand HTML.
You can even go further, in regards to HTTP aware user agents (beyond browsers) by replicating the relations above via "Link:" response metadata.
This simple tweaks solve lots of discovery related problems :)
Can you please open a ticket for this on phabricator.wikimedia.org? Then we have it in our todo list. Thanks.
Cheers Lydia