Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
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