New formatting option
Posted: Sun Dec 22, 2013 10:35 am
Small API update
If anyone is currently using or thinking about using the API, I've added a new option which applies to the following modes:
Messages
UserMessages
A new parameter has been added called 'texttype' and allows you to change how the messages are recieved, you can use the API as normal but if you want you can now add the extra parameter like so:
0/Default = Output the message with full bbcode/html code.
1 = Plain text with all the bbcode stripped
Not a huge change but very handy if you just want to display the messages without all the bulk of html code. In the future this parameter will also apply when retrieving topics/posts from the API.
Nice cooll;
If anyone is currently using or thinking about using the API, I've added a new option which applies to the following modes:
Messages
UserMessages
A new parameter has been added called 'texttype' and allows you to change how the messages are recieved, you can use the API as normal but if you want you can now add the extra parameter like so:
Code: Select all
Two options available:&texttype=1
0/Default = Output the message with full bbcode/html code.
1 = Plain text with all the bbcode stripped
Not a huge change but very handy if you just want to display the messages without all the bulk of html code. In the future this parameter will also apply when retrieving topics/posts from the API.
Nice cooll;