Extension talk:RoboHelp2Wiki

Please be more specific, and if possible, give examples.
 * 1) Generate a XML Output file from the Single Source Layouts
 * 2) Note the name of the XML Project.

Yes indeed! And what is the RoboXMLProjectFile on the 3rd line of the configuration file? There is no such entity in a RoboHelp project or its XML output. The example of TestFiles.XML suggests it should be an XML file - but an RH project only contains one such file, eHelp.xml. I'm mystified....!

I got an answer from the author:

Each user needs to set the appropriate properties the RoboHelp2Wiki Config File located at: config/config.properties.

One of the properties "RoboXMLProjectFile" needs to be set to name of your output file. In most cases it is the same name as your project name with an .xml at the end. Again, in most cases it will be located within \!SSL!\XML_Output in your Project Files. It is determined when you generate the XML Output. See screenshot below.
 * We have to choose the option Export project to Docbook to obtain an xml file --Eric Larcher 12:44, 21 February 2008 (UTC)

One must choose the option Export Project to XHMTL to work. Docbook is not supported. - JasonKl

Does RoboHelp2Wiki support RoboHelp 6 or 7?
When the article was first published, RH version X5 was current. However, RH6 was released in 2007, and RH version 7 is now on sale. Does anybody know if the RoboHelp2Wiki software work with Online Help Guides produced by RH6 or RH7?

Philip Tory www.authorgraphic.co.uk

We tested the code successfully, to both RH6 and RH7. I have updated the article to reflect the supported version. We also tested the code through MediaWiki 1.11.1  -  JasonKl

I have just tested it on Adobe RoboHelp 8 and it works fine.--Greenears 18:17, 16 April 2010 (UTC)

Problem of Redirect requested
Hi,

I meet this problem :

HttpMethodDirector - Redirect requested but followRedirects is disabled org.xml.sax.SAXParseException: Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)

Any solution ?

Best regards, --Eric Larcher 12:10, 21 February 2008 (UTC)

This may be due to trying to covert the Docbook format. See above. Please try again with the Project XHMTL handler. - JasonKl

Page edit layout is changed. the pattern needs to be rebuilt
Can someone please explain what this means?

This error occurs when you try to upload to a Mediawiki version above 1.11.

Since the code is open-source I easily modified it to work with MediaWiki 1.15.1. All you have to do in the source code is change this line and recompile the java file and package the JAR:--Greenears 19:42, 16 April 2010 (UTC) m = Pattern.compile("value=\"(\\d+)\"\\s+name=\"wpStarttime.*value=\"(\\d+)\"\\s+name=\"wpEdittime.*value=\"(\\S+)\"\\s+name=\"wpEditToken.*name=\"wpAutoSummary\"\\s+.*?value=\"(\\S+)",Pattern.DOTALL).matcher(res ); to: m = Pattern.compile("value=\"(\\d+)\"\\s+name=\"wpStarttime.*value=\"(\\d+)\"\\s+name=\"wpEdittime.*name=\"wpAutoSummary\"\\s+.*?value=\"(\\S+)\".*value=\"(\\S+)\"\\s+name=\"wpEditToken",Pattern.DOTALL).matcher(res );

To disable online XML DTD/XSD checking, all you have to do in the source code is add this import:--Greenears 19:59, 16 April 2010 (UTC) import org.xhtmlrenderer.resource.FSEntityResolver;

and add this line in the "createdFactoryBuilder" method: docBuilder.setErrorHandler(null);

and replace this line in the "createdFactoryBuilder" method: docBuilder.setEntityResolver(null); with: docBuilder.setEntityResolver(FSEntityResolver.instance);

Recompile the java file by including the "core-renderer.jar" JAR file from the [Flying Saucer project|https://xhtmlrenderer.dev.java.net/].

I'm getting an error "Content is not allowed in prolog"
any ideas?

fixed..export error from robohelp. it didn't create the _gls.xml file.

[ERROR] MultipartRequestEntity
- An exception occurred while getting the length of the parts java.lang.NullPointerException

is one of the lovely error messages I receive from the debugger when trying to run this program, I have various xml files that I have tried setting as the project file in the config, help.xml and help_prj.xml give me this error. I tried using help_gls, help_ndx,help_sls and help_toc.xml, all of which gave me the above error of "Content is not allowed in prolog". Does anyone understand what this problem means and what the solution is? Is it because this program uses the old apache libraries? Thank you