Logo

dev-resources.site

for different kinds of informations.

Combining calendars

Published at
7/7/2024
Categories
cpan
calendar
ical
mergcal
Author
davorg
Categories
4 categories in total
cpan
open
calendar
open
ical
open
mergcal
open
Author
6 person written this
davorg
open
Combining calendars

One of the most popular posts I’ve written in recent months was the one where I talked about all the pointless personal projects I have. The consensus in the many comments I received was that anything you find useful isn’t pointless. And I can’t really argue with that.

But it’s nice when one of your projects is used by other people. And that happened to me recently.

The initial commit in mergecal is from 2016, but I strongly suspect it existed as code that wasn’t in source code control for several years before that. The idea behind it is simple enough. I wanted to be able to share my calendar with someone, but I didn’t have a single iCal file that I could share. For various complicated and yet dull reasons, my calendar is split across a number of separate iCal files. Initially, I remember thinking there must be an online service that will take a list of iCal calendars and produce a single, combined one. But a few hours on Google didn’t find anything so I did what any hacker would do and wrote my own.

It really wasn’t difficult. As usual, it was just a case of plumbing together a few CPAN modules. In this case, Text::vFile::asData did most of the heavy lifting – with JSON used to parse a configuration file. It can’t have taken more than an hour to write. And, as the commit history shows, very few subsequent changes were required. I just set it up with the correct configuration and a cronjob that rebuilt the combined calendar once a day and published it on my web site.

And then I forgot about it for years. The best kind of software.

Then, in January of this year, I got a pull request against the code. This astonished me. MY SOFTWARE HAD A USER. And in the PR, the user said “It boggles my mind that there is still no simpler free solution, even after all those years”.

So maybe this would be useful to a few more people. Perhaps I should market it better (where “better” means “at all”).

As a first step towards that, I’ve rewritten it and released it to CPAN as App::MergeCal. Maybe I should think about putting it online as some kind of web service.

Anyway, it makes me incredibly happy to know my software is used by even one person. Which reminds me – please take the time to say “thank you” to anyone whose software you find useful. It’s a small thing, but you’ll make someone very happy.

The post Combining calendars first appeared on Perl Hacks.

calendar Article's
30 articles in total
Favicon
How to create a simple appointment calendar
Favicon
2025 Calendar Printable Online – Stunning Designs Await!
Favicon
🚀How to manage Google Calendar like a Gangster: Tips for Professional Managers, IT Specialists🌟📈🎉
Favicon
The Journey of Optimization
Favicon
Regime.sh – A minimalist approach to daily scheduling
Favicon
Unleash Your Creativity: Build a Dynamic Mini Calendar with HTML, CSS, and JavaScript
Favicon
Wellpin - Free Scheduling Assistant for Everyone
Favicon
Introduction to the GROWI calendar display plug-in
Favicon
Easily Bind Supabase with Flutter Calendar and Perform CRUD Actions
Favicon
Leap days, and the quest for the perfect Calendar
Favicon
Integration of Calendar for Efficient Meeting Scheduling
Favicon
How to Remove an Unwanted Time Zone from MacOS Calendar
Favicon
Combining calendars
Favicon
Apple Shortcuts - Import & Delete Calendar Files Automation
Favicon
Date Range Calendar in Flatpickr Example
Favicon
Cal.et – Free Alternative to AddEvent
Favicon
How to Add Days in Date in React Native Calendar
Favicon
How to Set Google Meet Access Settings for a Calendar Event
Favicon
Integrating Calendar Events in a React Native App
Favicon
React DayPicker: A Versatile and Customizable date picker component for React
Favicon
An incredibly fast and flexible library to build calendars in React Native
Favicon
Maximizing Your Business Potential: Utilizing an Online Calendar for Success in 2024
Favicon
The Best Calendar Apps For Android in 2024
Favicon
How to Create Moment JS Calendar in React Native
Favicon
Update React Native app page from a Google Sheets and Google Calendar
Favicon
Google Calendar - Usage Limits Exceeded
Favicon
Google Sign In and Google Calendar API tutorial with client and server (iOS and Pyhton backend)
Favicon
Revolutionize Your User Experience with a Custom Dropdown Calendar in .NET MAUI
Favicon
Syncing a Spreadsheet with Google Calendar using Google Scripts to be (or at least try) more productive
Favicon
A weekly calendar app that integrates with Google Calendar

Featured ones: