[Scribus] Comment about object tag names and xml file format
Tue Feb 26 23:18:29 CET 2008
I wanted to comment on and get feedback from any developers lurking on
object tag names and the associated xml elements in the 1.3.5 file
I'm interested in developing a web-based tool that can manipulate
Scribus docs and their XML like file structure. I would be programming
it in PHP which has useful utilities for handling XML objects and can
make OO objects out of XML elements. Basically the application would
make use of predefined Scribus "Spec Ads" that can be customized via a
web form that changes the text of tagged text elements in Scribus docs.
Currently you can give objects a name in the properties box, but it does
not appear to actually label or "id" the associated element within the
file. For example, I create a text element and assign it the name of
"tagline" in the properties box, I would expect that when I save the
document and look at it's source code, the associated itext element
would have an attribute named "id" with a value of "tagline". This would
then allow me to in PHP to do a getElementById("tagline") and then have
an object with the property "CH" which would contain the text that I
could then manipulate.
tboyden at supercoups.com <mailto:tboyden at supercoups.com>
A Valassis Company
350 Revolutionary Drive | E. Taunton, MA 02718
Phone: 508-977-2034 | Fax: 508-977-0290 | www.supercoups.com
Watch For Your Bright Blue and Yellow Envelope - Coming Soon!
RedPlum <http://www.redplum.com/> is the ultimate source of value -
online, in your mailbox, on your doorstep, with your newspaper, and in
This message may include proprietary or protected information. If you
are not the intended recipient, please notify me, delete this message
and do not further communicate the information contained herein without
my express consent.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the scribus