Calendar Feed Example

Your page must have a .php (not .html) extension in order to use a calendar feed.

Above doctype, please include:

<?php require_once('/export/home/ocpa/public_html/msucommon/scriptsv2/cal/simplefeed.php'); ?>

Calling the function

Call the function within your code in the same place your events should be output.

<?php returnCalFeed(calendarID,numberEvents,fullDate,desciption,nullmsg) ?>
Example: <?php returnCalFeed(5,10,0,1,1) ?>


5 = calendar feed ID
10 = maximum number of events (limit 10)
0 = simple date with time / 1 = full date, no time
1 = description enabled / 0 = no description
1 = null message enabled / 0 = null message disabled (If there are no events to display it will display "No events at this time")

Additionally, the module can be completely styled with CSS

 

Examples



returnCalFeed(7,5);


returnCalFeed(7);


returnCalFeed(7,5,1,0);


returnCalFeed(7,5,1,1);
  • Season of Light Tuesday, December 2, 2014 From Tuesday, December 2nd, 2014 10:00 am to Thursday, January 1st, 2015 12:00 am at Museum of the Rockies, Taylor Planetarium

    A Taylor Planetarium original production, now re-mastered for Digistar 5! We re-mastered our holiday classic for the new digital format last year. If you haven't seen this show in a few years make sure to check out its all-new look! Learn about the many holiday customs that make the winter more festive. Yule logs, Christmas trees, the Hanukkah Menorah, luminaries, Santa Claus - all were taken from different cultures to fill the dark months of the year with more light.   

  • University Chorus, University Band and Brass Choir Concert Wednesday, December 3, 2014 Wednesday, December 3rd, 2014 from 7:30 pm - 9:00 pm at Howard Hall, Reynolds Recital Hall

    Concert and Holiday selections performed by the University Chorus, University Band and Brass Choir

  • One Woman, One Vote Film Screening Thursday, December 4, 2014 Thursday, December 4th, 2014 from 6:00 pm - 8:00 pm at Museum of the Rockies, Hager Auditorium

    Join Museum of the Rockies for a film screening of the PBS Experience documentary One Woman, One Vote, followed by a panel discussion about the film and Women's Suffrage. 

  • Madrigal Dinner Thursday, December 4, 2014 Thursday, December 4th, 2014 at 6:30 pm at Big Sky, MT, Buck's T-4

    The MSU School of Music production, in its 49th year, transports contemporary guests to a Renaissance feast with a gourmet twist.  Knaves and wenches perform traditional carols sung for centuries during the twelve days of Christmas. The dinner will also be held at Bucks T-4 in Big Sky on Thursday, December 4th. Tickets for that performance may be purchased by calling the Big Sky Association for the Arts, 995-2742.

  • The Junior One-Acts Thursday, December 4, 2014 Thursday, December 4th, 2014 from 7:30 pm - 8:30 pm at Black Box Theatre

    Six short plays produced by MSU students.



returnCalFeed(5,10,0,1);


returnCalFeed(94,10,0,1,0);

returnCalFeed(94,10,0,1);
  • No events at this time