Page 1 of 1

notes xml format

PostPosted: Tue Aug 07, 2012 11:40 am
by pasita
I managed to insert the following (bolded) to field note in table notes for a player. How ever, now all the text in the notes box ("original in black, test2 0123456789") is displayed red. Is there something I can do to change the colour of just some of the notes, i.e. is this a PT4 parser bug or do I misunderstand the format?

<?xml version="1.0" encoding="UTF-8"?>
<richtext version="1.0.0.0" xmlns="http://www.wxwidgets.org">
<paragraphlayout textcolor="#000000" fontsize="9" fontfamily="70" fontstyle="90" fontweight="90" fontunderlined="0" fontface="Segoe UI" alignment="1" parspacingafter="10" parspacingbefore="0" linespacing="10" margin-left="4,4098" margin-right="4,4098" margin-top="4,4098" margin-bottom="4,4098">
<paragraph>
<text>original in black</text>
</paragraph>
</paragraphlayout>
<paragraphlayout textcolor="#ff0000">
<paragraph>
<text> test2 0123456789</text>
</paragraph>
</paragraphlayout>

</richtext>

Re: notes xml format

PostPosted: Tue Aug 07, 2012 12:05 pm
by kraada
We cannot support directly inserting XML into the database. Unless you got this data there by doing something in the text window of the note editor?

Re: notes xml format

PostPosted: Tue Aug 07, 2012 12:45 pm
by pasita
I put it there outside of PT4.

I just wanted to know whether I got the format wrong (i.e. keep trying) or if the PT4 parser just won't handle this (select route B).

Re: notes xml format

PostPosted: Fri Aug 10, 2012 9:58 pm
by pasita
When qualified developers approach us to ask questions such as this, we are happy to provide the information they need.

This just in from 2+2. How does one become "qualified"?

Re: notes xml format

PostPosted: Sat Aug 11, 2012 12:31 pm
by WhiteRider
If you open a Support Ticket with your request we'll pass it on to the people in charge.

highfalutin