Skip to main content

Test Feed

This is what I get when I choose the next 7 days and health/wellness for my feed, while not hiding recurring events. Feed URL is:

https://events.stanford.edu/calendar.xml?event_types%5B%5D=37093217343447&experience=

Same settings below, with recurring events hidden. Feed URL is:

https://events.stanford.edu/calendar.xml?card_size=small&event_types%5B%5D=37093217343447&experience=&hide_recurring=1

Here I’ve chosen just today, health/wellness, recurring events not hidden. URL is:

https://events.stanford.edu/calendar/day?card_size=small&order=date&days=1&experience=&event_types%5B%5D=37093217343447

And this is today, health/wellness, recurring events hidden.

https://events.stanford.edu/calendar.xml?card_size=small&days=1&event_types%5B%5D=37093217343447&experience=&hide_recurring=1

I used the search tool to find health/wellness, filtered those results to the next seven days, and built this feed. Note that the URL includes start-date=2021-12-09 which is certainly not what I want. This example is with recurring events turned on:

https://events.stanford.edu/search/events.xml?days=7&event_types%5B%5D=37093217343447&experience=&start_date=2021-12-09
RSS Error: WP HTTP Error: cURL error 28: Operation timed out after 10000 milliseconds with 0 bytes received

Here I’m hiding recurring events. I chose the next seven days, which the URL shows, but it still includes today’s date. Why am I seeing events four to six months from now?

https://events.stanford.edu/search/events.xml?days=7&event_types%5B%5D=37093217343447&experience=&hide_recurring=1&start_date=2021-12-09
  • The Early Detection of Cancer Conference Join us from 18 – 20 October for this year’s conference which is jam-packed with engaging discussions, lightning talks from submitted abstracts and opportunities to network with experts from across the globe. We’ll also see the return of our ‘Great Debates’ as our speakers go head-to-head to debate provocative […]
  • The Early Detection of Cancer Conference Join us from 18 – 20 October for this year’s conference which is jam-packed with engaging discussions, lightning talks from submitted abstracts and opportunities to network with experts from across the globe. We’ll also see the return of our ‘Great Debates’ as our speakers go head-to-head to debate provocative […]
  • The Early Detection of Cancer Conference Join us from 18 – 20 October for this year’s conference which is jam-packed with engaging discussions, lightning talks from submitted abstracts and opportunities to network with experts from across the globe. We’ll also see the return of our ‘Great Debates’ as our speakers go head-to-head to debate provocative […]
  • The Stanford Center for Precision Mental Health & Wellness (PMHW) invites you to join us for the 2nd Annual Precision Mental Health & Wellness Symposium. For details and registration, please visit our website. To receive updates and future event information, please sign up for PMHW announcements. View on site | Email this event
  • Avery Recreation Pool is closed for cleaning. Avery Aquatic Center pool will be open for recreation swim. View on site | Email this event
  • Avery Recreation Pool is closed for cleaning. Avery Aquatic Center pool will be open for recreation swim. View on site | Email this event
  • International Alliance for Cancer Early Detection (ACED) Summer School The Early Detection Summer School is an immersive and engaging program that covers themes relevant to cancer early detection research: Cutting edge cancer early detection science and technologyChallenges and opportunities in cancer diagnosticsEntrepreneurship and case studies of commercialization of early detection innovationsThe impact of patient and […]
  • Avery Recreation Pool is closed for cleaning. Avery Aquatic Center pool will be open for recreation swim. View on site | Email this event
  • International Alliance for Cancer Early Detection (ACED) Summer School The Early Detection Summer School is an immersive and engaging program that covers themes relevant to cancer early detection research: Cutting edge cancer early detection science and technologyChallenges and opportunities in cancer diagnosticsEntrepreneurship and case studies of commercialization of early detection innovationsThe impact of patient and […]
  • International Alliance for Cancer Early Detection (ACED) Summer School The Early Detection Summer School is an immersive and engaging program that covers themes relevant to cancer early detection research: Cutting edge cancer early detection science and technologyChallenges and opportunities in cancer diagnosticsEntrepreneurship and case studies of commercialization of early detection innovationsThe impact of patient and […]

After hearing back from Localist

So apparently, we use the Widget Builder for this, Preview the widget, copy the resulting URL, and change format=html to format=rss:

https://events.stanford.edu/widget/view?schools=stanford&types=37093217343447&days=7&num=50&all_instances=1&format=rss&template=modern

Here I’ve built the same feed, but turned off Include All Matching Instances but they’re in the wrong order:

https://events.stanford.edu/widget/view?schools=stanford&types=37093217343447&days=7&num=50&format=rss&template=modern

So here’s an attempt to figure out the write parameter to add to the query string so it sorts chronologically:

https://events.stanford.edu/widget/view?schools=stanford&types=37093217343447&days=7&num=50&format=rss&direction=asc

And trying again, sorting desc:

https://events.stanford.edu/widget/view?schools=stanford&types=37093217343447&days=7&num=50&format=rss&direction=desc