Last modified: 2012-05-24 06:19:04 UTC
short request: ::url.author.LibraryThing.com:WagnerRichard-3: should generate: http://librarything.com/author/wagnerrichard-3 (without "epo." etc.) Hi! At LT author urls are a lot of authority control data and useful links for special areas of interest as chess, Yiddish poets and writers and other "collections". Today these data needs to be transferred manually to WMF projects and other sites. A special ZCZC BEACON messaging is under development which is both human readable and can be parsed with regex by computer programs, tools and bots. The beacon is a context statement and all sites participating in "VIAF inter project linking" can participate and extract the information they need. The statement indicates a relation normally "identical author". It is not restricted to libraries participating in VIAF and is using domain names as keywords for non VIAF participants. example: "LibraryThing.com" is a domain name and "url.author." are descriptors for the list value indicating their meaning and usage In simple text the relevant "url.author.LibraryThing.com" information is embedded in "::" and the **next** occurence of "::". The first value is whatever is between the COLON after the keyword / keystring "url.author.LibraryThing.com" and the next COLON. In the future more values can be separated by simple COLONs. The values for this keyword are character, digits, the MINUS and the trailers "&norefer=2", "/names" and "/issues". Example 1: "WagnerRichard-1" Example 2: "1038773026" - this is a numerical author url for authors having most works at an non LATN author url. Example 3: "1234567-8" is a constructed but valid author url. LT does not have this author. testcases: ::url.author.LibraryThing.com:WagnerRichard-1:WagnerRichard-2:WagnerRichard-3:: ::url.author.LibraryThing.com:1038773026:: ::url.author.LibraryThing.com:1234567-8:: Example 4: Paul Celan (1920–1970) ::url.author.LibraryThing.com:2382197905&norefer=2:CelanPaul/names;CelanPaul/issues:: should generate: http://librarything.com/author/2382197905&norefer=2# http://librarything.com/author/celanpaul/names# http://librarything.com/author/celanpaul/issues# "::nl-nl::" is used for line breaks. The "::nl-nl::"-string is equivalent to "::". linkification: the url is http://librarything.com/author/foobar# notes: a1) protocol is http:// a2) no language domain is specified; only "librarything.com" a3) if no LT parameters are used this will redirect to the author url using the most popular spelling; b) the link name is "LT author" regardless of the type / trailer c) the ALT text is "LT author" regardless of the type / trailer d) safety link trailer generated by the / added by the VIAF bookmarklet is "#" Please contact me if there are any question. Best regards Reinhardt ---- Minimal implementation. If it is easier to linkify only the first value, this is a very good start. a test url: see http://en.wikipedia.org/wiki/Talk:Martha_Wells#BEACON
I am changing to priority "high" because users would not need to use different syntax to linkify these urls at wikis, LT, etc..
pls. give a one line example what you want to detect and what link should be created. High and highest urgency is for broken functionalities only, not for enhancements like this.
(In reply to comment #2) > pls. give a one line example what you want to detect and what link should be > created. > > High and highest urgency is for broken functionalities only, not for > enhancements like this. ::VIAF:15711453::Name.GND:124697402::url.author.LibraryThing.com:SchonfeldChristine:: should generate http://librarything.com/author/schnofeldchristine no "www.", no "epo.", etc. the link redirects to http://librarything.com/author/schnfeldchristine (without "o"); this is intened in order to write ASCII names (with some capital characters) redirecting to CYRL, HEBR etc. urls. I need to document some hundreds of VIAF number every day.
note: as a workaround I found Add-ons for Firefox "Linkification" url; https://addons.mozilla.org/en-US/firefox/addon/linkification/ I tested it yesterday. It is complicated for newbies: one needs to mark "LibraryThing.com:SchonfeldChristine", right click, search google, identify the link etc.
closed as wontfix. Lengthy and unclear bug description does not allow a meaningful resolution. Please open new bug if needed.