Output file size (CHM)

This forum is for all Flare related Tips and Tricks.
Have a tip or trick you use while working in Flare? Share it here.
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Output file size (CHM)

Post by LTinker68 »

To add to Dave's comments, you don't need to remove those unused images if you'd rather keep them in the project for reference or future modification. Just put them in a sub-folder in the images folder, then apply an exclude condition to that folder.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
MC Hammer
Sr. Propeller Head
Posts: 225
Joined: Wed Aug 08, 2007 3:04 am
Location: In a galaxy far, far away

Re: Output file size (CHM)

Post by MC Hammer »

Hi Dave and Lisa
Wow, I produce HTML Help and did not know either that everything under the Content folder was being included in the output...I know fully understand why my CHMs are huge (I keep images, original PNGs, flowcharts and videos inside Content, even if I do not use them).
Lisa's tip is a good idea.
Marie-Claire
Flare 2019 r2 - Windows 10 Pro - HTML5 help / "clean" XHTML output
NorthEast
Master Propellus Maximus
Posts: 6365
Joined: Mon Mar 05, 2007 8:33 am

Re: Output file size (CHM)

Post by NorthEast »

Yep, it's easily done.
Thankfully the chances of your users stumbling across these hidden extras is quite small, especially in a CHM. It's more of a problem if you leave unused topics in the help, as you can find these from the search or index.
DurtyMat
Sr. Propeller Head
Posts: 224
Joined: Wed Aug 22, 2007 8:09 am
Location: ClrH2o, Fl

Re: Output file size (CHM)

Post by DurtyMat »

For an easy way to find what files you arent using, you can do this little work around that I pulled off when I was having CHM file size issues:

1. Backup your project, the project zip function from the File menu is a great option.
2. Create a new flare project and name it something along the same lines as your troublesome project (Diet, Lite, and SnackPak edition all work :D)
3. Create a flare import file from the main menu (think it is under project > create import file)
4. Select .fltoc files as the file type to import and the import linked files checkbox
5. Start the import process, select the files you want to import etc, for more information on how importing files work, check the help system
6 Import the selected files, and BAM! you have a liter edition of your project without all the unlinked/unused files

now, if you want to bring all the content that you now know you arent using into your project, just bring them in to the a folder through windows explorer and condition the MISC STUFF folder like List was saying.

if this is a terrible idea, i hope someone tells me :D

PS - i dropped close to 20 mbs when i did this, so beat that subway diet
Flare: I bought it ... so that means I can break it, right?
Madcap Guru
Sr. Propeller Head
Posts: 238
Joined: Tue Mar 17, 2009 10:41 pm

Re: Output file size (CHM)

Post by Madcap Guru »

If you have Analyzer you can run a report on unused files, that can tell you also what you are not using.
Rick Ferrell
____________________________

Former Flare and Robohelp Support
Image
Ryan Cerniglia

Re: Output file size (CHM)

Post by Ryan Cerniglia »

DurtyMat wrote:For an easy way to find what files you arent using, you can do this little work around that I pulled off when I was having CHM file size issues:

1. Backup your project, the project zip function from the File menu is a great option.
2. Create a new flare project and name it something along the same lines as your troublesome project (Diet, Lite, and SnackPak edition all work :D)
3. Create a flare import file from the main menu (think it is under project > create import file)
4. Select .fltoc files as the file type to import and the import linked files checkbox
5. Start the import process, select the files you want to import etc, for more information on how importing files work, check the help system
6 Import the selected files, and BAM! you have a liter edition of your project without all the unlinked/unused files

now, if you want to bring all the content that you now know you arent using into your project, just bring them in to the a folder through windows explorer and condition the MISC STUFF folder like List was saying.

if this is a terrible idea, i hope someone tells me :D

PS - i dropped close to 20 mbs when i did this, so beat that subway diet

That's a fairly decent method if you're willing to create a new project, but another method would be to go into the project, open the View menu, select "Project Analysis", and then change the drop-down menu in Project Analysis to "Topics not in Selected TOC". This gives you a listing of files that aren't included in the TOC so you can make the decision topic-by-topic, instead of all at once. Additionally, you can go to the Project menu and select Add Report File to create a list of All Unused Items in your project.


With these two steps combined you can take out a large number of files in your project without losing any topics that you simply haven't included yet.
DurtyMat
Sr. Propeller Head
Posts: 224
Joined: Wed Aug 22, 2007 8:09 am
Location: ClrH2o, Fl

Re: Output file size (CHM)

Post by DurtyMat »

good call, if only Ryan could respond to my post about using headings and mini-tocs to create segue pages with link descriptions (shameless self plug) /cough link:http://forums.madcapsoftware.com/viewto ... f=6&t=8710 /cough


;)
Flare: I bought it ... so that means I can break it, right?
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Output file size (CHM)

Post by LTinker68 »

He did respond with a workaround you could use.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
DurtyMat
Sr. Propeller Head
Posts: 224
Joined: Wed Aug 22, 2007 8:09 am
Location: ClrH2o, Fl

Re: Output file size (CHM)

Post by DurtyMat »

i saw and i am super excited to try ... now to stop stealing the light from this post ....

/me returns back to the stylesheet forum
Flare: I bought it ... so that means I can break it, right?
MC Hammer
Sr. Propeller Head
Posts: 225
Joined: Wed Aug 08, 2007 3:04 am
Location: In a galaxy far, far away

Re: Output file size (CHM)

Post by MC Hammer »

Madcap Guru wrote:If you have Analyzer you can run a report on unused files, that can tell you also what you are not using.
You mean Analyzer as the standalone product, not the "analyzer-lite" functionality available from within Flare?
Marie-Claire
Flare 2019 r2 - Windows 10 Pro - HTML5 help / "clean" XHTML output
NorthEast
Master Propellus Maximus
Posts: 6365
Joined: Mon Mar 05, 2007 8:33 am

Re: Output file size (CHM)

Post by NorthEast »

MC Hammer wrote:
Madcap Guru wrote:If you have Analyzer you can run a report on unused files, that can tell you also what you are not using.
You mean Analyzer as the standalone product, not the "analyzer-lite" functionality available from within Flare?
You can actually run that report in Flare, you don't need Analyzer. There are 'unused' reports for all sorts of things - content files, images, styles, CSH IDs, etc.

(If you had Analyzer, you could work with the unused items in a similar way to the Project Analysis pane in Flare, rather than having to run a report to find them).
forfear
Propellus Maximus
Posts: 766
Joined: Sat Feb 16, 2008 3:37 am
Location: Jungle Jingles

Re: Output file size (CHM)

Post by forfear »

i hope props files are excluded from output, otherwise you'd have a redundant source that blows up the file sizes exponentially - for every image there is an identical .props raw date file which the user will never need to see.
If you submit your bug feedback request here, the more likely it'll get fixed or included in a future release
Open Utilities PageLayout Resizer for Flare/Blaze | Batch builder
Andrew
Propellus Maximus
Posts: 1237
Joined: Fri Feb 10, 2006 5:37 am

Re: Output file size (CHM)

Post by Andrew »

They are not included with my WebHelp target using Flare 4.2.1. They used to be a while back, but I'm not sure when that changed.
Flare v6.1 | Capture 4.0.0
Post Reply