Adobe Forums

Add Me
Adobe Forums » Software Discussions » FrameMaker » Can anybody share the config for FM8 --> DITAPlugin --> (Web OR Eclipse)?

Tags:



Reply
LinkBack Thread Tools Display Modes
Can anybody share the config for FM8 --> DITAPlugin --> (Web OR Eclipse)?
  #1 (permalink)  
Old 12-02-2008, 07:07 AM
R._VanDyke@adobeforums.com
Guest
 
Posts: n/a
Default Can anybody share the config for FM8 --> DITAPlugin --> (Web OR Eclipse)?

Hi:

I have both the Dita Open Toolkit ("DITA-OT") and the default modes (CHM and HTML) of the FrameMaker 8 Plug-In for DITA Open Tool Kit installed and working: I can readily generate CHM and HTML output DITA topics via the plug-in. Ho-hum...

Now, per the output formats available in the DITA-OT's demo I'd like to generate Eclipse help or Web outputs from FrameMaker based content.

I'm about to begin researching how to do this, but before I throw a lot of cycles away reinventing the wheel I thought I'd ask: Does anyone have any info -- direct experience, links to resources, etc. -- they can share about "plumbing" the toolkit to produce Eclipse or Web output via the plug-in and the DITA-OT?

Cheers & thanks,
Riley
x5633


Reply With Quote


  #2 (permalink)  
Old 12-02-2008, 07:07 AM
Scott_Prentice@adobeforums.com
Guest
 
Posts: n/a
Default Re: Can anybody share the config for FM8 -->DITA Plugin --> (Web OR Eclipse)?

Hi Riley...

Basically, all you have to do is to add more targets to the ditafm-ant.xml file (in your DITA-OT folder), and update the BuildFile section of your ditafm.ini file with matching target names.

I've posted the DITA-FMx version of the ditafm-ant.xml file (ditafmx-ant.xml) to ..

<http://leximation.com/outbox/ditafmx-ant.xml.txt>

You should be able to copy and paste the targets from the lower section into the corresponding area of your ditafm-ant.xml file. For example, to add the eclipsehelp target, copy the target element that starts with ..

<target name="eclipsehelp"
....
</target>

Then update your ditafm.ini file (in C:\Program Files\Adobe\FrameMaker8\fminit\ditafm) so the BuildFile section looks something like this ..

[BuildFile]
AntCommand=ant
AntScript=ditafm-ant.xml
Count=3
DitaDir=C:\Tools\DITA\DITA-OT1.3.1
1=chm
2=html
3=eclipsehelp

Now when you run the Generate Output command, you should see eclipsehelp as an available output target.

Note that you can't use the ditafmx-ant.xml file in place of your ditafm-ant.xml file, since DITA-FMx uses slightly different parameters when it calls the Ant script, but you should be able to futz with it a bit to get it to work.

Note that some of the target types will require additional tweaking or compilers/tools to get useful output (JavaHelp and ElipseHelp for example), but this *should* get you started.

Cheers,

....scott
Reply With Quote


  #3 (permalink)  
Old 12-02-2008, 07:07 AM
R._VanDyke@adobeforums.com
Guest
 
Posts: n/a
Default Re: Can anybody share the config for FM8 -->DITA Plugin --> (Web OR Eclipse)?

Scott:

Thanks as always. I also have access to some developers who use Ant on a daily basis, so I suspect I'll be able to get some help from them as well...

I'll let the forum know how this goes...

Cheers & thanks 'gain,
RBV
Reply With Quote


  #4 (permalink)  
Old 12-02-2008, 07:07 AM
Scott_Prentice@adobeforums.com
Guest
 
Posts: n/a
Default Re: Can anybody share the config for FM8 -->DITA Plugin --> (Web OR Eclipse)?

Hi Riley...

Each DITA authoring tool will have its strengths and weaknesses, but as for generating output .. DITA (and most Open Source tools) is all about manual "plumbing".

You have to go through a bit of pain to get things set up the way you want, but once you do, you're good to go! You're free to switch authoring tools as needed, but your publishing process is yours to tweak as needed.

Cheers,

....scott
Reply With Quote


  #5 (permalink)  
Old 12-02-2008, 07:07 AM
R._VanDyke@adobeforums.com
Guest
 
Posts: n/a
Default Re: Can anybody share the config for FM8 -->DITA Plugin --> (Web OR Eclipse)?

Hi:

Okay, I successfully performed plumbed the pieces such that DITA > Generate Output gave me the eclipsehelp option, and that option generated HTML without error.

