On a note by [[User:Korrigan]], I have adapted (rather, rewritten) the PDF Export extension for the toolserver. You can now get a single or multiple Wiki(m|p)edia pages as a PDF, by entering/linking to an URL. As the extension, I am using HTMLDOC, so the output is as good (or as bad) as that package. Don't blame me.
I shall demonstrate using our new meme overlord, [[Horse-ripping]], and the related article [[Zoosadism]] from en.wikipedia: http://tools.wikimedia.de/~magnus/pdf.php?title=Horse-ripping%7CZoosadism
Additional parameters (add them to the URL): &language=XX (XX being the language code; en is default) &project=wikibooks (default:wikipedia) &nogfdl (3 pages of GFDL are appended by default; add this parameter to prevent that)
I haven't figured out how to make HTMLDOC generate a TOC. Maybe tomorrow.
Cheers, Magnus
On 10/13/07, Magnus Manske magnusmanske@googlemail.com wrote:
On a note by [[User:Korrigan]], I have adapted (rather, rewritten) the PDF Export extension for the toolserver. You can now get a single or multiple Wiki(m|p)edia pages as a PDF, by entering/linking to an URL. As the extension, I am using HTMLDOC, so the output is as good (or as bad) as that package. Don't blame me.
Does HTMLDOC support UTF-8 now? I used it in some experiments a couple of years ago, but lack of support for anything non-latin1 was a big showstopper, and there was no clear development roadmap.
Alfio
On 10/13/07, Alfio Puglisi alfio.puglisi@gmail.com wrote:
On 10/13/07, Magnus Manske magnusmanske@googlemail.com wrote:
On a note by [[User:Korrigan]], I have adapted (rather, rewritten) the PDF Export extension for the toolserver. You can now get a single or multiple Wiki(m|p)edia pages as a PDF, by entering/linking to an URL. As the extension, I am using HTMLDOC, so the output is as good (or as bad) as that package. Don't blame me.
Does HTMLDOC support UTF-8 now? I used it in some experiments a couple of years ago, but lack of support for anything non-latin1 was a big showstopper, and there was no clear development roadmap.
UTF-8 is not in the "supported" list, and the PDF Export extension doesn't use it either. But for the "big" wikipedia, it should work mostly OK, which is better than no PDF...
Cheers, Magnus
Magnus Manske wrote:
On a note by [[User:Korrigan]], I have adapted (rather, rewritten) the PDF Export extension for the toolserver. You can now get a single or multiple Wiki(m|p)edia pages as a PDF, by entering/linking to an URL. As the extension, I am using HTMLDOC, so the output is as good (or as bad) as that package. Don't blame me.
I shall demonstrate using our new meme overlord, [[Horse-ripping]], and the related article [[Zoosadism]] from en.wikipedia: http://tools.wikimedia.de/~magnus/pdf.php?title=Horse-ripping%7CZoosadism
Additional parameters (add them to the URL): &language=XX (XX being the language code; en is default) &project=wikibooks (default:wikipedia) &nogfdl (3 pages of GFDL are appended by default; add this parameter to prevent that)
I haven't figured out how to make HTMLDOC generate a TOC. Maybe tomorrow.
Cheers, Magnus
Great! Sadly, HTMLDOC doesn't properly support CSS. Compare http://es.wikipedia.org/wiki/Colores_HTML#Tabla_de_colores with http://tools.wikimedia.de/~magnus/pdf.php?title=Colores_HTML&language=es
Maybe we should have hyperlinks on blue? Should GFDL be appended in a new page? What about giving a list link to the history?
On 10/14/07, Platonides Platonides@gmail.com wrote:
Great! Sadly, HTMLDOC doesn't properly support CSS. Compare http://es.wikipedia.org/wiki/Colores_HTML#Tabla_de_colores with http://tools.wikimedia.de/~magnus/pdf.php?title=Colores_HTML&language=es
As I said, don't blame me for flaws in HTMLDOC ;-) AFAIK, HTMLDOC is still the best out there, sadly.
Maybe we should have hyperlinks on blue?
Tried and failed.
Should GFDL be appended in a new page? What about giving a list link to the history?
I've chaged: * New title page * TOC page * Articles and GFDL now start on new pages * There's now a "source information" page, summarizing pages, links to pages, and links to page history.
Note that some of the described HTMLDOC "magical comments" work with quirks, or not at all. Specifying layout is thus rather cumbersome.
Cheers, Magnus
wikipedia-l@lists.wikimedia.org