brianchandotcom/liferay-plugins — pull request #891 by epgarcia (2012-09-06 15:40:23+00:00)
Title: LPS-29607 Disable RSS for Social Coding SVN Portlet

Hey Brian,

As you asked me for LPS-29607 I have kept html logic out of the SVNPortlet java class. I had to consider some issues:

- I used the serveResource method as in other portlets serving RSS feeds. Thus I had to check in init.jsp if renderResponse was null.
- The ResponseType must be set before the include. Actually it was not working properly so far and browser got an HTML/text response (check it with any SVN RSS of our profiles at liferay.com).
- We need the directive trimDirectiveWhitespaces in order to generate a valid XML with the jsp.