juliocamarero/liferay-portal — pull request #998 by epgarcia (2012-12-26 12:26:16+00:00)
Title: LPS-31599 Blogs: RSS feed is not displaying abstract

I've added two portal properties to define the available display styles and the default display style for feeds, to make feed configuration more consistent.

All portlets, except for the Asset Publisher, had "full-content" as initial feed display style. Now all portlets (except for the Asset Publisher, which had "abstract") will use as initial feed display style the default feed display style set in portal.properties (which is "full-content" by default).

Unless a feed display style different from the default one is configured for the portlet, the feed URL will not contain any parameter for the display style. The Asset Publisher is again an exception, since the display style parameter is not retrieved from the URL, but from the portlet preferences of the corresponding portlet instance, so the display style is never a parameter of the feed URL for this portlet.

Apart from improving the consistency of the code, these changes solve the issue LPS-31599 and now changes in the feed display style configuration are reflected in the feed content.