Status: Assigned
Owner: sebastien.lelong
Labels: Type-Task Priority-Medium Component-Docs

New issue 96 by sebastien.lelong: Documentation publishing process
http://code.google.com/p/jallib/issues/detail?id=96

Documentation & content in general is being produced, in DITA format. These
DITA files have to be regularly and automatically processed, to produce
several outputs. PDF files and HTML pages for instance. These files can be
integrated to releases, but also on our http://justanotherlanguage.org
website (powered by Drupal).

I have few ideas to do this. The process would be:

   - when event occur in /doc directory, buildbot (again) triggers a publish
action
   - this action process DITA files. Ex: produce HTML pages.
   - HTML pages are then processed to keep only <body> content (because it's
integrated into a web page in Drupal. Images URL are changed to match
Drupal image root URL. python script using BeautifulSoup librarie.
   - nodes (this is how page are named in Drupal, to keep it simple) are
then created from this HTML pages. If it contains images, images are
uploaded and attached to the nodes
   - each re-publish creates a new node revision, not a new node.

I can't figure out how to deal with links between pages. I need to try.
Also, a book in DITA should give a book in Druapl (outline: this node X is
under this node Y). There may be manual operation at first creation, then
it should be ok, because using node revision not node makes node URL the  
same.

WIP...

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jallib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jallib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to