Skip to content. | Skip to navigation

Personal tools

Navigation

You are here: Home / Members / jhb / old blog entries / plonebook

plonebook

by Jörg Baach last modified Feb 13, 2006 07:37 PM
why do I always forget the most simple things - and never learned sed/awk?

Ok, so the german magazine IX has the the german version of the plone
book on a cd. Too bad that I don't have a copy of it...

But there is http://sourceforge.net/cvs/?group_id=82753. So, after
having downloaded it, how do I transform many rst files into many html
files?:

ls *.rst | xargs -i python -c 'import sys; print
sys.argv[1].split(".")[0]' {} | xargs -i rst2html {}.rst {}.html

Adding a:

IndexOptions +FancyIndexing +ScanHTMLTitles +DescriptionWidth=*
AddType text/html .html

in the directory helps making up for a missing index file.

Add comment

You can add a comment by filling out the form below. Plain text formatting.

Question: What is 42 minus 19?
Your answer: