Book export

xhanin - June 21, 2006 - 09:08

Hi,

I've just installed a 4.7.2 version of drupal to test the book import/export features to see if upgrading my 4.6 site is worth its cost.

For the moment I've installed export_dxml, export_ogml, and bookimport modules (export_docbook requires PHP5 :-( ). OGML doesn't match my need (only outline). DXML seems ok (even if import doesn't work for me, but the bug is already reported), but I was wondering if there is any XSLT stylesheet to process the DXML and generate, for instance, an html version browsable offline? I may be able to write one on my own, but if someone already has (even a good skeleton), it could shorten my work.

Thanks in advance, and many thanks to drupal folks for their incredible work!

Xavier

No answer since my first

xhanin - August 21, 2006 - 06:20

No answer since my first post two months ago, it seems that my problem is not very common... Anyway, I've upgraded our website to drupal 4.7.2 this week-end, and managed to get an offline documentation for our main tool with the drupal export dxml feature. I had to slightly hack it to adapt it to our need (add the path in exported nodeinfo), so that I can convert hyperlinks between book pages in offline hyperlinks. The dxml to html stuff itself is a ruby script, rather slow right now but I'm not a ruby expert. If some of you are interested (it's quite specific to our needs right now but it should be quite easy to adapt it), you can find it here:
http://svn.jayasoft.org/projects/tools/ivy/src/doc/dxml_to_html.rb

Feel free to copy / modify it, I haven't even put a license on it, so consider it's like Ivy: BSD.

BTW, I'm only using the 4.7 version for a few hours, and I already appreciate it. And the migration was really easy (except some troubles with relative urls, but I wrote a quick filter and it was fixed). Many thanks to the drupal folks for their awesome job!

Xavier

 
 

Drupal is a registered trademark of Dries Buytaert.