<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Transition Technology: Ticket #579: Special email alert for Rob Hopkins blog posts on TN.org</title>
    <link>http://localhost:8080/trac/ticket/579</link>
    <description>&lt;ol&gt;&lt;li&gt;Can we create a specific email alert for new blog posts from Rob Hopkins' blog (/blogs/rob-hopkins)?
&lt;/li&gt;&lt;li&gt;Can Ed do this?
&lt;/li&gt;&lt;li&gt;See below:
&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;
Proposed new alert:
&lt;del&gt;&lt;/del&gt;&lt;del&gt;&lt;/del&gt;&lt;del&gt;&lt;/del&gt;&lt;del&gt;~
&lt;/del&gt;&lt;/p&gt;
&lt;p&gt;
From: [Rob Hopkins at Transition Network &amp;lt;site@…&amp;gt;]
Subject: New blog post from Rob Hopkins' Transition Culture
To: [subscriber email]
Reply to: [&amp;lt;site@…&amp;gt;]
&lt;/p&gt;
&lt;p&gt;
Hello. I've written a new blog Transition Culture blog post
&lt;/p&gt;
&lt;p&gt;
You can read it and leave comments here:
[LINK]
&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;
[BLOG POST TITLE]
[LINE BREAK - FULL CLEAR LINE]
[BLOG POST TEASER]
[LINE BREAK - FULL CLEAR LINE]
&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;
Best regards,
Rob
&lt;/p&gt;
&lt;p&gt;
--
[TN EMAIL SUBSCRIPTION AUTO-BLURB]
This is an automatic message from Transition Network
To manage your subscriptions, browse to &lt;a class="ext-link" href="http://www.transitionnetwork.org/user/285/notifications"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.transitionnetwork.org/user/285/notifications&lt;/a&gt;
You can unsubscribe at &lt;a class="ext-link" href="http://www.transitionnetwork.org/notifications/unsubscribe/subscription/"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://www.transitionnetwork.org/notifications/unsubscribe/subscription/&lt;/a&gt;...
&lt;/p&gt;
</description>
    <language>en-us</language>
    <image>
      <title>Transition Technology</title>
      <url>/trac/chrome/site/TransitionNetwork-Logo-Web-Small.jpg</url>
      <link>http://localhost:8080/trac/ticket/579</link>
    </image>
    <generator>Trac 0.12.5</generator>
    <item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Fri, 23 Aug 2013 16:23:05 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/579#comment:1</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/579#comment:1</guid>
      <description>
        &lt;p&gt;
