List Info

Thread: Templated Mailer Plugin




Templated Mailer Plugin
country flaguser name
United States
2007-03-30 01:40:49
I just put a plugin together specifically to make
ActionMailer play  
nice with Haml. It also will work with Markaby or any other 

"unsupported" markup language. Initially, this
code was s'posed to be  
a Rails patch, but it keeps not showing up in trunk, so here
it is as  
a plugin. You can read about it here:

http://calicoweb
dev.com/blog/show/10

You can get it here:


http://svn.calicowebdev.com/plugins/templated_mailer

Reader's Digest version of instructions:

Step 1: Get it using svn or 'ruby script/plugin install
http:// 
svn.calicowebdev.com/plugins/templated_mailer'
Step 2: Add the following line to your environment.rb

ActionMailer::Base.register_template_extension('haml')

Step 3: Just stop typing "rhtml".

There is no Trac or anything, but your can email me with
bugs or  
comments (and be gentle).

Enjoy!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to
haml-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---


Templated Mailer Plugin
country flaguser name
United States
2007-03-30 02:15:39
I was going to use svn:externals to link to this from the
Haml repo, but 
it turns out that installing a plugin via HTTP doesn't catch
externals. 
Too bad; I guess using this will just be "very
easy" as opposed to 
"incredibly easy." At least until the Rails folks
merge it into trunk.

- Nathan

s.ross wrote:
> I just put a plugin together specifically to make
ActionMailer play  
> nice with Haml. It also will work with Markaby or any
other  
> "unsupported" markup language. Initially,
this code was s'posed to be  
> a Rails patch, but it keeps not showing up in trunk, so
here it is as  
> a plugin. You can read about it here:
>
> http://calicoweb
dev.com/blog/show/10
>
> You can get it here:
>
> 
http://svn.calicowebdev.com/plugins/templated_mailer
>
> Reader's Digest version of instructions:
>
> Step 1: Get it using svn or 'ruby script/plugin install
http:// 
> svn.calicowebdev.com/plugins/templated_mailer'
> Step 2: Add the following line to your environment.rb
>
> ActionMailer::Base.register_template_extension('haml')
>
> Step 3: Just stop typing "rhtml".
>
> There is no Trac or anything, but your can email me
with bugs or  
> comments (and be gentle).
>
> Enjoy!
>
> >
>
>   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to
haml-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )