Just finished (well, almost) the articles section on my website.
As you can see, the articles are available as PDF now too, although the PDFs aren't formatted very well sometimes (links aren't rendered as real links :-(), need to look into this.
I also need an info page with an explanation of the license, and some copyright information.
The article titles should get the same look as the section links on my homepage, but I cant get them to behave correctly :'(
I'm going to write a PHP script that generates the HTML code you see there from an XML file listing all available articles, too. Will make things much easier for me :-)
I've read some of the GStreamer API docs today, it's a wonderful framework. Prepare for some tutorial ;-)
Next one should be about local (UNIX Domain) sockets, but I think I'll Docbookize the Makefiles tutorial first.
Comments:
Peter: AIUI, css only applies to [x]html. You still need xslt to convert the docbook to xhtml. You would then use css to make the resulting xhtml look nice. In the case of PDF, you would use xslt to convert to fo and from fo to pdf using something like fop.
- Gentoo uses XSLT to transform the GuideXML XML files into XHTML files, then using CSS to format it.
- You don't really need XSLT stylesheets and transforms to make Docbook documents look OK in a browser: CSS2 defines a standard to layout plain XML documents using CSS, not using any transformation, if your browser supports it (Mozilla/Firefox does). Check http://www.badgers-in-foil.co.uk/projects/docbook-css/
David: to get PDF's out of Docbook documents, I use xmlto with some special config options to generate a FO document, then I use FOP to generate a PDF out of the FO file. I'll describe this process in here later ;-)
Actually I could do this using bash too quite easily, using some ini-style file as input then ("article title-!-filename" or something, then some cutting etc and sed)
I actually found that using the jade based toolchain produced better output than the xmlto based toolchain. Unfortunately I couldn't get fop to work correctly on Debian recently otherwise I would use xsltproc and fop.
Using the Jade toolchain doesn't really help: docbooktex generated files that produces errors on every line of the output file when processing it with pdflatex on a server where the Tetex suite is installed (the students server of my university).
Could you tell me how to do it using xsltproc? I got FOP working fine here (Blackdown JDK from Gentoo portage, and the binary version of FOP from the Apache project), but I have no idea how to generate FO files from my Docbook documents using xsltproc, I only know about xmlto.
Thanks!