[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using texi2html for the documentation
From: |
Reinhold Kainhofer |
Subject: |
Re: Using texi2html for the documentation |
Date: |
Wed, 26 Mar 2008 12:08:46 +0100 |
User-agent: |
KMail/1.9.6 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Am Mittwoch, 26. März 2008 schrieb Jan Nieuwenhuizen:
> Han-Wen Nienhuys writes:
> > I think most 'serious' websites use language negotiation only as a
> > first guess, and store the language preference after that as a cookie
> > so it is remembered across pages and across sessions;
>
> Huh, are you volunteering to implement active server side pages and find
> hosting for that?
Is the lilypond.org server using apache and the mod_rewrite module? If so,
this thread might help:
http://www.nabble.com/mod_negotiation:-prefer-type-cookie--(as-prefer-language)-td15798239.html
You simply check for an existing cookie, and if it exists, you manually
append .$(cookie-value).html to the pages (if that page exists), otherwise
let mod_negotiation do its job...
Even easier: If lilypond.org uses apache >= 2.0.47, the mod_negotiation
already supports cookies:
http://httpd.apache.org/docs/2.0/content-negotiation.html#better
The only think to think about then is how to set the cookie ;-)
Cheers,
Reinhold
- --
- ------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH6i7BTqjEwhXvPN0RAjWVAJ0eSU/E/WD4924QVa2h40Y9a/wTnACeMP3Z
lpW7bZnKMiUf6LrNKTRwUUU=
=p7Y9
-----END PGP SIGNATURE-----
- Re: Using texi2html for the documentation, (continued)
- Re: Using texi2html for the documentation, Han-Wen Nienhuys, 2008/03/21
- Re: Using texi2html for the documentation, John Mandereau, 2008/03/21
- Re: Using texi2html for the documentation, Jan Nieuwenhuizen, 2008/03/22
- Re: Using texi2html for the documentation, John Mandereau, 2008/03/23
- Re: Using texi2html for the documentation, Valentin Villenave, 2008/03/23
- Re: Using texi2html for the documentation, Jan Nieuwenhuizen, 2008/03/25
- Re: Using texi2html for the documentation, Han-Wen Nienhuys, 2008/03/25
- Re: Using texi2html for the documentation, Jan Nieuwenhuizen, 2008/03/26
- Re: Using texi2html for the documentation,
Reinhold Kainhofer <=
- Re: Using texi2html for the documentation, John Mandereau, 2008/03/22
- Re: Using texi2html for the documentation, Graham Percival, 2008/03/22
- Re: Using texi2html for the documentation, John Mandereau, 2008/03/23
- Re: Using texi2html for the documentation, Graham Percival, 2008/03/24
- Re: Using texi2html for the documentation, Reinhold Kainhofer, 2008/03/29
- Re: Using texi2html for the documentation, John Mandereau, 2008/03/30
- Re: Using texi2html for the documentation, John Mandereau, 2008/03/30
- Re: Using texi2html for the documentation, Reinhold Kainhofer, 2008/03/30
Re: Using texi2html for the documentation, Francisco Vila, 2008/03/16
Re: Using texi2html for the documentation, John Mandereau, 2008/03/16