[Scribus] Comment about object tag names and xml file format
Timothy Boyden
tboyden
Tue Feb 26 23:18:29 CET 2008
Hi All,
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
format.
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.
Thoughts?
Thanks,
Tim Boyden
---------------------------
Timothy Boyden
Network Administrator
tboyden at supercoups.com <mailto:tboyden at supercoups.com>
SuperCoups(r)
A Valassis Company
350 Revolutionary Drive | E. Taunton, MA 02718
Phone: 508-977-2034 | Fax: 508-977-0290 | www.supercoups.com
<http://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
your store.
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...
URL: http://nashi.altmuehlnet.de/pipermail/scribus/attachments/20080226/07136557/attachment-0001.htm
More information about the scribus
mailing list