Felix Natter
Usenet Archive
- Joined
- Apr 21, 2000
- Messages
- 88
- Reaction score
- 0
hi,
I have glossary-entries (<entry name="...">...</entry>) whose names include 8bit-characters and spaces and each entry must be reachable by (relative) html-links.
I want to avoid having to specify both a name and an id for linking for each glossary term (if possible), so I'd like to generate links (urls) from the names with some kind of algorithm.
I need (at least) a function that creates a valid url from a name (i.e. "x y" => "x%20y").
thanks,
I have glossary-entries (<entry name="...">...</entry>) whose names include 8bit-characters and spaces and each entry must be reachable by (relative) html-links.
I want to avoid having to specify both a name and an id for linking for each glossary term (if possible), so I'd like to generate links (urls) from the names with some kind of algorithm.
I need (at least) a function that creates a valid url from a name (i.e. "x y" => "x%20y").
thanks,