mziech / nextcloud-calendar-news

A Nextcloud app to send a frequent newsletter e-mail based on calendar entries
GNU Affero General Public License v3.0
8 stars 4 forks source link

by any chance: is this app working yet? Test possible on NC20? #1

Closed aheider closed 2 years ago

aheider commented 3 years ago

Dear mziech, is this app working yet? can I test this on an NC20 install?

Sadly I am no developer, but I can try to test the app and debug it...

Yours.

mziech commented 3 years ago

Hi @aheider ,

well it was working for me last Friday on Nextcloud 20.

While sending the newsletter is working pretty smoothly, the configuration UI is a bit outdated. Therefore, and due to the absence of test, I refrained from going through the hoops for a Nextcloud App Store release so.

Since installation is a bit more difficult without the app store, I added short guide to the README and a release-build now.

Hope that helps!

aheider commented 3 years ago

Great, thanks! I tried it and it works for me. However, in what format do I fill thos fields: grafik

That is, for time to first entry, time to last entry, format for first/second row, and regular expression for description?

For the time interval I tried "1", "1 day", "1 d", "1 Tag". But that did not work...

Thank you so much.

mziech commented 3 years ago

Cool, glad that it works!

The timestamps need to be specified in ISO "period" format (not really obvious but it was the easiest one to parse in the backend), e.g. P30D for 30 days.

Shell-like ${...} placeholders are used for the format rows per appointment.

Possible placeholders are:

Additionally filters can be applied to each placeholder value like ${...|filter1|filter2}. The following filters are known:

If a placeholder cannot be resolved, a fallback can be specified using the colon charater :, otherwise the value will be empty. E.g. ${a:b:c} would output the value of b if a is undefined or c if a and b are undefined.

Example: image

aheider commented 2 years ago

works as advertised. Thanks!