This is a practical example of mixed techniques for Liferay themes condensed into a few lines. You can use it. If you’re good with structures and templates, you can create a whole UI (via a web content article) to drive this “app”.
##stock_ticker_include.vm
#set ($rssURL = "http://pipes.yahoo.com/pipes/pipe.run?_id=ZKJobpaj3BGZOew9G8evXg&_render=rss&ticker=CPWR")
#set ($stockRSS = $saxReaderUtil.readURL($rssURL).getRootElement())
#set ($stockData = $saxReaderUtil.selectNodes("channel/item/guid", $stockRSS).get(0).getText())
#set ($stockPrice = $stringUtil.split($stockData, "-").get(1))
<div id='stockData'>$stockPrice</div>
stock_ticker_include.vm

