-----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: [EMAIL PROTECTED], 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-----


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to