On Mon, Feb 9, 2015 at 3:22 PM, Kingsley Idehen <kidehen(a)openlinksw.com> wrote:
Daniel,
Have you still not considered using <link/> in <head/> of HTML docs to
enable user agents discover:
1. alternative document content sources?
2. 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&m…
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&m…
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
--
Lydia Pintscher -
http://about.me/lydia.pintscher
Product Manager for Wikidata
Wikimedia Deutschland e.V.
Tempelhofer Ufer 23-24
10963 Berlin
www.wikimedia.de
Wikimedia Deutschland - Gesellschaft zur Förderung Freien Wissens e. V.
Eingetragen im Vereinsregister des Amtsgerichts Berlin-Charlottenburg
unter der Nummer 23855 Nz. Als gemeinnützig anerkannt durch das
Finanzamt für Körperschaften I Berlin, Steuernummer 27/681/51985.