QRpedia - Custom URLs
This blog post is designed to foster a technical and logistical discussion. In much the same way as the earlier QRpedia language discussion did.
One of the most requested features in QRpedia is to have custom URLs.
For example, the British Museum may want a URL of "bm.qrwp.org". This has two main advantages.
- Better analytics. Although the British Museum is the only place likely to have the Rosetta Stone, many museums will have exhibits about "Ancient Egypt" or "Gold". By differentiating museums, their statistics are easier to view.
- Branding opportunities. A user will know that they've scanned a code belong to a specific museum.
From a technical perspective, this is fairly easy to implement. Assuming that a museum is only generating codes in one language, we simply map $museum.qrwp to $language.qrwp - and record in the logging database as per usual.
However, there are a number of challenges around the naming of museums which means considerable thought is needed before we implement this.
Length
QR codes work best when the URL inside them is as short as possible.
This means, we don't want a URL like "BritishMuseum.qrwp.org" or even "PrestongrangeIndustrialHeritageMuseum.qrwp.org".
So, we need to choose suitable abbreviations.
Language Clashes
We could create a custom URL for the British Museum of "bm". However, that's also the same language code as the Bambara language.
There are several Language Codes in use - covering two and three letter combinations. There are currently 282 different language versions of Wikipedia.
Those mostly use two or three letters to distinguish between languages - but there are the occasional surprise like "bat-smg"
Abbreviation Clashes
Suppose that the British Museum wanted a custom URL of "brit.qrwp.org" - that may clash with the (fictitious) Brazilian Institute for Technology.
We Need...
We need to meet these aims for custom URLs:
- Short
- Unique
- Recognisable
- Fairly distributed
How on Earth do we do that?
On your marks... Get set... Discuss!
Ambiguity could be dealt with on a first-come-first served basis; that should also provide an incentive for early adoption 😉
Are there any serves/ protocols which already use short UIDs for museums and galleries, i wonder?
malcolm chapman says:
As with all code systems we now have the problem of letting other countries join in (Add your own joke about the European Uniion here). Luckily language can be used to differentiate different museum systems except for "global" languages like English and French where it is unlikely that there are coding systems available to differentiate Australian from American museums. What might be worth knowing is if Europeana has a museum naming system which would cover 27 (26?) countries - but I suspect it may be overly complex.
OR. If the museum code is unique then you may not need the language code as British Museum=English (for rare cases you could still allow the museum to specify an undefault language where they might have a special exhibition in Welsh). This would mean that the 5 character MLA code would in most cases be a 3 character addition.
Other unique and short(ish) systems would be their primary IP address in Hex. Which would be 6-8 extra characters but would be international and scalable.
So if we have a table that provides a look up from a registered IP address to a GLAM name and its default language then we could do this for an extra 6 characters (8 minus the 2/3 character language code). Does 6 extra characters to define every GLAM in the world seems O.K?
Actually in 99.x% of cases we can get the GLAM name and their deafault language from their IP address...
Maarten says:
ask the phone it's location or include it in the url. Based on that you can
easily derive where someone was standing. That way you don't have to keep an
administration beforehand.
Certainly something to look into.
Thanks
Karl Gruber says:
http://de.wikipedia.org/w/index.php?curid=5632 - In the case of move of the article e.g. to Vienna (Austria) the ID would be same later too.
The second cause to use the ID is the small URL with the small number, at this time till 6 digits) instead of a long lemma of atricle - so the QR-code will be verry smaller than with lemma.
One database in Austria works in the meantime with these ID (you see it in Noe Landesmuseum with link to wikipedia) unfortanetely in german
this would be only an idea to this matter
thx K@rl
When they look at their QR scanner history later - they won't be able to tell which is which.
I think it could be very useful when referring to long URLs like Donaudampfschiffahrtsgesellschaftskapitän!
Karl Gruber says:
through move from John Mayer to John Mayer (author) has the same ID, while John Mayer is an disambiguation :this is not what I search 🙁
So the maintenance of Code-Labels will be verry fastener and easier, because reduced
regards Karl