Jochen Topf wrote:

>
> Thanks for the help, but this is only part of what I need. I don't want
> to print the "real" URL, but a "translated" short version, like for
>
> /pub/papers/index.html
>
> I would print
>
> Home / Publication / Papers
>
> and this can be different for different languages. And the mapping from
> 'pub' to 'Publication' should be in the /pub/index.html file, so it is easy
> to keep up to date.

well, if it is in the /pub/index.html file - you will have to read that file to
get it. so, make a meta tag with the data you want:

<meta name="myShortName.en" content="Publication">
<meta name="myShortName.fr" content="Publicaci�n">
<meta name="myShortName.sp" content="Publication">

then, read the file and extract the data, and do a translation from the
URL to the data.   i have not used Embperl object, but others on this
list might have a better way to do this using that technology.

i would probably run a batch process to read all the files and build
a database of the url to name translations.  this would make for
much faster processing.

--
___cliff [EMAIL PROTECTED]http://www.genwax.com/



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to