Calendar Feed
Data Attributes
data-type- calendar (specifies news processor)data-url- url of page to grab calendar fromdata-noimage- comma-delimited image urls to replace missing images from news posts / featured image (widest in post). If multiple images are supplied one will be selected at randomdata-featured-width- specify the minimum width for the featured image. If no content images are suitable it will default to images specified in data-noimagedata-categories- querying the feed keywords only pull categories specified (comma delimited - if your tag has a comma in it please escape it with a backslash \,)data-categories-logic- handle multiple categories with logic OR or AND (default OR)data-ignore-categories- do not include the specified categories in the return (comma delimited - if your tag has a comma in it please escape it with a backslash \,)data-start- pull events after this start date (use string value dates described hereLink opens in a new window)data-end- pull events before this end date (use string value dates described hereLink opens in a new window)data-order- any template variable below ASC / DESC (ASC default)data-limit- limit the number of resultsdata-local-href- allow the {href} template variable to link to the calendar page (false default)data-schedule-update- force an update of the page (comma delimited - use string value dates described hereLink opens in a new window, preferably in the format 1:30am)
Content Variables
Variables placed at the start of a new paragraph in eventsbuilder that influence the behaviour of specific posts (options are all comma delimited). Usage:
variable: option1,option2
categories- keywordskeywords- keywordstags- keywordsauthors- usernamesrelated- urlstitle- overwrite page title
Template Variables
{sitebuilderID}- id of the individual event in sitebuilder (in calendars this is unique for each repeated event){sitebuilderItem}- common id of the event in sitebuilder (in calendars this is common across repeated events){sitebuilderEdit}- url to edit the item{sitebuilderDelete}- url to delete the item{title}- title of news post{titleNormalised}- convert accents and other special chars to their basic equivalent{categories}- comma delimited categories{classes}- space delimited lowercase categories (useful for classes){start}- start date in default style i.e. Friday 6 Jun 2014{startTS}- start date millsecond timestamp{startTime}- time styled g:ia (5:16pm){startDay}- day styled D (Mon through Sun){startDate}- date styled d (01 to 31){startMonth}- month styled M (Jan through Dec){startYear}- year styled Y (4 digits - 2015){end}- start date in default style i.e. Friday 6 Jun 2014{endTS}- start date millsecond timestamp{endTime}- time styled g:ia (5:16pm){endDay}- day styled D (Mon through Sun){endDate}- date styled d (01 to 31){endMonth}- month styled M (Jan through Dec){endYear}- year styled Y (4 digits - 2015){eventTime}- show the time of the event. If a single day (g:ia - g:ia), if multiple (g:ia, 1 day 10 hours){publicationDate}- publication date in default style i.e. Friday 6 Jun 2014{publicationDateTS}- publication date millsecond timestamp{lastUpdated}- last updated date in default style i.e. Friday 6 Jun 2014{lastUpdatedTS}- last updated date millsecond timestamp{image}- image src for the post, if empty can have default applied to attribute data-noimage{featuredImage}- widest image in the content, if empty can have default applied by attribute data-noimage{firstItem}- if repeated event is this the first of the series (true or false){location}- location of the calendar event{excerpt}- content stripped of HTML tags{content}- content{paragraphExcerpt(x)}- Any paragraphs found in the content wherexcorresponds to the order in which it is found stripped of HTML tags{paragraphContent(x)}- Any paragraphs found in the content wherexcorresponds to the order in which it is found{paragraphClass(x)}- Any paragraphs found in the content wherexcorresponds to the order in which it is found creating a class name based on the id followed by "-p" thenx, i.e.news-p1{contentUrl(x)}- Any urls found in the content will create a set of links wherexcorresponds to the order in which it is found{image(x)}- Any images found in the content will create a set of links wherexcorresponds to the order in which it is found{href}- link to news post
Example
<div id="calendar" data-type="calendar" data-url="/fac/soc/economics/intranet/manage/calendar/" data-limit="10">
<h2><a href="{href}">{title}</a> </h2>
<p>{publicationDate}</p>
<p>From: {start} </p>
<p>To: {end}</p>
<p>Location: {location}</p>
<p>Categories: {categories}</p>
</div>
Output
Economics Winter Graduation Reception 2026
Monday 22 Dec 2025
From: Wednesday 21 Jan 2026 4:30pm
To: Wednesday 21 Jan 2026 7:00pm
Location:
Categories: create page,hidden,internal only
Year 1 Dinner and Quiz Night
Thursday 4 Dec 2025
From: Tuesday 27 Jan 2026 10:00am
To: Tuesday 27 Jan 2026 11:00am
Location:
Categories: create page,hidden
Final Countdown Dinner and Disco
Friday 5 Dec 2025
From: Tuesday 3 Feb 2026 10:00am
To: Tuesday 3 Feb 2026 11:00am
Location:
Categories: create page,hidden
Year 2 and Diploma Dinner and Quiz Night
Thursday 11 Dec 2025
From: Tuesday 10 Feb 2026 10:00am
To: Tuesday 10 Feb 2026 11:00am
Location:
Categories: create page,hidden
EconBites with Professor Manuel Bagues & Professor Anant Sudarshan
Thursday 27 Nov 2025
From: Friday 20 Mar 2026 9:30am
To: Saturday 21 Mar 2026 5:30pm
Location: Nova SBE in Lisbon, Portugal
Categories: create page,hidden
CEPR Political Economy Symposium 2026
Friday 12 Dec 2025
From: Friday 20 Mar 2026 10:00am
To: Friday 20 Mar 2026 11:00am
Location:
Categories: featured,promoted,create page,homepage-events