Skip to main content
October 10, 2010
Question

app for automated text frame content creation

  • October 10, 2010
  • 2 replies
  • 355 views

Now Hello Everyone!

Thank you all of what we used to be discussing before, but now i need to take a more complex discussion.

Start from what we have:

1. The ID CS5 document with several linked textframes within it.

2. The database consisting of multiple Ads, every can be a formatted text or an image.

3. Written application that serves the database and able to export a file of any type with by-string Ads definitions or with the XML consisting of multiple nodes.

And we have a need to bring the database's content into the linked textframes of ID document.

Content is the multiple paragraphs of text ads, sometimes images.

And, now i know, there are several scripting-nested abilities to provide data into ID document, such a Script, IDML, and XML.

From their, the XML seems to be a most solving feature, but then how to format it to let the ID to traverse text and image paragraphs?

I mean, is it possible in general (without any third-party software),

and is there any resources or tutorials to start with it.

Thanks in advance, Alex.

This topic has been closed for replies.

2 replies

Kasyan Servetsky
Legend
October 11, 2010

... is there any resources or tutorials to start with it.

Check out Dynamic Publishing Workflows in XML by Jim Maivald and his Designer's Guide to Adobe InDesign and XML book.

Kasyan

October 10, 2010

Once exported XML from text frame contents i discovered it's structure has repeating <Root> tags with attributes. one of those was href.

Simply equal its value to the image path, i imported what i want.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Root>
<Root>This is text paragraph</Root>
<Root href="file://images/a_2a276658.jpg"></Root>
<Root href="file://images/Untitled-3.indd"></Root>
</Root>

I even can import another .indd document, cool.

But operation, you know, the service itself doesn't seem to be exccellent for me programmer. Some softwear issues like why have i use this repeating Root tag and so on.

Where can i find more complex information about operation like that?

only have here CS3, but i guess the operation would be the like on CS5.