qwerty94 Posted November 18, 2021 Posted November 18, 2021 Hi All Has anyone got the iSAMS Calendar showing in either a Wordpress or Joomla site? Thanks!
TechMonkey Posted November 18, 2021 Posted November 18, 2021 I've not done it but if you have access to the API, then all the information is made available there. It is an XML file so easily read.
qwerty94 Posted November 19, 2021 Author Posted November 19, 2021 Not ical, we get two feed options: http://training.isams.co.uk/system/api/feeds/calendar.ashx or http://training.isams.co.uk/system/api/feeds/calendar_rss.ashx The bit i'm struggling with is finding a plugin/extension for either platform that can make use of the live feed URL to display as a calendar.
mavhc Posted November 19, 2021 Posted November 19, 2021 Hmm, don't see any public docs on the formats, can you paste examples?
slugshead Posted November 19, 2021 Posted November 19, 2021 Not ical, we get two feed options: http://training.isams.co.uk/system/api/feeds/calendar.ashx or http://training.isams.co.uk/system/api/feeds/calendar_rss.ashx The bit i'm struggling with is finding a plugin/extension for either platform that can make use of the live feed URL to display as a calendar. We used to use EventON plugin on our intranet, looks slick can import ics but the modules all have a cost
qwerty94 Posted November 19, 2021 Author Posted November 19, 2021 Hmm, don't see any public docs on the formats, can you paste examples? Just having a look at the API docs, which I think will be more suitable then the feeds for what we need to achieve: <Event Id="974" CategoryId="26" SubategoryId="5"> <Category>26Category> <Subcategory>5Subcategory> <NationalCurriculumYear>0NationalCurriculumYear> <StartDate>2014-12-17T00:00:00StartDate> <EndDate>2014-12-21T00:00:00EndDate> <AllDayEvent>0AllDayEvent> <StartTime>1900-01-01T08:30:00StartTime> <EndTime>1900-01-01T16:00:00EndTime> <Description>1st XI Hockey Tour to Barcelona (until 21st).Description> <Location>BarcelonaLocation> <Notes>Do not forget your passport.Notes> <Hidden>0Hidden> <Ordinal>1Ordinal> <Edited>1Edited> <Late>1Late> <Types>...Types>Event>
dhicks Posted November 20, 2021 Posted November 20, 2021 Has anyone got the iSAMS Calendar showing in either a Wordpress or Joomla site? We use SalamanderSoft to export our iSAMS calendar to Google Calendar, from which we can export as an iCal (.ICS) file - there'll be a Wordpress plugin somewhere that displays iCal for you. The iCal format isn't complicated, being just a set of records in text format, so you could possibly write a script to convert the XML exported from iSAMS straight to iCal. I thought I remembered writing some code that did this at some point, but I can't find it. I do have a script that takes an iCal file and produces a printed calendar from a .DOCX template - we use it to produce a print-able (PDF) "school diary" document we can put on the school website for parents to download (and print) if they want. 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now