[Scribus] Comment about object tag names and xml file format
Tim Boyden
tboyden
Wed Feb 27 02:15:26 CET 2008
In the end I suppose it doesn't matter how it gets into the object
element in the file format, however if we go by standard tagging
conventions, it should be applied to the "id" or "name" attributes and
anything is better than the current status where the tag isn't even in
the file which makes it a useless feature at present.
I was going to suggest implementing it in a way similar to SVG (which I
think Scribus should be using an extended version of for it's file
format anyways). But to my dismay it appears the SVG export feature of
Scribus as been degraded to embedding a rasterized PNG version of the
document into the SVG file as opposed to converting the Scribus
document's elements into SVG vector elements. The feature was much
better in Scribus 1.3.3.x where it did just that. The 1.3.3.x SVG export
feature just needed to have the text elements fixed so it didn't break
up the text elements into individual characters.
As for my signature, I apologize to the list etiquette Nazis, I was in a
rush to send the e-mail as I was running out the door and forgot to turn
it off for posting to the group.
-Tim
On Tue, 2008-02-26 at 23:48 +0100, Craig Bradney wrote:
> Hi,
>
> > 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.
>
> Changes to the file format are possible, although no longer in 1.3.5 really.
> Requests can be made for 1.3.6+. I do however doubt we would put the user
> specified name in the "id" tag but reserve this for an internal reference and
> place the name in anothr tag.
>
> > 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.
>
> Ok, now I have to follow Carl Worth and quote/modify a reply to someone who
> posted a message on the cairo mailing list recently:
>
> Do note that the addressee, "scribus at nashi.altmuehlnet.de", is a public
> mailing-list with public and permanent archives. So there is
> explicitly no confidentiality here. When you send a message to the list, all
> subscribers receive it, without the review of any "management" system or
> team.
>
> That means that one of the following holds:
>
> 1. If the message is actually confidential or contains proprietary information
> in any way, you're doing something wrong by posting this material to a public
> list.
>
> 2. If the message is not at all confidential or does not contain such
> proprietary or protected information, you shouldn't be claiming that it is or
> does. In which case, please find a way to use an email system that doesn't
> place claims of to any of these effects on your messages. Thanks!
>
> Regards
> Craig
>
> _______________________________________________
> Scribus mailing list
> Scribus at nashi.altmuehlnet.de
> http://nashi.altmuehlnet.de/mailman/listinfo/scribus
More information about the scribus
mailing list