Tags:
create new tag
view all tags

SID-00682: Customized Webnotify Notification Emails

Status: Unanswered Unanswered TWiki version: 4.3.2 Perl version: 5.8.8
Category: CategoryEmail Server OS: Solaris Last update: 15 years ago

I want to create customized notification emails that show the name of the topic that has been changed and the part of the topic that has been changed. However, the code below that is supposed to show only the changes doesn't seem to work very well. This is supposed to be the search section of my

My code for searching: SCRIPTURL{"compare"}%/%WEB%/%TOPICNAME%">%IF{"%SEARCH{"\-\-\-\+.*" web="%WEB%" topic="%TOPICNAME%" type="regex" scope="text" nonoise="on" format="%TOPICNAME%"}%" then="%SEARCH{"\-\-\-\+.*" web="%WEB%" topic="%TOPICNAME%" type="regex" scope="text" nonoise="on" format="<b>$pattern(^\-\-\-\+*?\s([^\n\r]*).*)</b>"}%" else="<b>%TOPICNAME%</b>"}%

In the standard mailnotify.tmpl template I replaced the line of code below with the line of code I wrote above. I am wondering if this is how I do this, or if I have to change /tools/mailnotify.pm as well?

Original Line for searching: <b>%MAKETEXT("Changed:")%</b> (%MAKETEXT{MAKETEXT{now [_1]" args=%DISPLAYTIME{"$hour:$min}%"}%}

-- DanielBeaulieu - 2009-12-21

Discussion and Answer

Closing this question after more than 30 days of inactivity. Feel free to reopen if needed. Consider engaging one of the TWiki consultants if you need timely help. We invite you to get involved with the community, it is more likely you get community support if you support the open source project!

-- PeterThoeny - 2010-02-02

      Change status to:
ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
SupportForm
Status Unanswered
Title Customized Webnotify Notification Emails
SupportCategory CategoryEmail
TWiki version 4.3.2
Server OS Solaris
Web server Apache 2.2
Perl version 5.8.8
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2010-02-02 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.