Re: library.gnome.org index
- From: Olav Vitters <olav bkor dhs org>
- To: Frederic Peters <fpeters 0d be>
- Cc: gnome-web-list gnome org
- Subject: Re: library.gnome.org index
- Date: Mon, 23 Apr 2007 18:10:55 +0200
On Mon, Apr 23, 2007 at 12:58:26PM +0200, Frederic Peters wrote:
> Draft script attached, example output on http://lgo.0d.be/.
Very nice!
> There is also some work on the xslt files, based on gnome-doc-utils
> trunk, http://lgo.0d.be/test/ There are some errors in generated
> HTML, I'll have a look at them, unless Shaun is faster.
Could you commit whatever you have now? The top in XSLT please (or just
mail it and I'll add it).
> Obvious ones are <h2 class="author"/> on the manual index page;
> less obvious ones are cross-references, such as at the bottom of
> http://lgo.0d.be/test/eog-print.html.en
> <a class="xref" href="eog-print.html.en#eog-print-image"
> title="Printing an Image"/>
>From the attachment:
> title_re = re.compile('<h1>(.*?)</h1>')
> abstract_re = re.compile('<h3 class="abstract">(.*)</h3', re.DOTALL)
Seems a bit nasty. Suggest to use those index.xml.$LANG files. Haven't
looked much further. Only that using a minimal XSLT would be better (so
we put the top stuff in XSLT and reuse it).
--
Regards,
Olav
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]