News story response contains new line "\n" and white space irregularly. How can I customise it to display the news story in proper formate on the web page?
For example: 3 new line character with few white space
I can't find any options in the RetrieveStoryML_1 which can customize the new line and white space. Howevever, you can use the regular expression or replace method to convert "\n" to "<br>" in order to display it on the web page, as mentioned in this thread.
Otherwise, you can use SOAP format. From my checking, the XML returned by SOAP doesn't have a "\n" character.
I need to access country specific news feed on commodities along with their prices. Do i need to create a separate trial account for the direct API or can I access the data through code without any account.