Page 1 of 1

Feature Request: daily digests

Posted: Tue Apr 25, 2006 10:02 pm
by destro
I am considering setting up serendipity in a enterprise format where as it will be used for a method of communicating tasks completed in a single day by a staff of almost 200. Our current system does not meet standards of organization and ease of searching.

One of the requirements is that we can do daily digests.

Let's say bob does his work all day long, and as he does things he updates his daily post on the blog with information on issues he's handled, things he wants to share with other teams and any other info, Then at the end of the day before he goes home, he clicks something that sends out a daily digest that sends out an email (this would go to a distro list configured in serendipity) with the contents of that day's post.

is this possible with the current config of serendipity or are there any modifications that can be done that will not compromise the ability to upgrade this software for future updates.

Re: Feature Request: daily digests

Posted: Tue Apr 25, 2006 10:15 pm
by garvinhicking
Hi!

This is possible. For it you can use the bundled plugin "serendipity_event_mailer" ("Send E-Mails"). It can send a created entry via email to a specified email address (like a mailinglist).

I hope this helps you further? If there are more questions, please ask! :)

Best regards,
Garvin

Re: Feature Request: daily digests

Posted: Tue Apr 25, 2006 10:28 pm
by destro
Hello,

this gets me at a good starting point, but i need to two more settings in this.

1. either allow the event email to be sent at a specific time or when a user action states to send the email.

2. to create a new post not as a draft and only have the email sent out at the time specified or user specified.

if i did this where a draft is viewable to all, then published by the user at the end of the day, then that's perfect... it gets around my problem.

but if the plugin can be modified to allow more settings (let me specifiy that this email with the entire post can be sent out upon user action, specifically at the end of the user's work day) then that would be fiesable.
garvinhicking wrote:Hi!

This is possible. For it you can use the bundled plugin "serendipity_event_mailer" ("Send E-Mails"). It can send a created entry via email to a specified email address (like a mailinglist).

I hope this helps you further? If there are more questions, please ask! :)

Best regards,
Garvin

Re: Feature Request: daily digests

Posted: Tue Apr 25, 2006 10:43 pm
by garvinhicking
Hi!

1. The email will be sent once an entry is set as "PUBLISH". So you can first save the entry multiple times in "DRAFT" state and only after that publish it, so that an email is sent. You could also easily write a cronjob that execute a s9y plugin which automatically sets all DRAFT entry to PUBLISH at a specific time, if you like.

2. If you want to show the postings in the blog already, and send the mail after that at a specific time, you would need to create a simple serendipity plugin that can be called via a cronjob and which reads all entries created in the past 24 hours. Such a plugin would be very easy (maybe 20 lines of code). If you don't have any PHP developers helping you, I could offer to develop that plugin for you; since you mentioned it's going to end up in an enterprise system, I would kindly ask you then to consider making a donation to me or visiting my amazon wishlist. :-))

HTH,
Garvin

Re: Feature Request: daily digests

Posted: Tue Apr 25, 2006 10:46 pm
by destro
is there any method of allowing drafts to be viewable prior to publish?
garvinhicking wrote:Hi!

1. The email will be sent once an entry is set as "PUBLISH". So you can first save the entry multiple times in "DRAFT" state and only after that publish it, so that an email is sent. You could also easily write a cronjob that execute a s9y plugin which automatically sets all DRAFT entry to PUBLISH at a specific time, if you like.

2. If you want to show the postings in the blog already, and send the mail after that at a specific time, you would need to create a simple serendipity plugin that can be called via a cronjob and which reads all entries created in the past 24 hours. Such a plugin would be very easy (maybe 20 lines of code). If you don't have any PHP developers helping you, I could offer to develop that plugin for you; since you mentioned it's going to end up in an enterprise system, I would kindly ask you then to consider making a donation to me or visiting my amazon wishlist. :-))

HTH,
Garvin

Re: Feature Request: daily digests

Posted: Wed Apr 26, 2006 11:06 am
by garvinhicking
Hi!

No, the reason for "DRAFT" entries is that they cannot be seen on the frontend. :)

But as I said, getting the behaviour you want is just a matter of 10-20 lines of code, since Serendipity is built for flexibility. :)

HTH,
Garvin

Re: Feature Request: daily digests

Posted: Wed Apr 26, 2006 12:01 pm
by Ianardo
garvinhicking wrote:Hi!

This is possible. For it you can use the bundled plugin "serendipity_event_mailer" ("Send E-Mails"). It can send a created entry via email to a specified email address (like a mailinglist).
Hi Garvin
Where would this event mailer be kept? I can't find it anywhere in Spartacus! (Serendipity 1.0-beta1)
Ian

Re: Feature Request: daily digests

Posted: Wed Apr 26, 2006 12:05 pm
by garvinhicking
Hi!

This event plugin is bundled by default, not via spartacus. Look in your event plugin listing and search for "mail". :)

Regards,
Garvin

Posted: Wed Apr 26, 2006 12:17 pm
by Ianardo
Hmmmm...

I can't see it under event plugins but I can see it on the FTP site!
How do I activate it please?

Posted: Wed Apr 26, 2006 12:25 pm
by garvinhicking
Hi!

It must be in your plugin listing. :-) Check the name of the plugin by looking at the language include file on your FTP site.

Best regards,
Garvin

Posted: Wed Apr 26, 2006 12:59 pm
by Ianardo
Ahhhh!

"Send Entries Via Email"!! :oops:

So, another stoopid question: How do I put a mailing list into that teeny-tiny box?

(Sorry, I think i'm having a 'Blonde' day!)

Posted: Wed Apr 26, 2006 1:28 pm
by garvinhicking
Hi!

You enter the email address of the mailinglist into that field, of course. :-D

(You must create the mailinglist on your mailserver first, of course ;)

Regards,
Garvin