Jasig/NewsReaderPortlet — pull request #7 by acolebourne (2013-04-12 16:29:26+00:00)
Title: Full story page

I've added support for a second page by adding a fullStory property to the NewsFeedItem.

In cases where the NewsFeedItem's link is null but where fullStory is populated, a link to the second (full story page) is generated.

I've done this without changing the adaptor API which means that full story must be fetched as part of the current adaptor call. Also this means that when viewing the full story effectively the full feed (including all full stories) is requested again. However as the feed is generally cached then the impact of this is low.

Changing the adaptor API didn't seem appropriate as it generally does not make sense to try to fetch anything less then the full feed in the case of RSS based feeds.

This enhancement allows me to introduce a JDBC based news adaptor implementation locally. In my use-case there is no "other" outlet for this content and therefore no where to link to.

NOTE: This will need a Jira before merging.