🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16509

Re: Tagged Text Temp Files?

#16509
From: Kim Kohen
Date: Thu, 28 Aug 2003 21:08
10 lines
2015 bytes
Brian,
we do a lot of (FMP)database->ID and for the life of me I can't see why you'd want to move from separate field model to a single field model. I don't think any database product is going to balk at having a couple of extra fields - especially when the amount of data remains the same.

Having separate fields makes it soooo easy to style each fields' data. Now if you're concerned about having to import 3 separate fields into ID then worry not. We use FMPs calc fields to combine the data into a single field for export to a text file. We use our own special delimiters between the field data so it's very easy to parse the data into separate text frames when you get it into ID. I'm actually rewriting this into MySQL and it will be easy to do there as well.

The temp file theory is correct and is exactly how we do it. An 'import' script for ID opens the single text file, parses out the heading and writes it to a temp file, creates a frame in ID and then places and styles the text. Then it loops through and does the sub head, the caption and the body. We add a fair bit of complexity to the error checking but the gist of what you're thinking is correct.

We use custom formatting for word styles as well but that's another topic.

BTW, we're using Applescript.
Technical Details
Message-ID: <2ccd21bf.2@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccd21bf.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,5bbd4d053ed11159
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-08-28 14:37:48 PST
From: "Kim Kohen" <kim@webguide.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.online.be!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: Tagged Text Temp Files?
Message-ID: <2ccd21bf.2@webx.la2eafNXanI>
Date: Thu, 28 Aug 2003 14:08:28 -0700
References: <2ccd21bf.-1@webx.la2eafNXanI>
Lines: 25
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit