Skip to main content
Community Expert
November 12, 2009
Question

Export all stories to single RTF file

  • November 12, 2009
  • 3 replies
  • 4829 views

Hello,

Firstly I'm aware that there is already a script to export all stories as RTF, but this exports them to single RTF files.

I have a magazine, all the articles are separated into different documents, and the magazine is compiled using the Book feature.

Due to the layout of the magazine not all text frames are threaded, single column heading, tripple column body text etc.

So I'm looking for a way to extract all the text frames on the pages (not master page text frames) to a single RTF file.

Some pages also have footnotes, but due the text spanning 3 columns the footnotes have to be inserted in separate text frames, so they're no longer linked to text frames.

Also, there are tables with coloured headings etc. all formatting would have to be stripped prior to the conversion to RTF, and the text set to black.

I know this is a huge script. And I'm just looking for some sort of script.

Even if the script an extract all the stories on a page to a single RTF, I can edit the tables and arrange the footnotes myself in the RTF.

It would also be handy if the script could work on a Book, but it's not necessary.

If anyone knows of such a script it would be great.

Thanks

This topic has been closed for replies.

3 replies

Harbs.
Legend
November 12, 2009

Check out Rorohiko's TextExporter as well.

Harbs

Community Expert
November 12, 2009

I think I know why it's not working, it's the way the file is set up. The Headings are stand alone text frames. The body frames are all threaded.

I guess for this to work I'll have to rearrange the document so that the heading is threaded into the body frames.

Rohiriko works, inside InDesign, and the other one pointed out works on Books, which is really what I was after.I'll have to think about which one works best and how to flow the content for each issue.

I will only have to do this 6 times a year for roughly 100 pages. So hopefully I can rework my documents without too much hassle.

Sorry Harbs, I have no stars left to hand out.

Thanks to everyone for the helpful linkage to scripts.

Inspiring
November 12, 2009

Hi Eugene,

We've recently updated TextExporter - it now also allows export in 'frame-by-frame' mode instead of the default 'story-by-story'. However, the 'frame-by-frame' mode is not free for all: it's an optional feature that only gets enabled for users with a licensed copy of APID ToolAssistant.

frame-by-frame should allow you to get the result you want - i.e. it would automatically 'intermingle' the header frames with the content from the threaded text frames.

http://www.rorohiko.com/textexporter

Cheers,

Kris

Kasyan Servetsky
Legend
November 12, 2009
Robert at ID-Tasker
Legend
November 12, 2009

hi Eugene,

if you work on PC - you can test my script Export-Import InDesign Texts:

http://www.adobescripts.com/search.php?query=export-import&action=results

if you want I can modify it to fit your needs

robin

www.adobescripts.co.uk

Community Expert
November 12, 2009

That does most of what I was talking about - WOW. Thanks

But there is a small problem

In the Test Document I did the stories go like this

HEADING

BODY

HEADING

BODY

HEADING

BODY

But it seemed to only extract the First Heading into the RTF, and the BODY all ran into itself.

All the other HEADINGs were placed at the end of the RTF

I need them to go in order, from Page 1 from Story 1 to Story 2, to Story 3 to Story 4 for that particular document.

I may be asking way too much. It might be that you'd have to tweak the script for each document, which isn't practical.

A little bit difficult to use the Trial as I don't get to see the true finished RTF and how quickly it does it because I have to keep clicking to continue.

But nonetheless, it's a fine script. Thanks for sharing the link.

Robert at ID-Tasker
Legend
November 12, 2009

That does most of what I was talking about - WOW. Thanks

you are welcome

I may be asking way too much. It might be that you'd have to tweak the script for each document, which isn't practical.

I need to modify UI - so you can sort Stories by order on page - by columns+rows or rows+columns

I can do this if you are interested in using my script

if you click ENTER KEY and send me HardwareFingerPrint on priv - I can send you temporary key so you don't need to click "continue"

robin

www.adobescripts.co.uk