INTRO:This template (rsscalendar2.xml) will output valid RSS 2.0 feeds when called by calendar.plIt creates custom XML "on the fly," which means that multiple custom feeds can be generated from a single template.It works in two modes, Basic and Advanced Search mode.
TO USE:1) Near the top of rsscalendar2.xml find the text 'CHANGE TO MATCH YOUR INFORMATION' 2) Using a text editor, fill in the required information, and optional information if desired.3) Upload both 'rsscalendar2.xml' and 'rssevent.html' to your default template directory.
FEATURES (Both Modes):MetaCalendar friendlyWorks with multiple calendars using a single .xml templateEvent view automatically sports your calendar's colors and nameCompletely redesigned date/time scheme is very fast and fully RFC822 compliantPasses day names (or abbreviations) to Event viewPasses your contact information and time of last update One Event view template (rssevent.html) works with multiple .xml templates (just rename them)Best of all, it's free
WORKING EXAMPLES:Basic Mode: http://littletonmusic.org/cgi-bin/calendar/calendar.pl?calendar=default&template=rsscalendar2.xml Here is the formatted feed at feedburner.com http://feeds.feedburner.com/LcmaEventsCalendar Advanced Search Mode: http://littletonmusic.org/cgi-bin/calendar/calendar.pl?calendar=default&template=rsscalendar2.xml&command=search&FIELD_event_type=Ballroom+Dancing&duration=185 Here is the formatted feed at feedburner.com http://feeds.feedburner.com/LcmaBallroomEventsCalendar (Displays only 'Ballroom Dancing' events for the next 185 days).
I'll wait a month or so before sending a copy to DanO to allow time to work out any bugs or issues. Hope this will be of use to someone.
[This message has been edited by musicvid (edited April 08, 2007).]
my $feedcfg="calendarscript/calendars/$inkey/$cfg.txt";
will cause problems if the user has manually specified a $BASE_DIR in the calendar.pl file.
It should probably be changed to something like the following to work on varied installations:
my $feedcfg= $main::BASE_DIR."calendars/$inkey/$cfg.txt";
JFYI
Dan O.
------------------
quote:I would be happy to download and try out your RSS-feeder, but I am not able to download the .zip-file...
I have put up a fresh copy with latest revisions at http://littletonmusic.org/RssCalendar2.zip, updated the links above, and I'd also be happy to email you a copy if you'll email me at musicvid{at}gmail.com
Thanks.
[This message has been edited by musicvid (edited January 25, 2007).]
I have now downloaded the Zip-file, modified my informations, uploaded it to my server and it worked straight away!
The output was nice as well
I am only running it in basic mode with duration narrowed down to 7 days as I want it to show all my upcoming events.
I will now try to nationalise it...
For those who would like to see the result you will find it here: http://www.nskl.no/scgi-bin/kalender/kalender.cgi?calendar=Meta&template=rsscalendar2.xml&duration=7d
Changelist (1-28-07):
[This message has been edited by musicvid (edited February 04, 2007).]
Have you had a chance to test them yet? I am ready with a release version and will go with on March 1 unless I hear otherwise from you before then.
Thanks
Changelist (03-10-2007):
[This message has been edited by musicvid (edited March 10, 2007).]
Changelist (04-06-2007):
Hope this method of creating valid RSS 2.0 feeds is of use to someone.
Thanks for posting this on your much2.com !