Calendar RSS Demo

Integrating Calendar RSS feeds on your website

Central Web Services has written a small PHP library to simplify adding calendar data to your websites. This script requires PHP, but can run on any site, whether hosted by CWS or not. Data is output by calling one or more php functions.

View the code or, to use it on your page, download the library, unzip it, and include it on your PHP page:

<?php require_once('calendar_rss.php'); ?>

The library has 2 basic views; a list view suitable for a News or Headlines section on a web page, and a mini-month view useful for linking back to the main OSU calendar site.

The views output simple HTML (a table, for the mini-month, a definition list for the list view) that can be styled via CSS. See the sample stylesheet for the classes that can be used for styling.

More control over the HTML output is possible; this requires a PHP installation that support XSLT (which includes all CWS hosted sites). See Advanced Formatting for a brief description.

A note on performance:
This library makes use of RSS caching when run on CWS hosted sites; for other sites, it might be a good idea to implement some type of caching. Parsing remote RSS feeds on the fly will noticeably slow down your web pages.

List View

The following list is dynamically generated to show the current week's events pulled from the main ('osu') calendar, using this code:

<?php echo minical_list('osu', 'today', 'week'); ?>

Monday, Oct 5th 2009

Savory Images

Oregon’s food and agriculture are celebrated in a traveling exhibit of award-winning photos on display September 1–30 at the Seafood Consumer Center, 2021 Marine Dr.

 

The “Savory Images” exhibit features images from the pages of the magazine Oregon’s Agricultural Progress, showcasing the bounty of Oregon agriculture.

 

“The exhibit is a reflection of the role Oregon State University’s research and people play in sustaining our state’s rich agricultural heritage,” according to Sonny Ramaswamy, dean of the OSU College of Agricultural Sciences.

 

Magazine editor Peg Herring said, “Food is the handshake between urban and rural communities. Our hope is that the exhibit, along with the special Food Issue of the magazine, will prompt conversations across Oregon about food as a necessary—and delightful— part of life.”

 

The show takes a year-long tour across the state with stops after Astoria in LaGrande, Oct. 5–30; the Food Innovation Center in Portland, Nov. 2–27; and Madras, Dec. 4–Jan. 4.

 

In 2010 the exhibit shows in Prineville, Jan. 4–29; Pendleton, Feb. 16–March 19; Klamath Falls, March 26–May 3; Central Point, May 3–28; The Dalles, June 1¬30; and Myrtle Point, July 5-30.

 

The exhibit is presented by OSU’s Extension and Experiment Station Communications and the College of Agricultural Sciences. Photos are by Lynn Ketchum, award-winning EESC photographer. Exhibit photos are online at: http://extension.oregonstate.edu/eesc/savoryimages/

Thursday, Oct 29th 2009

Fall Art Show

The art exhibit for Fall 2009 is here! Stop by the Women's Center to enjoy artist Jennifer Gimzewski's "Approach"

"The show is called Approach to underline the many aspects of what it means to be a painter. I approach my subject in an effort to understand what is essential about a woman. I approach each painting with curiosity and anticipation. The viewer approaches the work with an additional set of values and expectations. Our differing approaches afford a dialogue between viewer, canvas and artist."

                                                   - Jennifer Gimzewski

Sunday, Nov 1st 2009

AKA Annual Coat Drive

Support the ladies of the Sigma Delta Chapter of Alpha Kappa Alpha Sorority, Incorporated by donating your old clothing and winter coats! Donation bins are located in the Lonnie B. Harris Black Cultural Center and Intercultural Student Services. Clothing will be donated to the Vina Moses Center which provides Free clothing for the needy.

Monday, Nov 2nd 2009

Savory Images

Oregon’s food and agriculture are celebrated in a traveling exhibit of award-winning photos on display September 1–30 at the Seafood Consumer Center, 2021 Marine Dr.

 

The “Savory Images” exhibit features images from the pages of the magazine Oregon’s Agricultural Progress, showcasing the bounty of Oregon agriculture.

 

“The exhibit is a reflection of the role Oregon State University’s research and people play in sustaining our state’s rich agricultural heritage,” according to Sonny Ramaswamy, dean of the OSU College of Agricultural Sciences.

 

Magazine editor Peg Herring said, “Food is the handshake between urban and rural communities. Our hope is that the exhibit, along with the special Food Issue of the magazine, will prompt conversations across Oregon about food as a necessary—and delightful— part of life.”

 

