Jump to:

10931 Posts in 2614 Topics by 1810 members

All other Modules

SilverStripe Forums » All other Modules » Event Calendar module and its RSS feed

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 462 Views
  • BrixtonBoy
    Avatar
    Community Member
    7 Posts

    Event Calendar module and its RSS feed Link to this post

    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?

  • BrixtonBoy
    Avatar
    Community Member
    7 Posts

    Re: Event Calendar module and its RSS feed Link to this post

    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 &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!

  • BrixtonBoy
    Avatar
    Community Member
    7 Posts

    Re: Event Calendar module and its RSS feed Link to this post

    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.

    462 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.