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);
  • Dinosaur Days Series Thursday, October 30, 2014 Thursday, October 30th, 2014 from 3:45 pm - 5:00 pm at Museum of the Rockies

    Afterschool Program for children in grades K through 5. Thursdays, October 30 - November 20  Explore dinosaur paleontology with this afterschool series! Through engaging hands-on activities and the Museum's extensive paleontology resources, we'll learn: What's Really a Dinosaur (Oct. 30), Clash of the Titans (Nov. 6), Paleontology Procedures (Nov. 13), and Exhibit Design (Nov 20). Sign up for all or just your favorites! 

  • Harry Potter Halloween Ice Cream Social Friday, October 31, 2014 Friday, October 31st, 2014 from 1:00 pm - 3:00 pm at Renne Library, Main Lobby

    MSU Library and ASMSU will host a Harry Potter Halloween Ice Cream Social on Friday, October 31 from 1-3 p.m. in the library.

  • Downtown Trick or Treat Friday, October 31, 2014 Friday, October 31st, 2014 from 3:00 pm - 6:00 pm at Bozeman, MT

    Come trick or treat safely as downtown businesses welcome kids and families with candy and hot drinks!

  • Combust-A-Bowl Friday, October 31, 2014 From Friday, October 31st, 2014 8:00 pm to Sunday, November 2nd, 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!

  • Friends of MSU Library Benefit Dinner and Auction Saturday, November 1, 2014 Saturday, November 1st, 2014 from 6:00 pm - 9:30 pm at Renne Library

    The Friends of MSU Library will host their 21st annual Benefit Dinner and Auction on Saturday November 1 in the MSU Library. This year's event features speaker Walter Kirn, a New York Times bestselling author.



returnCalFeed(5,10,0,1);
  • Ecology Seminar Series Thursday, October 30, 3:30pm Thursday, October 30th, 2014 from 3:30 pm - 4:30 pm at Lewis Hall, 304

    Yvette Ortega, Ecologist, Rocky Mountain Research Station, U.S. Forest Service, will present "Linking invasive plants to bird song: an ecological basis for weed management and restoration" at 3:30 pm in 304 Lewis Hall.

  • Sociology lecture by George Tita Friday, October 31, 11:00am Friday, October 31st, 2014 at 11:00 am at Leon Johnson Hall, Room 346

    Dr. George Tita, Professor of Criminology and Law and SocietyUniversity of California-Irvine, will present "The Illegal Firearms/Ammunition Market in Los Angeles."

  • The Elise Event Saturday, November 1, 7:00pm Saturday, November 1st, 2014 from 7:00 pm - 10:30 pm at Black Box Theatre

    The Elise Event featuring A Midsummer Night's Dream and a hosted wine and hors d'oeuvres reception. Tickets are $40/person and can be reserved by calling 406.994.3111. All proceeds support Shakespeare in the Schools. 

  • MSU School of Music Faculty Concert Saturday, November 1, 7:30pm Saturday, November 1st, 2014 from 7:30 pm - 9:00 pm at Howard Hall, Reynolds Recital Hall

    Faculty live concert performance of Steve Reich's Music for Eighteen Musicians. The ensemble features 4 grand pianos, percussion, winds, strings and voice, but no conductor.   

  • MSU Band Concert "Classics" Sunday, November 2, 3:00pm Sunday, November 2nd, 2014 from 3:00 pm - 4:30 pm at Howard Hall, Reynolds Recital Hall

    The MSU Wind Symphony and University Band will present an afternoon concert featuring some of the best-known classic band compositions of all time. 

  • Excel Advanced class begins Monday, November 3, 5:30pm Monday, November 3rd, 2014 from 5:30 pm - 8:30 pm at Downtown Education Center

    This course is an opportunity for Excel power-users to tell us what more you want to know!

  • Health and Wealth Around the World Tuesday, November 4 From Tuesday, November 4th, 2014 to Wednesday, December 3rd, 2014 at Pilgrim Congregational Church

    This course will examine facts and issues in international economic development. 

  • University Graduate Council Wednesday, November 5, 8:00am Wednesday, November 5th, 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.

  • Mathematical Sciences Colloquium Series, Thaddeus Tarpey Wednesday, November 5, 4:10pm Wednesday, November 5th, 2014 at 4:10 pm at Strand Union Building, Procrastinator Theater

    Thaddeus Tarpey, Professor of Statistics in the Department of Mathematics and Statistics at Wright State University, will give a free public lecture about the use and usefulness of statistical models.

  • Shakespeare's Feisty Females Thursday, November 6 From Thursday, November 6th, 2014 to Friday, December 12th, 2014 at Hope Lutheran Church

    This class will seek to answer the question: Why have Shakespeare's female characters always held such appeal for actors and audiences alike?



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

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