I included both the IFID and TUID, because why not, right? The Babel doc now describes both <ifid> and <tuid> tags – that went in last year – so ifiction:tuid is a reasonable property name.
However, I see that IFDB’s XML has its own namespace. When you do an XML query, you get (abbreviated example):
(The RDFa prefix has to end with a slash or hash sign, looks like.)
This is a question with no consequences right now. But maybe someone wants to create a Chrome extension that pops up IFDB info when viewing a web page, or something.
I’m skeptical that a <meta> tag for TUIDs makes sense. Anyone who wants to pop up IFDB info when viewing a web page should ideally use the IFDB API to look up the game by IFID.
But, purely philosophically, if we did want to put a TUID in the <head> for some reason, I think it would be best to just link to IFDB. The normal way to include invisible links in the <head> is to use a <link> tag.
What about the notion of the browser extension, though? If it’s going to fetch XML and display a little info box, it would have to look for the alternate-link URL and then pile query options onto it. That would work but it feels hacky?
The IFID is more available (the author knows it at release time!) but I still wonder whether the TUID will turn out to be a more practical piece of info in the long run.
Given the IFID, that’s all you’d need to show an infobox, with no need for redirects or hackery.
Therefore, I can’t imagine a browser extension that would require games to add a TUID to the <head>. (And just think what a hassle it would be! Authors would have to manually copy and paste the TUID or IFDB URL into their dev system. And for literally no benefit?!)
Now, I suppose if the goal is just to display an infobox, then the browser extension presumably just wants an iFiction doc to do it with; the iFiction doc may or may not be hosted on IFDB.
(I believe MJR had proposed something like this on the Babel list back in 2016.)
I wouldn’t object to defining an ifiction type for <link>, but, again, as long as the IFID is available, I can’t see why anyone would write <link rel=ifiction>or consume it.