Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Event Calendar module and its RSS feed

Go to End

3 Posts   903 Views


Community Member, 7 Posts

6 March 2012 at 5:03am

I've installed the event calendar module (version 0.2) into a silverstripe 2.4.7 installation. But when I look at the calendar's RSS feed it contains characters that should not be there. What follows is the first part of the feed as displayed in firefox when I click the subscribe to rss link ... <p>Come and find local home made fashion, art, furniture and gifts at bargain prices in the Brixton Makers' Market in Brixton Station Road, SW9.<br/><br/>Brixton

You can see the RSS feed for yourself by going to and clicking on the "Subscribe to the Calendar" feed link.
It looks like something somewhere is getting confused in translating html tags for the feed. But how do I fix this problem?


Community Member, 7 Posts

9 March 2012 at 10:43pm

I've checked the rss stream with and it reports that the feed does not validate. The feed begins with a blank line, followed by the xml declaration <?xml version="1.0"?> in the second line. For the feed to validate, the xml declaration needs to be on the very first line of the file.

The &lt;p&gt; and similar strings that appear within the feed's <description> tag are the paragraph tags added by tinyMCE. The process that transforms a calendar event for the rss feed is replacing the paragraph tags, instead (presumably) of just removing them.

It looks as if I may have two problems here. First is that the template for the rss feed (?) issues a blank line at the head of the feed. The other problem is that the html markup in the page that is fed out to rss is not being treated correctly.

I've not used rss or calendar events before, so I'm a little lost here. I hope someone has some pointers for me!


Community Member, 7 Posts

18 March 2012 at 8:21pm

To answer my own question in case it helps someone else, the issue was that the event_calendar module (version 0.2) is not compatible with Silverstripe 2.4.7.

Using 2.4.6, there's no problem. With 2.4.6, the latest event_calendar module produces a well formed rss feed and well formed calendar event files OK.