Subscribe to multiple CalDAV calendars with same URL but using different accounts
Hi,
I am using multiple Google accounts and I want to sync all their birthday calendars in Thunderbird. All birthday calendars have the same generic URL: https://apidata.googleusercontent.com/caldav/v2/addressbook#contacts@group.v.calendar.google.com/events So the URL does not uniquely identify the calendar, it depends on the user being logged in.
When I want to add the birthday calendar of my second google account, I get the error "you already subscribed to this calendar". Yes, I did, but with a different Google login. The "next" button is disabled so I can't set up the second google contacts calendar.
Is there a workaround to set up two calendar subscriptions using the same URL?
I think it would be a good idea to just show the note "you already subscribed..." but keep the "next" button enabled for those who know what they are doing.
Thanks in advance, Stephan
השתנתה ב־
כל התגובות (6)
Just some very very old ideas
The IP of apidata.googleusercontent.com resolves to 142.250.70.225 So https://142.250.70.225/caldav/v2/addressbook#contacts@group.v.calendar.google.com/events Should work for one additional.
You should also be able to use the hosts file to redirect a number if URL's to the one IP.
So 142.250.70.225 BdaysOne 142.250.70.225 bdaystwo
in the hosts file should allow you to create substitute URL literals for the apidata.googleusercontent.com domain and then use them in the calendar as replacements.
You might also want to request an enhancement by filing a bug. https://bugzilla.mozilla.org/home
apidata.googleusercontent.com/caldav/v2/addressbook#contacts@group.v.calendar.google.com/events
So the
Thanks Matt,
This might solve the problem, but that's a very ugly workaround and it will break as soon as the IP address of the server changes for some reason. Thinking your idea a bit further, tried using /etc/host.aliases to redirect the BdaysOne etc. from your example to apidata.googleusercontent.com. But at least Firefox seems to ignore host aliases that do work with command-line ping. I might also run my own DNS server do to the job but that's where I consider it overkill.
I was hoping that maybe there is a way to add the calendar by editing a configuration file and bypassing the assistant...
I don't know the internals of Thunderbird so I don't know if there is a reason why URLs need to be unique but I'm hoping that this is just an unnecessary restriction in the UI and can be fixed easily so I will create a bug.
BR Stephan
My previous reply disappeared after submitting so I retyped it. Then it appeared again so I'm editing this because I can't delete it.
השתנתה ב־
The email with "Ummm... Test, one two three? It says last reply by me but it disappeared? " was a tad confusing.... I would guess you got bit by the spam filter. It is utter rubbish and relies on someone marking about 99% of it not spam, but apparently stopping that 1% is vastly more important to Mozilla. User satisfaction does not appear to be all that important to them and they wonder why Firefox usage dwindles.
No, it was actually my full response. After it disappeared, I wrote this "test" thing to check if I'm still able to post. As this message was successfully posted, I edited it back to the full reply. Then, I saw my full reply twice, so I edited it out again...