Deep Links

First of all, you are welcome to deep link. That way you can perform customized database queries.

I must admit that I was not prepared for web designers cloning my internal and ephemeral links (e.g. http://greg.kleier.net/cgi/player.php?pid=1161). Being efficient in terms of bandwidth they suffer from the drawback that player IDs (pid=…) are transient: they change every time I insert another player into the database. Because this will happen quite often, you should never rely on pids.

But rescue has come. I have implemented more readable keys. In the case of players they are pre (for prename) and sur (for surname). The following example illustrates how they can be used to get the table of Mark Lukich Kunin: http://greg.kleier.net/cgi/player.php?pre=Mark Lukich&sur=Kunin.

Linking to tournament tables leads to similar problems. The fix is to replace the ephemeral event IDs (eid) by place (for place) and date (for date). To link to the results of the Breda tournament on 2007-03-24, you should use: http://greg.kleier.net/cgi/tourn_table.php?place=Breda&date=2007-03-24.

Try it out. It works, it can be memorized, and it will never get outdated.

At this time there are semi-permanent links to announced tournaments. In the long run I will fix it and use the same URL for announced and for evaluated tournaments. Till then you can link to the Wuppertal tournament in 2010 with: http://greg.kleier.net/announced/show_announced/index.php?place=Wuppertal&date=2010-04-10

There is one issue I have passed over intentionally. Sometimes —if the player name contains umlaut characters or spaces— the links do not work if your system still does not use UNICODE characters. As an interim solution you can convert the umlaut characters manually. This is safe and it will continue to work in the future. Converting the characters always works regardless of your local character representation.

Examples of UNICODE Representations
CharacterUTF-8 Representation
Space%20
Ø%C3%98
ß%C3%9F
ä%C3%A4
å%C3%A5
é%C3%A9
ï%C3%AF
ö%C3%B6
ø%C3%B8
ü%C3%BC
Љ%D0%89
Ж%D0%96
К%D0%9A
Р%D0%A0
в%D0%B2
е%D0%B5
и%D0%B8
й%D0%B9
к%D0%BA
л%D0%BB
н%D0%BD
о%D0%BE
п%D0%BF
с%D1%81
т%D1%82
у%D1%83
ь%D1%8C
і%D1%96
ї%D1%97

The following table shows examples of UTF-8 coded links followed by their hand-coded replacements. Hover the cursor over the links and watch the links which are displayed by your browser at the bottom of your screen. They should show the expanded link. Note, that though some Cyrillic letters might share their glyphs with Latin letters (e.g. c and с) in some typefaces, they differ.

http://greg.kleier.net/cgi/player.php?sur=Øyrås&pre=Amund L
http://greg.kleier.net/cgi/player.php?sur=%C3%98yr%C3%A5s&pre=Amund%20L
http://greg.kleier.net/cgi/player.php?sur=Antoine&pre=Anaïs
http://greg.kleier.net/cgi/player.php?sur=Antoine&pre=Ana%C3%AFs
http://greg.kleier.net/cgi/player.php?sur=Dannenbring&pre=Jörg
http://greg.kleier.net/cgi/player.php?sur=Dannenbring&pre=J%C3%B6rg
http://greg.kleier.net/cgi/player.php?sur=Eichenmüller&pre=Edgar
http://greg.kleier.net/cgi/player.php?sur=Eichenm%C3%BCller&pre=Edgar
http://greg.kleier.net/cgi/player.php?sur=El-Adawy&pre=Bjørn Josef
http://greg.kleier.net/cgi/player.php?sur=El-Adawy&pre=Bj%C3%B8rn%20Josef
http://greg.kleier.net/cgi/player.php?sur=Häußler&pre=Stefan
http://greg.kleier.net/cgi/player.php?sur=H%C3%A4u%C3%9Fler&pre=Stefan
http://greg.kleier.net/cgi/player.php?sur=Helmus&pre=René
http://greg.kleier.net/cgi/player.php?sur=Helmus&pre=Ren%C3%A9
http://greg.kleier.net/cgi/tourn_table.php?place=Жуковский&date=2012-04-30
http://greg.kleier.net/cgi/tourn_table.php?place=%D0%96%D1%83%D0%BA%D0%BE%D0%B2%D1%81%D0%BA%D0%B8%D0%B9&date=2012-04-30
http://greg.kleier.net/cgi/tourn_table.php?place=Рівне&date=2011-11-03
http://greg.kleier.net/cgi/tourn_table.php?place=%D0%A0%D1%96%D0%B2%D0%BD%D0%B5&date=2011-11-03
http://greg.kleier.net/cgi/tourn_table.php?place=Костопіль&date=2012-04-01
http://greg.kleier.net/cgi/tourn_table.php?place=%D0%9A%D0%BE%D1%81%D1%82%D0%BE%D0%BF%D1%96%D0%BB%D1%8C&date=2012-04-01
http://greg.kleier.net/cgi/tourn_table.php?place=Київ&date=2008-08-18
http://greg.kleier.net/cgi/tourn_table.php?place=%D0%9A%D0%B8%D1%97%D0%B2&date=2008-08-18
http://greg.kleier.net/cgi/tourn_table.php?place=Љвів&date=2004-05-12
http://greg.kleier.net/cgi/tourn_table.php?place=%D0%89%D0%B2%D1%96%D0%B2&date=2004-05-12

Cool URIs don’t change!

                       

Best viewed with any standard conformant XHTML-browser.

Your browser is outdated and does not accept XHTML.

stopsoftwarepatents.eu petition banner