-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
reading from ical folders #1
Comments
Thanks! I'm hoping that the code is helpful - or at least interesting to mess around with - for my fellow Palm enthusiasts. The code uses a library (libical) that reads in ICS format data and then I take that and turn it straight into data for the Palm in memory using another library (libpisock) to handle transferring the data to the Palm so I'm not familiar with VCF files for calendar data. For the moment though I'll assume VCF is fully inter-compatible with ICS. There's currently no way to read a directory of files, but you should be able to read in local files using file:///path/to/file.ics (like browsing local files in a web browser). If the number of files doesn't change you can create the config file to read in multiple files, but if the number is constantly changing then you can probably auto generate the config file using a shell script before syncing. Something like
where There are config options to prevent overwriting the calendar on the palm pilot and to try updating events instead. These would be The pilot-link documentation suggests that getting calendar events back out of the palm can be done using the pilot-read-ical utility, but I've never used it before. It is included within the calendar-sync2.sif download via In general for the moment I'd be cautious about exporting anything imported using this repo back up to the cloud. Since I last updated anything I've noticed a couple times where events haven't synced to the palm correctly. Mostly long running repeating events that are changed don't seem to work properly and repeating events started in daylights savings time keep that time even in winter time. (Both on the to do list to try and fix, but unlikely to happen soon.) |
That works as expected, 5k of .ics files are processed within a couple of seconds! I just generate the full config with a bash script
Still have some timezone issues but I suspect it to be a Palm setting as the (config) timezone is shown during the sync process. pilot-read-cal does bring up a new issue;
As i'm on a Ubuntu (PopOS!) machine, I can't compile locally and I guess the Apptainer image is missing a PATH variable or something? |
Great that the sync to the Palm is working quickly! I'm not too surprised there are time zone issues and I wouldn't discount The In lieu of finding the correct Option one would be to edit the apptainer image creation script to add a
with permissions +x which would dump things out into a text file that you would need to parse from scratch, rather than an already parsable ics file. Option two would be quite invasive, but in short would be to clone the pilot-link repo, edit the Option three would be to abandon All of the apptainer-related hackery can be made easier to fiddle around with by using some commands like
which will put you inside the apptainer image after everything is done. Copy-pasting bits of the |
First of all; thanks for the awesome work! I've recently bought a Palm III and T|X and have been looking for a solid sync for weeks. This seems to work quite nice, but I do have a question;
My plan was to use vdirsyncer to fetch (and update!) my Baikal / iCloud calendars. All calendar items are stored as individual ics files and I guess that calendar-sync2 does the same after downloading/processing the ical/ics.
Would it be possible;
This way, you can add appointments on the device and sync them back to the cloud.
Thanks again!
The text was updated successfully, but these errors were encountered: