Many of you have inquired about the RSS & XML feeds in the calendar in hopes of incorporating the events on the calendar into certain portions of your website. If you are unfamiliar with RSS feeds and how they are used you can read up on them at Wikipedia here or watch a simple video on Youtube about them here.
Tandem provides event information in RSS and XML feeds. As changes occur on the calendar the RSS and XML feeds immediately reflect those changes and any reader actively reading the feed will be updated. If you filter the calendar and then hit the RSS icon on the calendar view, only events that apply to the filters you set will show in the feed. Also, Almost all of the objects in the system have RSS and XML feeds associated with them. Go to the details page of any school, group, or facility and you will find RSS and XML links. Any user can subscribe to these RSS feeds off of your calendar and be updated about current events at your school.
So if you are new to RSS and/or XML feeds you might be wondering how to leverage this information on your own website. There are many RSS feed readers available that you can use to pull event information from the calendar directly onto a page of your website. If you are using a Sharepoint environment to host your website there are already webparts available to read and display RSS and even XML information. Talk to your website guru and share this and the following information with him.
Keep in mind that because there is no way for us to verify login information on an RSS or XML feed, only public events are shown in them.
Here are some additional parameters that can be added to any RSS or XML feed to further tweak the list of events it returns.
Here is an example RSS feed off our demo calendar.
If no options are passed will only retrieve the next 30 events on the calendar from the specified date.
To get an XML feed instead of a RSS one - change '&action=rss' in the URL to '&action=xml' - example: http://demo.tandem.co/index.php?type=export&action=xml
Options that can be passed into the RSS/XML exporter and appropriate values are:
date_start – expects either a date in yyyy-mm-dd format or no_start. (no_start will retrieve events from the earliest date)
date_end – expects either a date in yyyy-mm-dd format or no_end. (no_end will retrieve events until the latest date)
limit – expects an integer or none. (none will retrieve all events between given dates, if limit is not specified it defaults to 30)
get_key_dates – expects ‘f’. (if this parameter is not specified key dates will be included in the feed by default)
get_events – expects ‘f’. (if this parameter is not specified normal events will be included in the feed by default)
only_recently_updated – expects ‘t’. (only retrieve events added or updated in the past 48 hours)
Add the following options to your URL to further customize your RSS or XML feed.
By School - '&schools=[school id]'
By Group - '&groups=[group id]'
By Facility - '&facilities=[facility id]'
By Other Location - '&facilities=[other location id]'
By Department - '&departments=[department id]'
By Activity - '&activities=[activity id]'
By Event Type - '&event_types=[event type id]'
To filter by multiple of one type - just add all the IDs separated by commas. For example - filtering by multiple schools: '&schools=1,2,3,4'
Excludes are setup just like Filters.
By School - '&ex_schools=[school id]'
By Group - '&ex_groups=[group id]'
By Facility - '&ex_facilities=[facility id]'
By Other Location - '&ex_facilities=[other location id]'
By Department - '&ex_departments=[department id]'
By Activity - '&ex_activities=[activity id]'
By Event Type - '&ex_event_types=[event type id]'
XML extra fields:
In XML feeds you can specify additional fields to be included. To do so add '&extra_fields=' to your XML feed URL and include one or more of the following field separated by commas:
If you wanted to get an XML feed that had both the group and location names included you would add '&extra_fields=group_name,location_name' to your XML feed URL.
See just how easy it is to get Tandem on your organization's website.
1 post • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 0 guests