搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Subscribe to multiple CalDAV calendars with same URL but using different accounts

  • 6 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 raw-jaw

more options

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

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

由 raw-jaw 於 修改

所有回覆 (6)

more options

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

more options

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

more options

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.

由 raw-jaw 於 修改

more options

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.

more options

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...