Jump to content

Generate list of all pages in events calendar & exclude past events

Recommended Posts

  • Replies 4
  • Views 248
  • Created
  • Last Reply

Top Posters In This Topic

Posted
On 11/1/2024 at 9:31 AM, RuthGordonPowys said:

Is there any easy way to generate a list of all pages in the events calendar and then exclude past events from it?

Ahoy @RuthGordonPowys! There's no ICS calendar feed for Squarespace events pages, which would have made something like this pretty easy, but there is an RSS feed (https://www.storipowys.org.uk/whats-on?format=rss) that shows events sorted by date published. It doesn't show date/time/etc metadata that an ICS feed would, but it would help you if you're just trying to aggregate the info and grab a list with urls of the most recently published events.

You can make it more comprehensible by loading it into something like this: https://codebeautify.org/rssviewer/y240cbc90

If you're moving the events page to another Squarespace website, you could use the Squarewebsites extension (affiliate link) to duplicate the entire events page, events and all. It's not free, but it's the easiest way I know.

Good luck!

🛠️ Builder of fine Squarespace templates
📺 Maker of no-BS Youtube tutorials
💬 Ask me anything!

If you find my comment helpful, please give it a 👍 (or if you're the original poster,  ) so others with the same issue can find it.  🎉

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.