Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Sample Script: RSS Portlet
RSS (Really Simple Syndication) feeds are essentially XML documents used for publishing content. For more information, please visit http://en.wikipedia.org/wiki/RSS_(file_format).
Netsuite supports RSS portlets standard out of the box but if you wanted to build your own (i.e. from multiple sources, or formatted slightly different) you can using the powerful nlapiRequestURL API and portlet scripts.
The following script makes an external request to an RSS source (in this case: http://rss.slashdot.org) in order to retrieve and display an RSS feed in a LINKS portlet. The APIs used are nlapiRequestURL() to fetch the RSS feed, nlapiStringToXML() to convert the feed into an XML document, and nlapiSelectNodes/nlapiSelectValue to query the XML document for the RSS data