Re: library.gnome.org status



У нед, 15. 04 2007. у 21:28 +0200, Olav Vitters пише:
> On Sun, Apr 15, 2007 at 07:22:46PM +0200, Olav Vitters wrote:
> [..]
> > For some modules it created files like index.en.xhtml. Apache expects
> > the .en to be at the end (I think). Also, I do not like that xhtml. Just
> > use .html.
> 
> Enabled multiviews. Apache still doesn't like the .en before .xhtml.

This should work:

	Options Indexes
	DirectoryIndex index		<-- without .xhtml

	Options MultiViews
	AddLanguage en .en
	AddLanguage sr .sr
	...

	SetEnvIf Cookie "language=en" prefer-language=en
	SetEnvIf Cookie "language=sr" prefer-language=sr
	...

	LanguagePriority en
	ForceLanguagePriority Fallback

There will be a script to autogenerate this file based on which
translations are avaibile, but one first need to add gettext support to
Python code.


And about .xhtml extensions, that can be fixed by replacing:

	<xsl:param name="db.chunk.extension" select="concat('.',
	$libgo.lang,'.xhtml')" doc:private="true"/>

with:

	<xsl:param name="db.chunk.extension" select="concat('.',
	$libgo.lang,'.html')" doc:private="true"/>

in library-web/locators/gdu/xslt/db2html.xsl (and similar for gtk-doc)


I don't know why it does not pickup 2.18 tarballs. I will look upon that
and other problems you are describing (they are somehow related to
gtk-doc XSLT rules) when I come back from Zagreb (not before Satudrday).

It's nice that you are pushing this forward, I would be glad to work
with someone else (preferably who knows XSLT very well). I really want
this thing to work. Maybe Shaun or someone else from doc-devel team can
help me with things I don't know, so I can continue with things I do
know how to do.

Cheers,
Goran





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