The show takes a year-long tour across the state with stops after Astoria in LaGrande, Oct. 5–30; the Food Innovation Center in Portland, Nov. 2–27; and Madras, Dec. 4–Jan. 4.

 

In 2010 the exhibit shows in Prineville, Jan. 4–29; Pendleton, Feb. 16–March 19; Klamath Falls, March 26–May 3; Central Point, May 3–28; The Dalles, June 1¬30; and Myrtle Point, July 5-30.

 

The exhibit is presented by OSU’s Extension and Experiment Station Communications and the College of Agricultural Sciences. Photos are by Lynn Ketchum, award-winning EESC photographer. Exhibit photos are online at: http://extension.oregonstate.edu/eesc/savoryimages/

Handmade in Oregon VI

Beautifully executed Fine Art, Pottery, Mixed Media Collage, Glass, Fine Woodworking and Photography are on display through December 5th. Exhibiting artists include:

Alcyon Archambault, Neil Austin,Ted Ernst, Curly Finster, Joyce Finster, Barbara Forrest, Al Frank, Chris Giffin, Victor Guschov, Sandra Houtman and Ron Wolf.

An opportunity to meet the artists and see more of their work will be available at the 29th Annual Holiday Marketplace, a 50+ vendor craft fair scheduled Dec. 4 & 5 in the Memorial Union Ballroom, from 10am-6pm.

Sunday, Nov 15th 2009

Winter term 2010 priority registration: Phase 1

Saturday, Nov 21st 2009

Men's Ultimate Disc
http://oregonstate.edu/groups/disc
Women's Ultimate Disc

Sunday, Nov 22nd 2009

Photographs from the Last Thirty Years
No Tours Available
Unfortunately we do not offer tours on the weekend. Although offices are not open, feel free to walk around our beautiful park-like campus
Women's Lacrosse
http://www.oregonstate.edu/groups/lacrosse
Corvallis-OSU Symphony Orchestra

Performing works of tsarist Russia and the 10th Symphony of Dmitri Shostakovich.

Tickets available at: Grass Roots Books & Music,
Gracewinds Music, Beard’s Framing, Sid Stevens
Jewelers. www.cosusymphony.org

Pistol Club
If it is your first visit to Pistol Club this academic year, please bring $5 for the mandatory orientation and safety training and your OSU ID. Orientation and Safety training begins at 6:00PM (note there is a limit of 8 trainees per night). For trained club members, the range generally opens about 7:00PM. We are located on the south-east corner of McAlexander Fieldhouse. We hang a sign that is visible when walking from the north past Kerr Admin. Please visit our website for important information about Pistol Club: http://oregonstate.edu/groups/pistol/

Monday, Nov 23rd 2009

Photographs from the Last Thirty Years
Dad's weekend

free parking for dad's on Friday.

Stream Team Seminars
Campus Tours
Hour long, student led tours are offered each hour starting at 10 am and the last tour leaves at 3 pm. The Campus Visitor Center can also set up appointments with academic departments and admissions counselors. We do ask for at least a week's notice to arrange these appointments. To register for a personalized campus visit: http://oregonstate.edu/visitosu/campus_visit_registration.php Individuals can also drop in for a campus tour without registering in advance.
Free Yearbook Portraits

The Beaver Yearbook is continuing with tradition and will be offering free portraits for students. We take all portraits using our own studio, making it pain free and fast. Stop by with you friends, it will only take about 5 minutes and you'll be apart of school history!

 

Fall Schedule:

Monday, Wednesday, and Friday: 11:00am - 3:00pm -or- by appointment

Where:

Yearbook Office

231 MU East Snell Hall

 

Across from the Valley Library. Look for the signs or take the stairs/elevator to the second floor. Our office is to the right, directly outside of the stairs and elevator

http://www.oregonstate.edu/groups/yearbook

Move It Monday with Beaver Strides
Join other students, faculty and staff for group walks around campus and the surrounding neighborhoods during the lunch hour. We meet at 12:00 p.m. each Monday at Student Health Services (Plageman Building) near the east entrance and walk for approximately 45 minutes. We walk rain or shine, so bring an umbrella or rain coat if it’s wet outside!
First Steps

First Steps are walk-in meetings led by students who have interned and studied abroad. Students are welcome to drop by and learn more about study abroad, international internships, the International Degree, scholarships, applications, and more.

