The RSS News Feed Portlet retrieves news content and links based on visitor news feed preferences. This portlet provides an edit mode that lets you change the news feed and set portlet preferences.
This JSP portlet, which uses a backing file, illustrates a news aggregator portlet that connects to external news feeds and weblogs that provide Really Simple Syndication (RSS) content. This portlet provides an edit mode.
This sample is located in the <BEA_HOME>/<WEBLOGIC_HOME>/samples/portal/portalApp/portalApp.work application.
See Viewing the Samples in Portal Samples.
Import or copy this | to this directory (create if necessary) |
<WEBLOGIC_HOME>/samples/portal/portalApp/ |
<PORTAL_APP>/<project>/portlets/ |
<WEBLOGIC_HOME>/samples/portal/portalApp/ sampleportal/WEB-INF/src/examples/rss/ |
<PORTAL_APP>/<project>/ WEB-INF/src/examples/ |
<WEBLOGIC_HOME>/samples/portal/portalApp/ Add the following entry in the tag library section of <project>/WEB-INF/web.xml to register the tag library: <taglib> <taglib-uri>xmlx.tld</taglib-uri> <taglib-location>/WEB-INF/lib/xmlx-tags.jar</taglib-location> </taglib> |
<PORTAL_APP>/<project>/ WEB-INF/lib/ |
To Change the News Feed
You can also let users change news feeds for a portlet with the portlet's edit mode.