Table of Contents |
---|
NewsReader adapters
RomeAdapter
This is the most widely-used feed adapter and is the only one currently available. The adaptor reads standard RSS and ATOM feeds available online via http or https. This adapter caches requests by URL. The feed uses Apache's HttpClient to access the HTTP service and has some configurable values for timeouts, with defaults set in the code so they are typically not needing changing. The bean definition allows a configurable feed processor and cache.
...
titlePolicy | Location of the AntiSamy policy file. File string includes a path starting at the application context; e.g. /WEB-INF/antisamy/antisamy-manchester.xml |
descriptionPolicy | Location of the AntiSamy description policy file. File string includes a path starting at the application context; e.g. /WEB-INF/antisamy/antisamy-manchester-descr.xml |
Create your Own
Create a class implementing org.jasig.portlet.newsreader.adapter.INewsAdapter.