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);
  • Nosferatu and Night of the Living Dead Screenings: Open Access Week Wednesday, October 22, 2014 Wednesday, October 22nd, 2014 at 7:00 pm at Strand Union Building, Procrastinator Theater

    The MSU Library will celebrate Open Access Week by screening Nosferatu and Night of the Living Dead at 7 p.m. on Wednesday, October 22 in the Procrastinator Theater. 

  • In the Shadow of Story Mill Thursday, October 23, 2014 Thursday, October 23rd, 2014 from 6:00 pm - 7:00 pm at Museum of the Rockies, Hager Auditorium

    MOR is pleased to host the Extreme History Project lecture series that encourages public understanding of the way our history has shaped our present. Speakers will take a fresh look at intriguing historical topics. Visit museumoftherockies.org for full lecture descriptions.  Anthropoetics, presenter Lisa Simon

  • "The Language Archive" by Julia Cho Thursday, October 23, 2014 Thursday, October 23rd, 2014 at 7:30 pm at Black Box Theatre

    Julia Cho's "The Language Archive" tells the story of George, a linguist who studies dying languages, and his own failed attempts at communicating with those closest to him.

  • "The Language Archive" by Julia Cho Friday, October 24, 2014 Friday, October 24th, 2014 at 7:30 pm at Black Box Theatre

    Julia Cho's "The Language Archive" tells the story of George, a linguist who studies dying languages, and his own failed attempts at communicating with those closest to him.

  • Combust-A-Bowl Friday, October 24, 2014 From Friday, October 24th, 2014 8:00 pm to Sunday, October 26th, 2014 12:00 am at Strand Union Building, Rec. Center

    Every Friday and Saturday night come enjoy bowling under the black lights, for just an hourly price of $7 enjoy all the games you can! Come relax and have fun and enjoy music with your friends at a safe place on campus!



returnCalFeed(5,10,0,1);
  • University Graduate Council Wednesday, October 22, 8:00am Wednesday, October 22nd, 2014 from 8:00 am - 9:30 am at Animal Biosciences Building, 138

    The University Graduate Council will meet in Animal Biosciences Building Rm 138 from 8:00 to 9:30 a.m.

  • Sun Power! The Past, Present, and Future of Solar Energy Wednesday, October 22, 2:30pm From Wednesday, October 22nd, 2014 2:30 pm to Wednesday, November 19th, 2014 4:30 pm at Hope Lutheran Church

    This course will encompass the basic science, applications, economics, and policies of solar energy principles and technologies.

  • Ecology Seminar Series Thursday, October 23, 3:30pm Thursday, October 23rd, 2014 from 3:30 pm - 4:30 pm at Lewis Hall, 304

    Jon Swenson, Professor, Department of Ecology and Natural Resource Management, Norwegian University of Life Sciences, will present "Fear in the Woods: Human - Brown Bear Encounters in Scandinavia" at 3:30 pm in 304 Lewis Hall.

  • "The Language Archive" by Julia Cho Thursday, October 23, 7:30pm Thursday, October 23rd, 2014 at 7:30 pm at Black Box Theatre

    Julia Cho's "The Language Archive" tells the story of George, a linguist who studies dying languages, and his own failed attempts at communicating with those closest to him.

  • "The Language Archive" by Julia Cho Friday, October 24, 7:30pm Friday, October 24th, 2014 at 7:30 pm at Black Box Theatre

    Julia Cho's "The Language Archive" tells the story of George, a linguist who studies dying languages, and his own failed attempts at communicating with those closest to him.

  • "The Language Archive" by Julia Cho Saturday, October 25, 7:30pm Saturday, October 25th, 2014 at 7:30 pm at Black Box Theatre

    Julia Cho's "The Language Archive" tells the story of George, a linguist who studies dying languages, and his own failed attempts at communicating with those closest to him.

  • Concert of the International Alliance for Women in Music Sunday, October 26, 3:00pm Sunday, October 26th, 2014 from 3:00 pm - 4:30 pm at Howard Hall, Reynolds Recital Hall

    The International Alliance for Women in Music and the MSU School of Music will present the 2014 IAWM Annual Concert, including works by and about women. 

  • Photoshop Basics class begins Monday, October 27, 9:00am Monday, October 27th, 2014 from 9:00 am - 12:00 pm at Downtown Education Center

    A five-session hands-on Photoshop class begins Monday, Oct. 27 through Extended University.

  • Food Day, Sponsored by the Montana Student Dietetics Association Monday, October 27, 10:00am Monday, October 27th, 2014 from 10:00 am - 2:00 pm at Strand Union Building, Ballroom B, C, & D

    Food Day is a fun event celebrating healthy, local food using fun and interactive booths on a variety of topics. Come learn about real food, meet local producers and sample some delicious, healthy recipes at the same time!

  • Museums and Native American Studies Monday, October 27, 3:00pm Monday, October 27th, 2014 from 3:00 pm - 5:00 pm at Bozeman, MT

    This presentation will introduce Native American Studies as a genre and explore its multi-faceted applications as they relate to contemporary events, especially museums.  



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

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