Visit the IDEA Web site to learn more about study, internships, and research abroad.

Move It Mondays

Move It Mondays is a weekly group walking program during the lunch hour sponsored by Beaver Strides, OSU’s pedometer based walking wellness program.  Both Beaver Strides and Move It Mondays are open to students, faculty and staff.

We meet at the east entrance of Plageman Hall, Student Health Services, under the red awning at 12:00pm and walk for 45 minutes on various routes near campus.  The walk will occur weekly rain or shine so bring comfortable shoes and an umbrella or rain gear if needed. Feel free to bring a friend, a colleague, a student, or advisee and use the time as a “walking meeting.”  If you are participating in the Beaver Strides program this is a great way to increase your weekly step count and have some time during the day dedicated to walking!
MUVIES Whats Cooking?
Student Events and Activities Center and the Memorial Union present MUVIES-Whats Cooking
Incorporating Correlation for Multivariate Failure Time Data When Cluster Size Is Large

We propose a new estimation method for multivariate failure time data using the quadratic inference function (QIF) approach. The proposed method efficiently incorporates within-cluster correlations. Therefore it is more efficient than those which ignore within-cluster correlation. Furthermore, the proposed method is easy to implement. Unlike the weighted estimating equations in Cai and Prentice (1995), it is not necessary to explicitly estimate the correlation parameters. This simplification is particularly useful in analyzing data with large cluster size where it is difficult to estimate intracluster correlation. Under certain regularity conditions, we show the consistency and asymptotic normality of the proposed QIF estimators. A Chi-squared test is also developed for hypothesis testing. We conduct extensive Monte Carlo simulation studies to assess the finite sample performance of the proposed methods. We also illustrate the proposed methods by analyzing a primary biliary cirrhosis (PBC) data.

 Author: Xue, L., Wang, L. and Qu, A.  
First Steps

First Steps are walk-in meetings led by students who have interned and studied abroad. Students are welcome to drop by and learn more about study abroad, international internships, the International Degree, scholarships, applications, and more.

Visit the IDEA Web site to learn more about study, internships, and research abroad.

CPR/AED for the Professional Rescuer

For the first responder or health care provider.  Teaches a variety of skills including adult, child and infant CPR, one and two rescuer CPR, resuscitation and bag-valve masks, response in special resuscitation situations and use of an AED. Continues November 24th.

Pre-Kwanzaa Celebration
Presented by the Lonnie B. Harris Cultural Center
Ratatouille

The family-friendly animated feature Ratatouille is the story of Remy, a rat who dreams of becoming a chef, and his unlikely friendship with Linguini, a clumsy human. Together these two prove that just as Remy’s hero, Auguste Gusteau, says, “Anyone can cook.”  

Donations accepted. Suggested donations include nonperishable food items, personal hygiene items, and monetary donations. (Checks can be made to the OSU Food Group, Memo Line: OSU Emergency Food Pantry.) All donations will help stock the shelves of the OSU Emergency Food Pantry.

Sponsored by the Oregon Food Group, Horning Endowment in the Humanites, Corvallis Enviromental Center, and Ten Rivers Food Web.

Tuesday, Nov 24th 2009

Photographs from the Last Thirty Years
Campus Tours
Hour long, student led tours are offered each hour starting at 10 am and the last tour leaves at 3 pm. The Campus Visitor Center can also set up appointments with academic departments and admissions counselors. We do ask for at least a week's notice to arrange these appointments. To register for a personalized campus visit: http://oregonstate.edu/visitosu/campus_visit_registration.php Individuals can also drop in for a campus tour without registering in advance.
First Steps

First Steps are walk-in meetings led by students who have interned and studied abroad. Students are welcome to drop by and learn more about study abroad, international internships, the International Degree, scholarships, applications, and more.

Visit the IDEA Web site to learn more about study, internships, and research abroad.

Afghanistan Engineering

Col. Thomas O'Donovan, MSCE (UW), PE

 

Col. O'Donovan was directly responsible for construction for US Forces for all Central Asia and for all facility construction and operations and maintenance for the Afghan National Security Forces (Afghan National Police and Afghan National Army). 

Anyone interested in how the US Army Corps of Engineers has been rebuilding the infrastructure of Afghanistan should attend. 

Free pizza.

______

Sponsored by

Dept of Military Science, Army ROTC
Society of American Military Engineers

Molly-Carrington
MUVIES Whats Cooking?
Student Events and Activities Center and the Memorial Union present MUVIES-Whats Cooking
First Steps

