Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1] 2   Go Down
Print
Author Topic: RSS Calendar 2  (Read 3323 times)
0 Members and 1 Guest are viewing this topic.
musicvid
New Member
*

Karma: 1
Offline Offline

Posts: 8


WWW
« on: December 24, 2006, 11:02:00 AM »

Updated: April 6, 2007
RSS Calendar 2 Template for Calendarscript
Download:
http://littletonmusic.org/RssCalendar2.zip          
Full Readme.txt:
http://littletonmusic.org/RssCalendar.txt          

INTRO:
This template (rsscalendar2.xml) will output valid RSS 2.0 feeds when called by calendar.pl
It 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 friendly
Works with multiple calendars using a single .xml template
Event view automatically sports your calendar's colors and name
Completely redesigned date/time scheme is very fast and fully RFC822 compliant
Passes day names (or abbreviations) to Event view
Passes 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).]

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: January 09, 2007, 05:14:00 PM »

In rsscalendar2.xml the line:

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.

------------------

Logged
musicvid
New Member
*

Karma: 1
Offline Offline

Posts: 8


WWW
« Reply #2 on: January 12, 2007, 03:19:00 PM »

Thanks for pointing it out.
I'll change it in the next pre-release.

------------------

Logged
samdal@c2i.net
Guest
« Reply #3 on: January 24, 2007, 12:07:00 PM »

I would be happy to download and try out your RSS-feeder, but I am not able to download the .zip-file...
Logged
musicvid
New Member
*

Karma: 1
Offline Offline

Posts: 8


WWW
« Reply #4 on: January 25, 2007, 07:47:00 PM »

   
quote:
I would be happy to download and try out your RSS-feeder, but I am not able to download the .zip-file...
Thanks for the heads-up, it looks like the server at shell.dimensional.com is down at present.

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).]

Logged
oas
New Member
*

Karma: 0
Offline Offline

Posts: 0

Telecom engineer


WWW
« Reply #5 on: January 26, 2007, 03:23:00 PM »

Thanks

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...

------------------

Logged
oas
New Member
*

Karma: 0
Offline Offline

Posts: 0

Telecom engineer


WWW
« Reply #6 on: January 26, 2007, 03:49:00 PM »

After the first try I have now adjusted it to fit even better to my information, which basically means translation to my native language which was quite easy, except for some datestring issues. The dates partly showing as they should in Norwegian and partly in English... It is the use of  strftime that causes my problem so I am considering incorporating my own datestring function, unless it is easy to connect to the datestrings I have defined inside CalendarScript (I will need a hint...)

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


------------------

Logged
musicvid
New Member
*

Karma: 1
Offline Offline

Posts: 8


WWW
« Reply #7 on: January 28, 2007, 11:39:00 AM »

A new testversion has been uploaded. Download links are the same.

Changelist (1-28-07):

  • Added language and 24/12 support in date/time functions (see above).
  • Made $BASE_DIR change per suggestion by DanO.
  • Refined a few link structures.
  • <guid> is now a link to originating calendar, default view.
  • Readme.txt is unchanged at this time.

------------------

[This message has been edited by musicvid (edited February 04, 2007).]

Logged
musicvid
New Member
*

Karma: 1
Offline Offline

Posts: 8


WWW
« Reply #8 on: February 21, 2007, 09:44:00 PM »

I have updated the files to support your native language Day Names and 24/12 Preference specified in your CalendarScript Admin.

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

------------------

Logged
musicvid
New Member
*

Karma: 1
Offline Offline

Posts: 8


WWW
« Reply #9 on: March 10, 2007, 05:56:00 PM »

RSS CALENDAR 2
RELEASE CANDIDATE 2.01 HAS BEEN UPLOADED
(Links are the same)

Changelist (03-10-2007):

  • Fixed undeclared curly quotes (MS Word)
  • Tidied up code (removed redundant asp-tags)

------------------

[This message has been edited by musicvid (edited March 10, 2007).]

Logged
musicvid
New Member
*

Karma: 1
Offline Offline

Posts: 8


WWW
« Reply #10 on: April 08, 2007, 04:54:00 PM »

RSS CALENDAR 2
RELEASE VERSION 2.02 HAS BEEN UPLOADED
(Links are the same)

Changelist (04-06-2007):

  • Added subs to clean up html in title and description
  • Cosmetic changes to event view template
  • Renamed event view template to rssevent2.html

Hope this method of creating valid RSS 2.0 feeds is of use to someone.

------------------

Logged
musicvid
New Member
*

Karma: 1
Offline Offline

Posts: 8


WWW
« Reply #11 on: June 07, 2007, 11:46:00 PM »

DanO,

Thanks for posting this on your much2.com !

------------------

Logged
The NEBB
New Member
*

Karma: 0
Offline Offline

Posts: 5


« Reply #12 on: September 30, 2007, 09:24:55 PM »

ok Help Please! 

i dl the rss cal 2 and edited the files and up loaded them to the templates default dir and no luck!  arrgh I really want this to work.   Do I have to chmod the 2 files or what is the problem? (what did i do wrong?)

here is what i edited:

#  REQUIRED FEED INFO
      my $orgurl     = 'hxxp: thenebb.   com/cgi-bin/calendar/calendar.   pl?calendar=default&template=rsscalendar2.   xml';
      my $orgname    = 'The NEBB Events Calendar';
      my $orgabbr    = ''; # OPTIONAL ABBREVIATION
      # IMAGE MUST BE NO MORE THAN 144px IN WIDTH
      my $imageurl   = 'hxxp: thenebb.   com/images/';
      # DEFAULT DURATION IN DAYS (BASIC MODE)
      my $duration   = '365';

here is the cal link
hxxp: thenebb.   com/cgi-bin/calendar/calendar.   pl

here is link to html and xml files
html = hxxp: thenebb.   com/cgi-bin/calendar/calendar.   pl?calendar=default&template=rssevent2.   html

xml = hxxp: thenebb.   com/cgi-bin/calendar/calendar.   pl?calendar=default&template=rsscalendar2.   xml

Please assist me with this function and thank you in advance!
« Last Edit: September 30, 2007, 09:32:11 PM by The NEBB » Logged
The NEBB
New Member
*

Karma: 0
Offline Offline

Posts: 5


« Reply #13 on: October 02, 2007, 06:10:52 PM »

can some assist me with this problem plz "tia"
Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #14 on: October 03, 2007, 01:43:50 AM »

** Do I have to chmod the 2 files **

No.

** what is the problem? **

Just from a quick cursory glance:

1. $imageurl does NOT look to be defined as the URL to an image as it appears to be asking for.

2. When I tried, it didn't look like your site was returning the proper headers for that template. Did you make the necessary changes to the calendar.pl file?

3. Also when I tried it, the script wasn't returning any events. Did you have the 'Search Link' plug-in installed and active?


I don't use that template myself so someone that does use it will have to try to offer suggestions if you have any further problems?


** up loaded them to the templates default dir and no luck! **

PS. You might want to give others a little better description of exactly what is or is not occurring. Just saying "no luck" doesn't give a lot of information for others to go on.

JMO

Dan O.

BTW. Your template looks like it is working now (2:45 AM ET)
Logged
Pages: [1] 2   Go Up
Print
Jump to: