Include content from wiki in pdf output

Please post all questions and comments regarding Help & Manual 7 here.

Moderators: Alexander Halser, Tim Green

Post Reply
John Johann
Posts: 306
Joined: Mon Aug 21, 2017 7:35 pm

Include content from wiki in pdf output

Unread post by John Johann »

The info on embedding html objects in the online help seems to rule it out, but I'll ask anyway as I can't test at the moment. :-)

How can I include contents from an intranet wiki page when publishing to pdf?
Formatting is a secondary issue, I'd just like to be able to include certain info automatically on publishing.
User avatar
Tim Green
Site Admin
Posts: 23293
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Include content from wiki in pdf output

Unread post by Tim Green »

Hi John,

The #MERGE command only inserts HTML directly into the page without any conversion, and it is only exported to HTML formats. That rules out PDF and Word, since they are not HTML. :?
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
John Johann
Posts: 306
Joined: Mon Aug 21, 2017 7:35 pm

Re: Include content from wiki in pdf output

Unread post by John Johann »

Hi Tim,
Thanks -- any workarounds?
User avatar
Tim Green
Site Admin
Posts: 23293
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Include content from wiki in pdf output

Unread post by Tim Green »

John Johann wrote: Thu Nov 19, 2020 12:23 pm Thanks -- any workarounds?
Not if you want the content to be merged on publishing. You can import HTML pages into your topics directly, of course, but that then becomes part of the topic page and doesn't update after that. I would suggest just including a hyperlink to the URL of the wiki page. 8)

PS: I'm still not sure whether your first name is John or Johann -- the name works both ways round in English, just like Henry James... :)
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
User avatar
Mike Linacre
Posts: 104
Joined: Wed Apr 06, 2005 11:12 pm
Location: Chicago
Contact:

Re: Include content from wiki in pdf output

Unread post by Mike Linacre »

Would this work?
wiki HTML webpage -> Microsoft Word -> Save As .rtf -> import into H&M as a New Topic
All this controlled by a Windows keyboard macro, run 100 times for 100 Wiki pages. Then
-> Publish H&M project to any format
User avatar
Tim Green
Site Admin
Posts: 23293
Joined: Mon Jun 24, 2002 9:11 am
Location: Bruehl, Germany
Contact:

Re: Include content from wiki in pdf output

Unread post by Tim Green »

Mike Linacre wrote: Wed Aug 14, 2024 3:47 am Would this work?
wiki HTML webpage -> Microsoft Word -> Save As .rtf -> import into H&M as a New Topic
That's fine, since you're importing it before publishing and then it becomes static content.

One important warning about importing Word content: If the generated RTF uses inline formatting the resulting XML formatting code can take up over 90% of the body of the topic in the source code (this also happens with any Word file that uses manual formatting instead of styles). You can check this by looking in the XML editor after importing the topic. When it exports to WebHelp you then get the equivalent in inline CSS formatting, and very bloated HTML files. If this happens it's generally better to reset the entire page (select all, right click, "Convert to Plain Text") and then format with styles.
Regards,
Tim (EC Software Documentation & User Support)

Private support:
Please do not email or PM me with private support requests -- post to the forum directly.
Post Reply