First Steps are walk-in meetings led by students who have interned and studied abroad. Students are welcome to drop by and learn more about study abroad, international internships, the International Degree, scholarships, applications, and more.

Visit the IDEA Web site to learn more about study, internships, and research abroad.

Heat Budget in the Hyporheic Zone on the Willamette River -- Implications for Aquatic Habitat
Speaker: Stephen Lancaster, Associate Professor, Dept. of Geosciences, OSU
"Can permaculture feed the world?"
Part of the Horticulture fall term seminar series.
MUVIES Whats Cooking?
Student Events and Activities Center and the Memorial Union present MUVIES-Whats Cooking
Sources and Uses of Capital

Guest speaker: Nick Fowler 

Mr. Fowler is a seasoned “intrapreneur”, entrepreneur and investor. He is owner/principal of Orion Ventures, LLC., his personal angel investment fund; CEO of Perpetua Power Source Technologies, Inc., a developer of renewable energy solutions for wireless sensors; CEO of Advanced Material Recovery, LLC., an innovator in recycling and efficiencies for energy production; Executive Chairman of ZAPS Technologies, Inc., maker of high precision optical instrumentation for the monitoring of fluids; and fund manager for two angel investment groups.

 

Take advantage of the Austin Entrepreneurship Program’s Building Your Business Plan Series to meet local experts. Also, learn from them best practices for preparing your ideas and projects for submission to The Enterprise Challenge, the OSU business plan competition to be held April 16, 2010.

Building Your Business Plan Series


 

Speaker is Nick Fowler of Orion Ventures, LLC

 

Use the Austin Entrepreneurship Program’s Building Your Business Plan Series to meet local experts and learn from them best practices for preparing your ideas and projects for submission to The Enterprise Challenge, the OSU business plan competition to be held April 16, 2010 where the prize money totals $17,500.*  This is open to all students. Faculty and staff who are interested in this topic are also welcome.

 

* Please see NEC guidelines at http://www.bus.oregonstate.edu/programs/challenge.htm

Pistol Club
If it is your first visit to Pistol Club this academic year, please bring $5 for the mandatory orientation and safety training and your OSU ID. Orientation and Safety training begins at 6:00PM (note there is a limit of 8 trainees per night). For trained club members, the range generally opens about 7:00PM. We are located on the south-east corner of McAlexander Fieldhouse. We hang a sign that is visible when walking from the north past Kerr Admin. Please visit our website for important information about Pistol Club: http://oregonstate.edu/groups/pistol/
MUVIES Whats Cooking?
Student Events and Activities Center and the Memorial Union present MUVIES-Whats Cooking

Wednesday, Nov 25th 2009

Tae Kwon Do Club
Photographs from the Last Thirty Years
Campus Tours
Hour long, student led tours are offered each hour starting at 10 am and the last tour leaves at 3 pm. The Campus Visitor Center can also set up appointments with academic departments and admissions counselors. We do ask for at least a week's notice to arrange these appointments. To register for a personalized campus visit: http://oregonstate.edu/visitosu/campus_visit_registration.php Individuals can also drop in for a campus tour without registering in advance.
Free Yearbook Portraits

The Beaver Yearbook is continuing with tradition and will be offering free portraits for students. We take all portraits using our own studio, making it pain free and fast. Stop by with you friends, it will only take about 5 minutes and you'll be apart of school history!

 

Fall Schedule:

Monday, Wednesday, and Friday: 11:00am - 3:00pm -or- by appointment

Where:

Yearbook Office

231 MU East Snell Hall

 

Across from the Valley Library. Look for the signs or take the stairs/elevator to the second floor. Our office is to the right, directly outside of the stairs and elevator

http://www.oregonstate.edu/groups/yearbook

Brown Bag Lunch
First Steps

First Steps are walk-in meetings led by students who have interned and studied abroad. Students are welcome to drop by and learn more about study abroad, international internships, the International Degree, scholarships, applications, and more.

Visit the IDEA Web site to learn more about study, internships, and research abroad.

MUVIES Whats Cooking?
Student Events and Activities Center and the Memorial Union present MUVIES-Whats Cooking
First Steps

First Steps are walk-in meetings led by students who have interned and studied abroad. Students are welcome to drop by and learn more about study abroad, international internships, the International Degree, scholarships, applications, and more.

Visit the IDEA Web site to learn more about study, internships, and research abroad.

