Welcome to Macrobject Community Login | Register | Faq  

    Macrobject Community
  Macrobject Software Knowledge Management and Collaboration Platform
Search    
   

HTML replace: how to replace more than one string
Started by jokrug at 08-10-2009 1:48 AM. Topic has 2 replies.

Print Search « Previous Thread Next Thread »
  08-10-2009, 1:48 AM
jokrug is not online. Last active: 3/22/2010 4:43:38 PM jokrug

Top 25 Posts
Joined on 08-10-2009
Posts 7
HTML replace: how to replace more than one string
Reply Quote
Hello!
I would like to replace different strings by different other strings using the "HTML replace" add in, but I have only one field to enter a search string and another field to enter the replace string.
I am using "Word-2-chm 2009 Pro, 2009.2.718.2187.


   Report 
  08-10-2009, 2:33 AM
David is not online. Last active: 11/17/2011 8:07:51 AM David

Top 10 Posts
Joined on 01-26-2008
Posts 193
Re: HTML replace: how to replace more than one string
Reply Quote
1. Please fill in the replacement in "HTML Replace" addin and save the .word2chm project file.
2. Then open the .word2chm with any text editor, clone the HtmlReplace.Addin and modify it to fit your requirement.
    <Addin __File="HtmlReplace.Addin" __Path="Addins\HtmlReplace\" UseRegex="True" __Enabled="True" FindHTML="a" ReplaceHTML="b"/>
    <Addin __File="HtmlReplace.Addin" __Path="Addins\HtmlReplace\" UseRegex="True" __Enabled="True" FindHTML="c" ReplaceHTML="d"/>

3. Loop 2 as you need.
4. Save the .word2chm and re-open it with Word-2-CHM.
5. Perform convert action, and enjoy it :)

   Report 
  08-10-2009, 4:17 AM
jokrug is not online. Last active: 3/22/2010 4:43:38 PM jokrug

Top 25 Posts
Joined on 08-10-2009
Posts 7
Re: HTML replace: how to replace more than one string
Reply Quote
Thank's for the super fast answer.
It worked perfekt.

Good software and excellent support!
Congratulations.
   Report 
Post
Macrobject Comm... » Help Authoring ... » Word-2-CHM Conv... » HTML replace: how to replace more than one string

Powered by Community Server, by Telligent Systems