Add exmaple XML file.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 4 Jan 2013 16:55:06 +0000 (17:55 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 4 Jan 2013 16:55:06 +0000 (17:55 +0100)
src/main/resources/chains/kickasstorrents-example.xml [new file with mode: 0644]

diff --git a/src/main/resources/chains/kickasstorrents-example.xml b/src/main/resources/chains/kickasstorrents-example.xml
new file mode 100644 (file)
index 0000000..af77816
--- /dev/null
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="utf-8"?>
+<chain>
+
+       <enabled>false</enabled>
+
+       <query>
+               <class>HttpQuery</class>
+               <parameters>
+                       <parameter>
+                               <name>url</name>
+                               <value>http://kat.ph/usearch/example%20words/?field=time_add&amp;sorder=desc</value>
+                       </parameter>
+               </parameters>
+       </query>
+
+       <filters>
+               <filter>
+                       <class>HtmlFilter</class>
+               </filter>
+               <filter>
+                       <class>KickAssTorrentsFilter</class>
+               </filter>
+       </filters>
+
+       <trigger>
+               <class>NewTorrentTrigger</class>
+       </trigger>
+
+       <action>
+               <class>EmailAction</class>
+               <parameters>
+                       <parameter>
+                               <name>smtpHostname</name>
+                               <value>smtp</value>
+                       </parameter>
+                       <parameter>
+                               <name>sender</name>
+                               <value>reactor@reactor.de</value>
+                       </parameter>
+                       <parameter>
+                               <name>recipient</name>
+                               <value>recipient@recipient.de</value>
+                       </parameter>
+               </parameters>
+       </action>
+
+       <updateInterval>3600</updateInterval>
+
+</chain>