[Developers] Get Freebase id from Wikipedia link

Christopher R. Maden crism at metaweb.com
Tue May 20 19:40:33 UTC 2008


I wrote:
> You need to encode any non-ASCII characters as $hhhh where hhhh is the Unicode number for that character.  Then turn spaces into underscores.

I should be more careful: any non-alphanumeric characters.  Only a-z, A-Z, and 0-9 are allowed unescaped.  Underscores and dollar signs are acceptable as divider and escape, respectively.  (A literal dollar sign would need to be $0024.)

~Chris
-- 
Christopher R. Maden
Data Architect
Metaweb Technologies, Inc.
<URL: http://www.metaweb.com/ >


More information about the Developers mailing list