Creating an iCalendar feed for my RSVPs

Those who know me or at least follow me on social media or know me will know that I like attending meetups. On any given month I'll generally go to 4-5 different events, but some months are busier than others.

As I mentioned in my post Add your Events to your Calendar, I've been using the calendar to easily see what events I'm going to, because there are quite a few of them and I don't want to manually add them to my calendar.

In May I added the ability to start to posting other post types on my website, one of those content types being RSVPs.

Up until I has this capability, RSVPs were done on, or Eventbrite. But now I had the ability to start to own my RSVPs, under the IndieWeb concept of Own Your Data, I started to post my RSVPs to my site first.

This made it much easier to be i.e. at work and wanting to show others what events I was going to, or to give others ideas of where to go. But the information there didn't used to include the event name or date, which made it annoying to work out when things were, so I added them to make my life easier reading them.

But a couple of weeks ago I had a crazy thought - what if I could stop relying on Meetup's calendar integration and instead use my own? That's the whole point of the IndieWeb right? Take back control and own all your data.

I already had some of the data, so I could probably enhance the contents of the RSVPs to include an end time and a location and that'd be as useful as the calendar integration, or manually adding items to my calendar.

Once I'd added all of those, it was then a case of creating a calendar for it. Fortunately, I'd already done this with a calendar for Homebrew Website Club which is straightforward with Hugo, so all I needed to do was map the RSVP's data to a calendar entry.

And there you go, I now have a handy iCalendar link to an always up to date calendar of all my RSVPs - awesome! And because it's all up on my website, this link is available for anyone who also wants to follow me to events.

Update 2020-11-08: Make sure you run your calendar through an iCalendar validator, otherwise you may find that the iCalendar feed gets rejected.

Written by Jamie Tanna's profile image Jamie Tanna on , and last updated on .

Content for this article is shared under the terms of the Creative Commons Attribution Non Commercial Share Alike 4.0 International, and code is shared under the Apache License 2.0.

#calendar #blogumentation #indieweb

Also on: IndieWebCamp logo logo logo

This post was filed under articles.

Related Posts

Other posts you may be interested in:

Interactions with this post

Interactions with this post

Below you can find the interactions that this page has had using WebMention.

Have you written a response to this post? Let me know the URL:

Do you not have a website set up with WebMention capabilities? You can use Comment Parade.