JorgeFerrer/liferay-portal — pull request #114 by epgarcia (2012-12-27 16:43:59+00:00)
Title: LPS-31599 Changes in the RSS feed display style configuration do not always have effect in the RSS feed 

I've added a portal property to define 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.

As an extra improvement, I have moved the display style definitions for Blogs to BlogsUtil, instead of using those in RSSUtil, because this was confusing.