Re: Unable to import Robohelp HTML files when using source control

Subject: Re: Unable to import Robohelp HTML files when using source control
From: Amy Gale <amyg -at- grammatech -dot- com>
To: "techwr-l -at- lists -dot- techwr-l -dot- com >> TECHWR-L" <techwr-l -at- lists -dot- techwr-l -dot- com>
Date: Fri, 30 Jan 2009 14:56:16 -0500

Deborah Slutzky wrote:
> Yes, I go through the process without obvious problems, but the file is
> not put into my project.
> I receive no error message of any kind.
>

Sometimes - for reasons I don't fully understand - RH seems to "forget"
to write out information about added .html files to the relevant .fpj
files, so the information is lost.

To get around this, try editing the relevant .fpj file directly.

To add newfile.html to your project:

* IF newfile.html is in a folder that is already in your project, do
the following (where fname/ is the folder containing newfile.html).

- use a text editor to open fname/fname.fpj
(unless it newfile.html is in the root directory of your project,
in which case open root.fpj)

- add a new sub-element to the <topics> ... </topics> element:
<topic>
<name>newfile.html</name>
<comments></comments>
<frameset>0</frameset>
</topic>

- save the file
- leave it open (so you can re-save if RH tries to resist)
- open your project in RH. The file should show up under the correct
folder.


* ELSE try to use the RH GUI to add the folder.

- IF this is successful, go through the steps outlined above.
Note that you will need to replace <topics/> with
<topics>
<topic>
<name>newfile.html</name>
<comments></comments>
<frameset>0</frameset>
</topic>
</topics>

- ELSE
~ use a text editor to open parent.fpj, where parent/ is the
folder containing fname/
(if fname/ is a child of the root directory of your project,
open root.fpj)

~ add a new sub-element to the <folders> ... </folders> element:
<folder>
<name>fname</name>
</folder>
If the element was previously empty (<folders/>) you will need
to expand it.

~ save the file

~ create new file in fname/fname.fpj with the following contents:
<?xml version="1.0" encoding="windows-1252"?>
<rhpml majorversion="1" minorversion="0">
<folders/>
<topics>
<topic>
<name>newfile.html</name>
<comments></comments>
<frameset>0</frameset>
</topic>
</topics>
</rhpml>

~ save the file, open your project in RH, make sure everything is ok.

(phew)
A







^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ComponentOne Doc-To-Help 2009 is your all-in-one authoring and publishing
solution. Author in Doc-To-Help's XML-based editor, Microsoft Word or
HTML and publish to the Web, Help systems or printed manuals.
http://www.doctohelp.com

Help & Manual 5: The complete help authoring tool for individual
authors and teams. Professional power, intuitive interface. Write
once, publish to 8 formats. Multi-user authoring and version control! http://www.helpandmanual.com/

---
You are currently subscribed to TECHWR-L as archive -at- web -dot- techwr-l -dot- com -dot-

To unsubscribe send a blank email to
techwr-l-unsubscribe -at- lists -dot- techwr-l -dot- com
or visit http://lists.techwr-l.com/mailman/options/techwr-l/archive%40web.techwr-l.com


To subscribe, send a blank email to techwr-l-join -at- lists -dot- techwr-l -dot- com

Send administrative questions to admin -at- techwr-l -dot- com -dot- Visit
http://www.techwr-l.com/ for more resources and info.

Please move off-topic discussions to the Chat list, at:
http://lists.techwr-l.com/mailman/listinfo/techwr-l-chat


Follow-Ups:

References:
Unable to import Robohelp HTML files when using source control: From: Deborah Slutzky
Re: Unable to import Robohelp HTML files when using source control: From: Amy Gale
RE: Unable to import Robohelp HTML files when using source control: From: Deborah Slutzky

Previous by Author: Re: Unable to import Robohelp HTML files when using source control
Next by Author: RE: Turn off the monitor vs turn the monitor off
Previous by Thread: RE: Unable to import Robohelp HTML files when using source control
Next by Thread: Re: Unable to import Robohelp HTML files when using source control


What this post helpful? Share it with friends and colleagues:


Sponsored Ads