|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
alt email notifier plugin xml config filesDoes anyone have any experience with the alternate version of the email
notifier plugin at http://kaukoluwiki.opendfki.de/wiki/EmailNotifier Specifically, I'm need to create the xml config files referenced in the install docs: add lines to jspwiki.properties: notification.configurationfile = /path/to/notification-configfile.xml notification.simplesubscriptionprovider.configurationfile = /path/to/notification-subscriberslist.xml Trouble is, I have no idea what the defs are. Does anyone have examples of these files? Thanks, Lou |
|
|
Re: alt email notifier plugin xml config files-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 OK, I generated a sample file that you can use to get the plugin working. It's pretty simple and is just used to get the plugin started - - the plugin will add/overwrite this file as needed: <notifier.plugin.emailnotifier.SubscriptionManagerData> <username2EMail> <entry> <string>someuser</string> <string>someuser@...</string> </entry> </username2EMail> <username2Patterns> <entry> <string>someuser</string> <linked-list> <string>+ABC</string> <string>+XYZ</string> </linked-list> </entry> </username2Patterns> <page2NotifiedVersion> <entry> <string>ECDevMtg20071205</string> <int>1</int> </entry> </page2NotifiedVersion> </notifier.plugin.emailnotifier.SubscriptionManagerData> You'll probably need to change the path in the "SubscriptionManagerData" tag. Also, three other notes to get the plugin working correctly (in addition to the notes in the readme): 1. You need to add the xstream jar (i.e. xstream-1.2.jar) to the lib directory. 2. There is a minor syntax error in the html in EmailNotifierPlugin.java: The DEFAULT_ADMIN_PATTERN, DEFAULT_CONFIG_PATTERN and DEFAULT_SUBSCRIBE_PATTERN string don't terminate their divs correctly. You will need to change the ending <div> to be </div> and it will format nicely with the rest of the wiki. 3. The getDiff call in NotifierTask.java no longer works - I commented it out for now. If I remember correctly, that's about it. It's a nice plugin and works quite well with 2.8.1. - -Lou Louis Masters wrote: > Does anyone have any experience with the alternate version of the email > notifier plugin at http://kaukoluwiki.opendfki.de/wiki/EmailNotifier > > Specifically, I'm need to create the xml config files referenced in the > install docs: > > add lines to jspwiki.properties: > notification.configurationfile = /path/to/notification-configfile.xml > notification.simplesubscriptionprovider.configurationfile = > /path/to/notification-subscriberslist.xml > > Trouble is, I have no idea what the defs are. > > Does anyone have examples of these files? > > Thanks, > Lou > > > > > - -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LOG-NET, Inc. The Logistics Network Management System ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 230 Half Mile Road Third Floor Red Bank, NJ 07701 PH: 732-758-6800 FAX: 732-747-7497 http://www.LOG-NET.com ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CONFIDENTIAL & PRIVILEGED Unless otherwise indicated or if obvious from the nature of the content, the information contained herein is privileged and confidential information/work product. The communication is intended for the use of the individual or entity named above. If the reader of this transmission is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone (732-747-7699) or by electronic mail (postmaster@...), and destroy any copies, electronic, paper or otherwise, which you may have of this communication. Thank you. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJKcYwZAAoJEB5I0Z6xpWTUfTQIAIoCN6U4NEpfcn1U4QQNpwcB X1WOxQQu9LpBBhS4fSeB2A1rj45k9WLbITivaAr5BfosEoaTN56tq7XgvdgKClNq xcbOnsgA0biuBHytgk0nKcPCQvI3NJzye4kEK6PnDMnh/A4LkhlVSBviWb4pGx1i 9D7ld0+J/hZ2kL7uc8aut5Amu7CTHb52+GmgQtA7E/VzlJfRRIZEkYpFSWwfuJgI /RKo72QqdR5k9B37VCZ689d0YcwtzIbXMG92+1zVNDjBqtx0R2HzBH+a7MBc33ya UyZyLvhJgdc+vIVWboClA+LsZvQ28eA9o++HzXBOrErsqUDCcWWEwgDmbeDr2Zs= =Z7QH -----END PGP SIGNATURE----- |
| Free embeddable forum powered by Nabble | Forum Help |