sawhney17 / logseq-calendars-plugin

MIT License
128 stars 17 forks source link

Allowing more calendars to be used and option to use JSON for any logseq version #24

Closed nickriches closed 2 years ago

nickriches commented 2 years ago

I have a relatively large number of colour-coded calendars within Google, but the app only seems to allow me to download events from 5 calendars. Could this be expanded? I tried to directly edit the JSON file, to add more calendars, but for later versions of Logseq this doesn't seem to work. Editing the JSON file is far more convenient than using the logseq interface if you are used to this kind of thing. Could there be an option to allow you to select the JSON file, rather than the logseq interface? If you specify more than 5 calendars in the JSON file, will they then all be imported to Logseq? Thanks.

nickriches commented 2 years ago

Is there any further news on this issue? I would love to use the plugin, but the upper limit of 5 calendars is restrictive.

nickriches commented 2 years ago

Thanks. But I am not sure how I add more calendars. In my json file I have used the same numbering system:

"calendar6Name": "🟢 Leisure", "calendar6URL": "https://#####################################/basic.ics",

But this calendar is not imported. How can I get more than five calendars to load?

Thanks

N

sawhney17 commented 2 years ago

If you’re in the latest version, there should automatically be generated a section called account details. If you aren’t seeing it in the Json, add some random content to any of calendar 1, calendar 2 or calendar 3 from within the app.

Screenshot 2022-05-25 at 3 44 56 PM
nickriches commented 2 years ago

Ahh.. I saw this and was slightly confused. I will try adding them there! Thanks!

sawhney17 commented 1 year ago

If you’re in the latest version, there should automatically be generated a section called account details. If you aren’t seeing it in the Json, add some random content to any of calendar 1, calendar 2 or calendar 3 from within the app.


"accountsDetails": {
    "Calendar 1": "https://calendar.google.com/calendar/ical/rao6fvrrsq6mdorf9n30fs6mk4%40group.calendar.google.com/public/basic.ics"
  }```
On 25 May 2022, 11:09 AM +0400, nickriches ***@***.***>, wrote:
> Thanks. But I am not sure how I add more calendars. In my json file I have used the same numbering system:
> "calendar6Name": "🟢 Leisure",
> "calendar6URL": "https://#####################################/basic.ics",
> But this calendar is not imported. How can I get more than five calendars to load?
> Thanks
> N
> —
> Reply to this email directly, view it on GitHub, or unsubscribe.
> You are receiving this because you modified the open/close state.Message ID: ***@***.***>