Per gippy's request, I started this thread.
Working as a Technical Writer in a software company, I am responsible for publishing documentation on Drupal. There is a need to shift from PDF publishing to online publishing on Drupal.
After doing careful research on Drupal.org, I found the Import HTML module. Since we author on FrameMaker DITA authoring tool, a list of DITA files are created. To be able to import, we convert the DITA files to XHTML using DITA-OT. This process is straightforward.
Drupal doesn't support Ditamap import and we need a hierarchy structure to organize the imported HTML files. Before importing, we created a hierarchy structure in taxonomy by adding new vocabularies and terms. The taxonomy appears on main menu enabled by taxonomy menu function. Furthermore, in importing module settings, you can make it so HTML files are linked to vocabulary/term.
A new content type named Imported HTML File is created and according fields are added. These fields are linked to related vocabulary/term to categorize the HTML files.
To ensure imported HTML files appear under the related vocabulary on main menu:
Go to Home » Administration » Structure » Import HTML Site » Manage settings »Replication Options to customize settings:
a. Node type for new pages
b. Menu settings-add each page to menu
c. Select a vocabulary term as index pages.
Go to Home » Administration » Structure » Import HTML Site and select the server storing your HTML files and start importing.
The results turn out to be acceptable. However, some HTML CSS styles are missing, you need to add these styles manually in main.css.
It's not a simple process and requires some Drupal settings and CSS skills to accomplish.
If you need further clarification, please don't hesitate in contacting me.
By the way, I have attached a sample page of the HTML publishing.
|A sample.png||143.53 KB|