notes xml format

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

notes xml format

Postby pasita » Tue Aug 07, 2012 11:40 am

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>
pasita
 
Posts: 605
Joined: Tue May 06, 2008 4:05 pm

Re: notes xml format

Postby kraada » Tue Aug 07, 2012 12:05 pm

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?
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: notes xml format

Postby pasita » Tue Aug 07, 2012 12:45 pm

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).
pasita
 
Posts: 605
Joined: Tue May 06, 2008 4:05 pm

Re: notes xml format

Postby pasita » Fri Aug 10, 2012 9:58 pm

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"?
pasita
 
Posts: 605
Joined: Tue May 06, 2008 4:05 pm

Re: notes xml format

Postby WhiteRider » Sat Aug 11, 2012 12:31 pm

If you open a Support Ticket with your request we'll pass it on to the people in charge.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: Amazonbot and 22 guests

cron