Got asked to add content to a CHM that I didn't touch in almost 2 years and that I do not have the original FM/WebWorks project for, but only the CHM. I managed to decompile the CHM, use HTML Workshop to make a project from it, import that into Flare 2020, and compile a new CHM. When I now open the CHM I get a bunch of script errors because some webworks junk is embedded on every page.
Any advice on how to remove that section from each html file? There are too many files to do this manually. Thanks in advance!
Cleaning out Webworks junk
-
- Senior Propellus Maximus
- Posts: 4293
- Joined: Thu Feb 02, 2006 9:29 am
- Location: The Electric City
Cleaning out Webworks junk
New Book: Creating user-friendly Online Help
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
-
- Sr. Propeller Head
- Posts: 290
- Joined: Mon Aug 26, 2019 2:11 pm
Re: Cleaning out Webworks junk
It sounds like you could do something clever with the Find/Replace here - you might need to use Wildcards, a Regular Expression or the new Elements feature to bulk find the bits you want. The trick here is that 'replacing' with an empty field just deletes the string that you found.
in hoc foro dolorem ipsum amamus, consectimur, adipisci volumus.
-
- Senior Propellus Maximus
- Posts: 4293
- Joined: Thu Feb 02, 2006 9:29 am
- Location: The Electric City
Re: Cleaning out Webworks junk
I will look into that. I wish I could put this project on more solid footing, but after inquiring about delivery date and being told "yesterday" I had to use HTML Workshop and Notepad. I guess the 90s are back. I surprised myself by remembering how to do this.
New Book: Creating user-friendly Online Help
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
Re: Cleaning out Webworks junk
Does HTML Help Workshop compile the decompiled project ok?
Just depending on how much you've got to edit (now and in future), it may be easier to use a text editor to make the changes and then compile in workshop, rather than import into Flare and then try and fix it up.
Just depending on how much you've got to edit (now and in future), it may be easier to use a text editor to make the changes and then compile in workshop, rather than import into Flare and then try and fix it up.
-
- Senior Propellus Maximus
- Posts: 4293
- Joined: Thu Feb 02, 2006 9:29 am
- Location: The Electric City
Re: Cleaning out Webworks junk
It compiles it ok...but it needs some testing. It is hard to tell if it is worth the effort to make it be good to go in Flare. Thanks for the suggestions.
New Book: Creating user-friendly Online Help
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U
Paperback http://www.amazon.com/dp/1449952038/ or https://www.createspace.com/3416509
eBook http://www.amazon.com/dp/B005XB9E3U