Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I add support for a new type of document to Conglomerate?

0
Posted

How do I add support for a new type of document to Conglomerate?

0

You will need to create a display specification to tell how to display the various elements of that type. The easiest way to do this is to let Conglomerate create the display specification itself. Load an example document of the type you wish to support, ideally one with a Document Type Declaration referencing a PUBLIC ID with a SYSTEM ID referencing the document type definition via http . Conglomerate will complain that it doesn’t recognise the document type, and ask if you wish to load it anyway. Click on the Force button, and Conglomerate will generate a display specification as it loads the file. You can then go to the Tools menu and select Dump Display Spec. You should save the file into the examples subdirectory, giving it a “.xds” extension. You should then edit examples/Makefile.am and add the filename of the new display specification to dispspec_DATA. You should then re-run make, then (possibly as root) make install, and restart conglomerate. Try loading your document; Conglom

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123