10704 Posts in 2386 Topics by 1763 members
|Go to End|
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 ...
http://bmtf.org.uk/calendar/ http://bmtf.org.uk/calendar/brixton-makers-market/view/2012-03-10 <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 bmtf.org.uk/calendar 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?
9 March 2012 at 10:43pm
I've checked the rss stream with http://feedvalidator.org 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 <p> 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!
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.
|Go to Top|