Extracting multiple bits of text to a single file

This forum is for Single-Sourcing your Flare content to multiple outputs.
Post Reply
Pernice
Propeller Head
Posts: 21
Joined: Thu Dec 01, 2011 5:39 am

Extracting multiple bits of text to a single file

Post by Pernice »

I'm looking for a way to extract multiple bits of text to a single file (plain text/XML file), so I can provide the development team with embedded help text for the user interface of a web application.

My first thought was to use a condition tag to tag the wanted text extracts, then have a target that was set to include only that tag (and, therefore, exclude everything else, which is untagged). But this doesn't work because Flare includes untagged text by default.

Snippets was another thought: make each wanted extract a snippet. But this results in a file for each snippet. I suppose those files could be merged into one outside of Flare...

But is there something I'm missing in Flare that I could use?
SteveS
Senior Propellus Maximus
Posts: 2090
Joined: Tue Mar 07, 2006 5:06 pm
Location: Adelaide, far side of the world ( 34°56'0.78\"S 138°46'44.28\"E).
Contact:

Re: Extracting multiple bits of text to a single file

Post by SteveS »

Are/ do you have access to Analyser?

You can apply annotations within Flare, but these are only displayed within the Project Analysis window and can't be readily exported.

Once the annotation is made you can create a report in Analyser that lists, among other things, the annotated textt.

HTH
Image
Steve
Life's too short for bad coffee, bad chocolate, and bad red wine.
Pernice
Propeller Head
Posts: 21
Joined: Thu Dec 01, 2011 5:39 am

Re: Extracting multiple bits of text to a single file

Post by Pernice »

Thanks Steve, but I'm looking for a single sourcing solution. I want the same text extracts to appear both in the topics in the online help/PDF and also to be embedded in the application that I'm producing the documentation for.

I'll probably use the multiple snippets method.
Post Reply