mm? Jim? Or is this something to pass on to Ben?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Sun, 25 Aug 2013 12:08:40 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/579#comment:2</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/579#comment:2</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.35&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.35&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Short answer: yes
&lt;/p&gt;
&lt;p&gt;
Long answer: yes but we'll need to either code something or change it for all blog notifications...
&lt;/p&gt;
&lt;p&gt;
In &lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/messaging/notifications/events"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/messaging/notifications/events&lt;/a&gt; (the list of events the Notifications module will send messages), there is no option to add new ones, and nothing like 'Blogs by Rob'. And in &lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/messaging/template"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/messaging/template&lt;/a&gt; there's the message by event type, but there's no way to add a new one.
&lt;/p&gt;
&lt;p&gt;
So we can either write some Notifications module code hooks to provide what we need, or simply change the template to handle all blogs/authors.
&lt;/p&gt;
&lt;p&gt;
I think the latter is a better use of resources on D6. The proposed message (with &lt;strong&gt;&lt;del&gt;changes&lt;/del&gt; in bold&lt;/strong&gt;) is therefore:
&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;
&lt;strong&gt;New template:&lt;/strong&gt;
From: &lt;strong&gt;[author-name]&lt;del&gt;Rob Hopkins&lt;/del&gt;&lt;/strong&gt; at Transition Network &amp;lt;site@…&amp;gt;
Subject: New blog post from &lt;strong&gt;[author-name]&lt;del&gt;Transition Culture&lt;/del&gt;&lt;/strong&gt;
To: [subscriber email]
Reply to: [&amp;lt; site@…&amp;gt;]
&lt;/p&gt;
&lt;p&gt;
Message:
Hello, I've written a new blog &lt;strong&gt;&lt;del&gt;Transition Culture&lt;/del&gt;&lt;/strong&gt; post.
&lt;/p&gt;
&lt;p&gt;
You can read it and leave comments here:
[LINK]
&lt;/p&gt;
&lt;p&gt;
---
&lt;/p&gt;
&lt;p&gt;
[BLOG POST TITLE]
[LINE BREAK - FULL CLEAR LINE]
[BLOG POST TEASER]
[LINE BREAK - FULL CLEAR LINE]
&lt;/p&gt;
&lt;p&gt;
---
Best regards,
&lt;strong&gt;[author-name]&lt;del&gt;Rob&lt;/del&gt;&lt;/strong&gt;
--
[TN EMAIL SUBSCRIPTION AUTO-BLURB]
&lt;/p&gt;
&lt;hr /&gt;
&lt;p&gt;
So the main issue with this is it no longer says 'Transition Culture' since that's not know by Drupal in relation to the user/blog post in the special case of Rob's blog.
&lt;/p&gt;
&lt;p&gt;
However, the wider issue is resolved even if we lose the TC branding a little (which IMHO is fine for a simple notification and the user will see it all again as soon as they arrive at the site).
&lt;/p&gt;
&lt;p&gt;
Hmmm??
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Sun, 25 Aug 2013 17:48:34 GMT</pubDate>
      <title>owner, status changed</title>
      <link>http://localhost:8080/trac/ticket/579#comment:3</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/579#comment:3</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;owner&lt;/strong&gt;
              changed from &lt;em&gt;jim&lt;/em&gt; to &lt;em&gt;ed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;new&lt;/em&gt; to &lt;em&gt;assigned&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
That's fine - I figured it likely - and as you say - best use of D6 - I'll tweak this this week - moving to Ed list
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Mon, 26 Aug 2013 12:21:52 GMT</pubDate>
      <title></title>
      <link>http://localhost:8080/trac/ticket/579#comment:4</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/579#comment:4</guid>
      <description>
        &lt;p&gt;
hmm. So to double check before I do it - please confirm - I'm going to edit this template:
&lt;a class="ext-link" href="https://www.transitionnetwork.org/admin/messaging/template/edit/notifications-content-blog-insert"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;https://www.transitionnetwork.org/admin/messaging/template/edit/notifications-content-blog-insert&lt;/a&gt;
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;This does not have options to tweak the 'from' field...
&lt;/li&gt;&lt;/ul&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>jim</dc:creator>

      <pubDate>Mon, 26 Aug 2013 12:37:09 GMT</pubDate>
      <title>hours, totalhours changed</title>
      <link>http://localhost:8080/trac/ticket/579#comment:5</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/579#comment:5</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;hours&lt;/strong&gt;
                changed from &lt;em&gt;0.0&lt;/em&gt; to &lt;em&gt;0.05&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;totalhours&lt;/strong&gt;
                changed from &lt;em&gt;0.35&lt;/em&gt; to &lt;em&gt;0.4&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Yep, that's the right one.
&lt;/p&gt;
&lt;p&gt;
Given the lack of 'From' then you'll have to just make that clear in the subject line.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>ed</dc:creator>

      <pubDate>Tue, 27 Aug 2013 13:46:11 GMT</pubDate>
      <title>status changed; resolution set</title>
      <link>http://localhost:8080/trac/ticket/579#comment:6</link>
      <guid isPermaLink="false">http://localhost:8080/trac/ticket/579#comment:6</guid>
      <description>
          &lt;ul&gt;
            &lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;
                changed from &lt;em&gt;assigned&lt;/em&gt; to &lt;em&gt;closed&lt;/em&gt;
            &lt;/li&gt;
            &lt;li&gt;&lt;strong&gt;resolution&lt;/strong&gt;
                set to &lt;em&gt;fixed&lt;/em&gt;
            &lt;/li&gt;
          &lt;/ul&gt;
        &lt;p&gt;
Done. Thanks. Closing.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>