If you have some Jahia content to extract and reuse it is better in all the cases to use some templates as portlets can not access to the Jahia API (= another context in the Java world and each application, for security reason, is independant and can not access to the API of the others).
So I would start with the "generic form" template (in order to hardcode your form and store the results in a Jahia containerlist so that you will have somehwere in Jahia the list of all the subscribers). Then I would create (perhaps in another template which would manage the newsletter you will send) a dynamic filter which will get all the container of type XYZ filtered by the publication date, reuse the user data stored in your form template and use the embedded Jahia Quartz scheduler in order to launch some automated scheduling jobs.
Stéphane At 15:37 24.07.2006, you wrote:
Hi all, We want to develop a newsletter functionnality in our jahia based website : - Anyone can subscribe (that means a data management) - the newsletter contains some contents froms the website (for instance, some news that figures out on the home page) - The news email is sent every month We want to know the best practises for that: - do we need to develop a webapp to handle the users or have we better to handle them as Jahia content (a container list for instance) - What is the better way to re use content in order to put it in a HTML email? - Can we use a scheduler within the servlet container (Tomcat) ? If some people have developped such a thing, let me know it ! Thanks a lot, -- Guillaume Kuhmel | Consultant Tél direct : +33 4 91 87 81 08 Tél portable : +33 6 78 43 20 34 *c o s m o s b a y ~ v e c t i s* Chemin de Saint-Lambert, Actiburo 1, Bâtiment A - 13400 Aubagne - www.cosmosbay-vectis.com Tél. général : +33 4 91 87 81 08 - Fax : +33 4 91 87 81 09 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.10.2/393 - Release Date: 19/07/2006
