Skip to content

Instantly share code, notes, and snippets.

@wagstaffj
Created January 23, 2015 20:24
Show Gist options
  • Save wagstaffj/79038f1aad0dbf94433c to your computer and use it in GitHub Desktop.
Save wagstaffj/79038f1aad0dbf94433c to your computer and use it in GitHub Desktop.
<cfset variables.epoch = Now().getTime() />
<cfhttp method="get" url="http://www.umsl.edu/campus-calendar/2015/index.xml" />
<cfset variables.events = XMLParse(cfhttp.filecontent) />
<cfset variables.xmlsearchpath = "//event[start > #variables.epoch#]" />
<cfset variables.eventresults = XMLSearch(variables.events,variables.xmlsearchpath) />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment