Adding a Calendar Feed to a Website
To use a customized calendar feed please follow the steps below. You can download the scripts and modify them yourself or use existing scripts. All content and styles are customizable.
Note: If you decide to download scripts and modify them, please be aware that they are no longer supported by Technology Services.
- Create your customized Calendar XML Feed
You can choose to include On-Going Events that you can either embed in the list of single day events or place them at the end. You can also link to a customize view of the event detail or link to the VCU Events Calendar for the event detail.
*NEW IN VERSION 4*
You can filter your calendar feed to one or more specific RSS keywords. When creating events in the calendar, you can add RSS keywords (for more than one keyword, separate with a comma). You can then create separate feeds for each keyword or you can filter your feeds to only show events matching specific keywords.
- Copy the URL generated (don't worry about the text generated).
- If you chose the option (step 1) of a customied view of event details, then you will need to Create the Event Detail Page. (This page will show individual details of events.) This page needs to be named detail.html and located in the same directory as the list of events.
var query = window.location.search.substring(1);
var pair = query.split("=");
document.write("<scr" + "ipt language='JavaScr" + "ipt' type='text\/javascr" + "ipt' src='https://ts.vcu.edu/cgi-bin/cgiwrap/getcaldetail.pl?ID="+pair+"'><\/scr" + "ipt>");
Use the StyleGuide to format your list of Events and Details Page.
This article was updated: 09/26/2017