Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Use mailchimp templates for email reports #5336

Closed
nkuehn opened this issue Jun 11, 2014 · 4 comments
Closed

Suggestion: Use mailchimp templates for email reports #5336

nkuehn opened this issue Jun 11, 2014 · 4 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. worksforme The issue cannot be reproduced and things work as intended.

Comments

@nkuehn
Copy link

nkuehn commented Jun 11, 2014

The "mailchimp" email marketing service is actively maintaining a set of responsive HTML email templates under a Creative Commons share-alike license. That's huge chunk of work because testing across houndreds of mail clients is a real chore.

see: https://github.com/mailchimp/Email-Blueprints

Basing the Piwik email reports on these templates could

  • Improve the user experience because the email reports would render properly in all mobile and desktop email clients
  • save the piwik developers a lot of work testing and maintaining (once it's done :-)

the catch: it's an "attribution" license so the originator would need to be visibly mentioned and the license would need to be placed an managed somewhere.

@mattab
Copy link
Member

mattab commented Jun 13, 2014

This is a nice idea! I checked out their project, it is under Creative Commons BY-SA is not compatible with the GPL license... http://opengameart.org/content/faq#q-ccgplcompat

https://www.gnu.org/licenses/license-list.html#ccbysa

so im afraid we can't use it?

@nkuehn
Copy link
Author

nkuehn commented Jun 17, 2014

I did some more research and couldn't find comparable quality under GPL3. I think HTML+CSS layouts are an edge case if they are implemented in a template language like twig, but understand that there's no interest in going that edge just for the email template.

Is it possible to override / extend the templates via a Plugin (like doing a partial override of the currently selected Theme without interfering with the rest of the theme plugin configuration)? plugins\CoreHome\templates\ReportRenderer is the place to be.

3rd Party plugins can have differing licenses, but I'm not sure whether a compiled template is a case of "linking" in the sense of the GPL (sounds like the java classpath exception case to me). GPL is really from a different age in this respect.

@nkuehn
Copy link
Author

nkuehn commented Jun 17, 2014

@mattab
Copy link
Member

mattab commented Jun 20, 2014

Someone asked a question in their tracker: mailchimp/email-blueprints#16

it would be great to reuse email templates, as long as the license is compatible with GPL.

in this case, maybe we could even kindly ask Mailchimp if the would consider to release their code under BSD-3-clause license? so that open source/libre projects like us could re-use their great work!

@nkuehn nkuehn added this to the Future releases milestone Jul 8, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. worksforme The issue cannot be reproduced and things work as intended.
Projects
None yet
Development

No branches or pull requests

2 participants