Si desemos utilizar <p:feedReader> componente de Primefaces
<p:feedReader value="http://rss.news.yahoo.com/rss/sports" var="feed">
<h:outputText value="#{feed.title}" style="font-weight: bold;display:block"/>
<h:outputText value="#{feed.description.value}" escape="false"/>
<p:separator />
</p:feedReader>
<h:outputText value="#{feed.title}" style="font-weight: bold;display:block"/>
<h:outputText value="#{feed.description.value}" escape="false"/>
<p:separator />
</p:feedReader>
Debemos incluir las siguientes dependencias <p:feedReader
<dependency>
<groupId>com.totsp.feedpod</groupId>
<artifactId>purl-org-content</artifactId>
<version>0.3</version>
</dependency>
<dependency>
<groupId>rome</groupId>
<artifactId>rome</artifactId>
<version>1.0</version>
</dependency>
<dependency>
<groupId>jdom</groupId>
<artifactId>jdom</artifactId>
<version>1.1</version>
<type>pom</type>
</dependency>
Comments