Now I'm going to use the DITA-OT demo files to figure out how the left-side navigation pane gets created and populated...

Cheers,
Riley
Reply With Quote


  #6 (permalink)  
Old 12-03-2008, 06:13 AM
R._VanDyke@adobeforums.com
Guest
 
Posts: n/a
Default Re: Can anybody share the config for FM8 -->DITA Plugin --> (Web OR Eclipse)?

The story so far:

Using the plug-in I can gen the proper number of HTML files, and some supplementary XML files but I don't get an index.html file or anything equivalent. Stated another way, most -- but not all -- of the FM8 --> plug-in --> DITA-OT plumbing appears to be in place...

That in turn means I don't have any apparent way to display a left-side navigation pane with a TOC-like list of topics; the list of topics would presumably follow the structure of my FM8 .ditamap file...(?)

Anyone know what I'm failing to do? I'd like to get a fully-functioning Eclipse Help system that has left-side navigation...

Cheers & thanks,
Riley
Reply With Quote


  #7 (permalink)  
Old 12-03-2008, 06:13 AM
Scott_Prentice@adobeforums.com
Guest
 
Posts: n/a
Default Re: Can anybody share the config for FM8 -->DITA Plugin --> (Web OR Eclipse)?

Hi Riley...

I've never been able to do that .. but have never really tried too hard. If you don't get a useful reply here, I'd try posting to the Yahoo dita-users group .. but you might want to remove FM from the discussion since that will just muddy the waters. What you want to do is find out how to generate an Eclipse Help system using the default transforms available in the DITA-OT. Also .. you might want to differentiate between a standalone Eclipse Help system vs. one that's used within the Eclipse IDE .. I think they are different beasts, and it'll depend on which you want as to how you go about getting it.

Cheers!

....scott
Reply With Quote


  #8 (permalink)  
Old 12-03-2008, 06:13 AM
R._VanDyke@adobeforums.com
Guest
 
Posts: n/a
Default Re: Can anybody share the config for FM8 -->DITA Plugin --> (Web OR Eclipse)?

Scott:

Thanks.

What I did do was borrow the index.html and toc.html files gen'ed by the DITA-OT demo.

I then used some scripts to transform a copy of my .ditamap file (which hierarchically listed all my topic files) into HTML unordered lists and list items (ULs and LIs) used in the Eclipse Help system's TOC file.

So, I can post-process a copy of my ditamap file into a crude approximation of an Eclipse Help TOC, then re-use the Eclipse Help index.html to launch it in a frame.

Overall, I think you're correct -- FrameMaker in its native state knows only how to turn DITA back into .fm binaries for purposes of generating a somewhat clumsy looking PDF of the assembled topics...

(Wouldn't it be funny, he said, if the FM8 DITA plugin could generate the DITAMAP file as a single HTML approximation of itself rather than interpret it as a list of topic files? Then one could two-pass the Eclipse Help system as HTML-ized topic files and a TOC-ized DITAMAP.

Anticipating the next question, no -- saving the DITAMAP as HTML doesn't get you any closer than does post-processing the DITAMAP XML file...)

Cheers & thanks 'gain,
Riley
x5633
Reply With Quote


  #9 (permalink)  
Old 12-03-2008, 06:13 AM
Scott_Prentice@adobeforums.com
Guest
 
Posts: n/a
Default Re: Can anybody share the config for FM8 -->DITA Plugin --> (Web OR Eclipse)?

Hi Riley...

So .. are you really looking to build "Eclipse Help" or do you just want a simple frames-based "WebHelp" output? Eclipse Help has a lot of overhead (namely Java) .. which can be useful, but it is a bit of a niche product.

The standard XHTML target will build you a TOC that can be formatted nicely and all you need is a frameset file to wrap it all up. As is standard with the OT, it's pretty boring in appearance, but with some tweaking you can get something decent.

FM can build you a FM book from your DITA files, to which you can add a title page, TOC, and Index .. and it can look identical to a book that you'd craft on your own (pre-DITA). If it's clumsy looking, you need to do a bit more work .. but you can get there.

FM can also pass your ditamap off to the OT for processing (which is what the Generate Output command does). It does nothing to the files beyond passing the map filename off to the OT via the ~ant-build.cmd file (found in the FM8/fminit/ditafm folder). You can open this batch file and see the command line that's used. Anything that you can build with the OT, can be spawned from FM .. it just provides easy access to running the OT from FM.

Cheers,

....scott
Reply With Quote


Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Hairstyles | UFO Videos | Bollywood Wallpapers | Poems  | WWE


All times are GMT. The time now is 01:28 AM.
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.