Need to Import help -- Missing FLPRJ file

This forum is for all Flare issues related to importing files or projects.
Post Reply
dmarino
Propeller Head
Posts: 18
Joined: Mon Feb 07, 2011 11:48 am

Need to Import help -- Missing FLPRJ file

Post by dmarino »

I have a compiled version of WebHelp but do not have the flprj file (it was erased by accident). Is there any way to import the existing project into Flare and create a new project file so that the help can be edited?

Thanks, donna
DocuWil
Sr. Propeller Head
Posts: 344
Joined: Thu Feb 09, 2006 1:22 am
Location: Netherlands
Contact:

Re: Need to Import help -- Missing FLPRJ file

Post by DocuWil »

Hi Donna,

As far as I can see, you can copy another flprj file and then rename it.
I should say, give it a try.

Succes
Wil Veenstra

Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
dmarino
Propeller Head
Posts: 18
Joined: Mon Feb 07, 2011 11:48 am

Re: Need to Import help -- Missing FLPRJ file

Post by dmarino »

I guess I'm still not sure how I would import it, though?
DocuWil
Sr. Propeller Head
Posts: 344
Joined: Thu Feb 09, 2006 1:22 am
Location: Netherlands
Contact:

Re: Need to Import help -- Missing FLPRJ file

Post by DocuWil »

What I mean:

In your explorer search for another project.
In the map you will find <other project>.flprj
Copy this file in the faulty project (e.g. my project) and rename it to: my project.flprj

In case you have only the my project.flprjzip file then first rename this file to my project.zip
Then open this zip file and drag the the file my project.flprj into the zip file.
Close the zip file and rename it back to my project.flprjzip
Then doubleclick this file and hopefully this works for you. I tested in my place and it worked!

Again succes
Wil Veenstra

Documentation and Training Centre
Infologic Nederland
(Using Flare 11.1.2, Capture 7.0.0 and Mimic 7.0.0 in Windows 10 64-bit)
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Need to Import help -- Missing FLPRJ file

Post by LTinker68 »

I think the point is that the original FLPRJ file used to build the output is no longer available. Don't see how copying another FLPRJ file will help you get the content from the output into it. I don't see an option to import a WebHelp output into a project.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
dmarino
Propeller Head
Posts: 18
Joined: Mon Feb 07, 2011 11:48 am

Missing FLPRJ file - How to recreate help?

Post by dmarino »

So is there any other way besides cutting and pasting the information in each topic into a new help project? I'm really trying to avoid doing that because it's a large help system.

thanks, donna
LTinker68
Master Propellus Maximus
Posts: 7247
Joined: Thu Feb 16, 2006 9:38 pm

Re: Need to Import help -- Missing FLPRJ file

Post by LTinker68 »

You can copy the topic files into the Content folder of the new project, then use find-and-replace in source code to strip out the code that's added to the <head> tag during the build process, such as references to MadCap.css, the topic stylesheet, Flare JS files, and so on. You might want to open a file to see if Flare asks if you want to convert the file. It usually adds info the file when it does that, but that info might already be in the generated topic file; not sure, but if it isn't, then you might have to open each file in Flare. You'd probably do that anyway at some point while doing the following.

You'll have to copy your images and stylesheet (topic and table) files over. The built-in Analyzer I believe will identify commonly-recurring content so you can recreate the snippets. You'll have to recreate any page layouts, masterpages, variables, and conditional tags, and you'll have to redo the skin. The glossary you can sort of get from the XML file in the output -- you'll want to make a copy of it and use find-and-replace in that copy to replace <li class="GlossaryPageTerm">, for example, with the XML tag used in the glossary file in the authoring environment. You'll have to do some more cleanup after that, but it'll save you having to retype all the glossary terms and definitions. You'll have to rebuild the index, but you can find the terms you used in the XML file in the output, but it might just be easier to use the automatic index feature, although I haven't used it much. Any other advanced features you'll have to recreate, such as the alias, concepts, search filters, the TOC, etc., although there are XML files for each of those in the output that should help you remember what you had in the original project, and might provide a shortcut with some judicious find-and-replace.

You could also contact MadCap Support to see if they have any solutions. At the very least, submit a feature request asking for the ability to create a new project from a generated online output like WebHelp and HTML5.
Image

Lisa
Eagles may soar, but weasels aren't sucked into jet engines.
Warning! Loose nut behind the keyboard.
Post Reply