Importing Html into Adobe Indesign

2020-06-01 05:33发布

We are currently working on an pdf version of a newspaper at work, we have a .net website which captures the articles to publish, storing the content entered as html, so we can maintain styles like bold, underline, strike out.

Once this is stored in the database we are planning to use Indesign to create the pdf. We currently we have a template built, but when we generate an xml document and import into Indesign the html tags are just written out. Is there a way around this, to get Indesign to maintain the tags as they would be in html? We just need some simple ones, like bold, strikeout, underling, center align.

Thanks.

7条回答
聊天终结者
2楼-- · 2020-06-01 06:03

Adobe products are "closed" for universal standards (!) importation, like to import XHTML.

How to PROTEST against Adobe?!

The biggest problem arises when we have many files...


A solution by batch processing (a lot of articles)

... The only way that I can use today (2013) is this (semi-automatic) procedure:

  1. [manual, prepare] Check my InDesign "template" file, that will be used as "importer": styles with legible names must by defined. PS: they are all visible (listed) in a HTML+CSS exporting.
  2. [manual, prepare] Adapt my (X)HTML files to express all relevant styles with CSS class names (not by style attribute neither by strange class names);
  3. [automatic, batch processing] Convert all my (X)HTML files to DOC, automatically using Python OpenDocument Converter.
  4. [InDesign assisted, final processing] Import each DOC from a "template" (item 1) file clone at InDesign. The classes (item 2) will be automatically transformed by InDesign styles.

This procedure is better than IDML because use directaly the XHTML as content source for InDesign. It is not perfect for all applications, but avoids use of non-standard conversion by IDML, avoid to learn IDML, avoid IDML limitations, and avoids risks of IDML bugs... So, I think is faster than try and try IDML procedures.


Another procedure — better, because it allows to express things like footnotes — is to prepare a direct convertion from XML to MS-Word, by a XSLT that transforms XML into DOCX or RFT... Do you have a link or clue for this kind of procedure?

查看更多
登录 后发表回答