Thursday, Nov 26th 2009

Photographs from the Last Thirty Years
No Tours Available
Unfortunately we do not offer tours during the holidays. Although offices are not open, feel free to walk around our beautiful park-like campus
First Steps

First Steps are walk-in meetings led by students who have interned and studied abroad. Students are welcome to drop by and learn more about study abroad, international internships, the International Degree, scholarships, applications, and more.

Visit the IDEA Web site to learn more about study, internships, and research abroad.

First Steps

First Steps are walk-in meetings led by students who have interned and studied abroad. Students are welcome to drop by and learn more about study abroad, international internships, the International Degree, scholarships, applications, and more.

Visit the IDEA Web site to learn more about study, internships, and research abroad.

Arnold- Thanksgiving Dinner

Join friends at Arnold Dining for a traditional American Thanksgiving Dinner Buffet with football and a turkey dinner with all the trimmings. 

Advance Tickets Required to ensure we set enough tables.  For sale at EBGB's, Main Squeeze, Cascadia Market & Arnold Bistro. - $7.00

Limited number of tickets/seats available at the door.

Friday, Nov 27th 2009

Photographs from the Last Thirty Years
No Tours Available
Unfortunately we do not offer tours during the holidays. Although offices are not open, feel free to walk around our beautiful park-like campus
Free Yearbook Portraits

The Beaver Yearbook is continuing with tradition and will be offering free portraits for students. We take all portraits using our own studio, making it pain free and fast. Stop by with you friends, it will only take about 5 minutes and you'll be apart of school history!

 

Fall Schedule:

Monday, Wednesday, and Friday: 11:00am - 3:00pm -or- by appointment

Where:

Yearbook Office

231 MU East Snell Hall

 

Across from the Valley Library. Look for the signs or take the stairs/elevator to the second floor. Our office is to the right, directly outside of the stairs and elevator

http://www.oregonstate.edu/groups/yearbook

OSU Chalk Talk - Civil War

Portland Beaver Fans

Have lunch and hear from OSU Head Football Coach, Mike Riley.

Doors open at 11:15 am and the program starts at 12 noon.

To make your reservations, please leave a message with all names that will attend at the Reservations Hotline at 503.553.3444.

First Steps

First Steps are walk-in meetings led by students who have interned and studied abroad. Students are welcome to drop by and learn more about study abroad, international internships, the International Degree, scholarships, applications, and more.

Visit the IDEA Web site to learn more about study, internships, and research abroad.

First Steps

First Steps are walk-in meetings led by students who have interned and studied abroad. Students are welcome to drop by and learn more about study abroad, international internships, the International Degree, scholarships, applications, and more.

Visit the IDEA Web site to learn more about study, internships, and research abroad.

Saturday, Nov 28th 2009

Photographs from the Last Thirty Years
Judo Club
http://oregonstate.edu/groups/judo/
No Tours Available
Unfortunately we do not offer tours on the weekend. Although offices are not open, feel free to walk around our beautiful park-like campus

'today' could also be a date ('20060425'), or include an offset ('today+6', '20060401+13')

'week' could also be one of 'day' or 'month'

The easiest way to show the current month's events would be:

<?php echo minical_list('osu', 'today', 'month'); ?>

Minimonth

The minicalendar below is dynamically generated, but uses the 'month' interval instead.

<?php echo minical_month('osu','today','month'); ?>

OSU Events Calendar
November 2009
SMTWTFS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          

The minical_month() function accepts the same parameters as minical_list().

For an example of how to style the minimonth, see the minimonth.css stylesheet.

If you don't need feedback about current events on the calendar, it's much faster to build the minicalendar without any event data:

<?php echo minical_empty_month('osu','today','month'); ?>

November 2009
SMTWTFS
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30          

Advanced Formatting

If the default HTML markup isn't good enough (perhaps you want to show some additional RSS fields, or integrate the calendar data into an page structure), you can control the layout completely by writing an XSL template. Put the XSL template in a file, and pass it into the minical_month function:

<?php echo minical_month('osu','today','week','month_stylesheet.xsl'); ?>

Using the minical_month function, an XSL stylesheet, and any combination of date and range, you can produce your own month, a differently formatted list, or anything else.

A sample XSL stylesheet, for producing a minimonth. Writing XSL is far beyond this page; you should be familiar with XML basics before trying. A web search for XSL tutorial should turn up some useful information.