How do I access all the fields in an rss feed?
In your rss-subscription.ftl you access a few:
<#list entries as entry>
${entry.titleEx}
${entry.publishedDate}
FeedUtils.getEntryTitle(entry.titleEx)
These paramters don't match the rss feed though... So how do I access other custom fields such as <clearspace:objectType>
It looks like the feed is returned as a java.util.List can't work out how to access random elements though. Should be simple?
In the rss: (this is an sbs search result rss)
<item>
<title>When will the OLED display become prevalent as LCD does in the present market?</title>
<link>http://localhost:8080/community/message/1078#1078</link>
<description><div class='jive-rendered-content'><p>Is there anyone who is a professional in OLED? How is it going now? What are the obstacles that prevent OLED from entering the ordinary lives?</p></div></description>
<pubDate>Wed, 26 Nov 2008 01:14:18 GMT</pubDate>
<author>gluo</author>
<guid>http://localhost:8080/community/message/1078#1078</guid>
<dc:date>2008-11-26T01:14:18Z</dc:date>
<clearspace:dateToText>11 months, 1 week ago</clearspace:dateToText>
<clearspace:objectType>2</clearspace:objectType>
</item>
Ok, I managed to fix this I think using:
entry.modules[1].objectType
Not quite sure what the indexing notation for the modules referrs to? Is there any syndFeed docs about what this all means?
Thanks
Hi Martin,
We're using Sun's syndication package which contains ROME, among other libraries. Their documentation is available here: https://rome.dev.java.net/apidocs/1_0/overview-summary.html
Jive combines collaboration software, community software & social networking software into the leading SBS solution.
© Copyright 2000–2009 Jive Software. All rights reserved.
915 SW Stark St., Suite 400, Portland, OR 97205