sawhney17 / logseq-calendars-plugin

MIT License
127 stars 17 forks source link

Complex Title not displayed? #3

Open emms007 opened 2 years ago

emms007 commented 2 years ago

Big thanks for this plugin.

I made a test run using a ICAL from Outlook/Exchange server. In the ICS file, the summary of meeting is written down in the following format: SUMMARY;LANGUAGE=fr:Demo title of a meeting

This renders in the plugin output as "3:30 PM - 6:30 PM: [object Object]". Is there a way to have more parameter around the "{Title}" template?

sawhney17 commented 2 years ago

Hmm, I'll have to investigate this, could you perhaps share some kind of guide as to how to create an ebent with summary in that format? This is how my events look like. Screen Shot 2022-02-01 at 6 06 58 PM

Do you have perhaps your language set up as something in specific or something?

emms007 commented 2 years ago

I am using outlook in a corporate environnement with nothing particular set. I assume the Outlook & Exchange format make it really the far-fetched professional context.

Looking at the "pi.parseICS(e);" function, it is well understood by the library. It is only a matter of exposing it back to logseq I assume: image

sawhney17 commented 2 years ago

Looks like it's a case of the title not being the only item in the summary. Thanks for the image. I'll cut a pre release that hopefully fixes it once I get to my computer, do test that out to see if it fixes your problem, once it's released of course. On 1 Feb 2022, 6:29 PM +0400, emms007 @.***>, wrote:

I am using outlook in a corporate environnement with nothing particular set. I assume the Outlook & Exchange format make it really the far-fetched professional context. Looking at the "pi.parseICS(e);" function, it is well understood by the library. It is only a matter of exposing it back to logseq I assume: — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>

sawhney17 commented 2 years ago

Can you try the latest release? Should be fixed

sawhney17 commented 2 years ago

I've had to revert this in the latest release as it was causing issues with large calendars. Please stay on the current version until I get something working that doesn't interfere with other functions.