web-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Started German website translation


From: Patrick Strasser
Subject: Re: Started German website translation
Date: Thu, 22 Jan 2004 00:45:42 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4

Ognyan Kulev wrote:
What about the following: Pages are as they are now, but content is surrounded by some marks, like <!--content start--> and <!--content end-->.

Or you just take <body> as mark. This gives you reasonable HTML-pages for the different parts.

We have separate files for the header and footer, or some kind of template. A (Perl?) script regenerates _all_ HTML pages using this template (extract content and put in template). This script should also handle multi-language views of page. As an option, it may color the selected page in navigation bar, or something like that.

This implicates some information which pages belongs to which TOC entry. I'd like to have <link rel> in the header. This would produce a usable single-page structure, that could be composed to what we have now. Then, of course, only including isn't enough, some parsing is needed to get the meta-info and process it.

Patrick
--
Engineers motto:  | Patrick Strasser
[ ] cheap         | <past at sbox dot tugraz dot at>
[ ] good          |
[ ] fast          | Student of Telematik
-> choose any two | Techn. University Graz, Austria




reply via email to

[Prev in Thread] Current Thread [Next in Thread]