Author Topic: distribution of generated HTML report  (Read 4456 times)

tbuxton

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
distribution of generated HTML report
« on: October 19, 2005, 10:42:33 am »
Is there a tool that will package an HTML report into a single file, i.e. CHM or PDF?

thomaskilian

  • Guest
Re: distribution of generated HTML report
« Reply #1 on: October 19, 2005, 12:59:57 pm »
Googled without results?

tbuxton

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: distribution of generated HTML report
« Reply #2 on: October 19, 2005, 01:20:01 pm »
A compiled help file can be created using these steps:

1. generate an EA HTML report into a clean directory. the only reason to create a clean directory is that the command-line used to generate a list of the help project files will include all the files in that directory and all sub-directories.

2. create a new file, with the name index.hhp and in the same directory used in step 1.

3. copy these lines into index.hhp:

[OPTIONS]
Compiled file=%title%.CHM
Compatibility=1.1
Full-text search=Yes
Default Window=main
Default topic=index.htm
Language=0x409 English (United States)
Title=%title%

[WINDOWS]
main="%title%",,,"index.htm","index.htm",,,,,0x3100,,0x387e,,,,,,,,0

[FILES]

4. replace %title% with the name of your project.

5. from within a DOS command prompt "cd" to the directory that contains the EA report.

6. execute the command "dir /a-d /b /s >> index.hhp", excluding the quotation marks, this will add a list of all the files in this directory and all sub-directories to the [FILES] section of the help project.

7. execute the command "hhc.exe index.hhp". this requires that the help compiler (hhc.exe) can be found along the DOS PATH environment variable.

The output should be %title%.CHM. It will not have an associated index nor a table of contents.

Please post any corrections, or enhancements you would like to share.





tbuxton

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: distribution of generated HTML report
« Reply #3 on: October 19, 2005, 01:27:03 pm »
Quote
Googled without results?


Yes. It is reasonable to expect that I have not performed an exhaustive search, as the combination of words and synonyms that could be used is quite large.

Takeshi K

  • EA User
  • **
  • Posts: 593
  • Karma: +39/-1
    • View Profile
Re: distribution of generated HTML report
« Reply #4 on: October 22, 2005, 04:37:54 pm »
I hope following HtmlHelpMaker is useful for you.

http://sharepoint.knowledgerecovery.com/external/eaug/Tools/Forms/AllItems.aspx

--
t-kouno
--
t-kouno

tbuxton

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: distribution of generated HTML report
« Reply #5 on: October 24, 2005, 08:48:28 am »
Quote
I hope following HtmlHelpMaker is useful for you.

http://sharepoint.knowledgerecovery.com/external/eaug/Tools/Forms/AllItems.aspx

--
t-kouno



Nice utility. Could use a few tweaks, such as coordinating the extension used with the name of the blank file, and saving the settings at the end of the session. The only "knock" is that the output is not faithful to the input, it manipulates the table of contents into an unfamiliar format. Otherwise, as I said before, nice utility. Good on you.