]> git.pld-linux.org Git - packages/clive.git/blobdiff - clive-reporter.patch
- updated for 2.1.10
[packages/clive.git] / clive-reporter.patch
index 6f95b4c29a97569796828d06a205330acb29e2e0..2b73d6ad80244977f647661cca7205a6ba486638 100644 (file)
@@ -1,22 +1,21 @@
---- clive-2.1.9/clive~  2009-03-30 12:13:37.000000000 +0200
-+++ clive-2.1.9/clive   2009-03-30 12:15:01.000000000 +0200
-@@ -86,6 +86,7 @@
-                  IsEvisor    => qr|evisor.tv|i,
+--- clive-2.1.10/clive~ 2009-04-27 11:29:24.000000000 +0200
++++ clive-2.1.10/clive  2009-04-27 11:30:52.000000000 +0200
+@@ -88,6 +88,7 @@
                   IsDmotion   => qr|dailymotion.com|i,
+                  IsCctv      => qr|tv.cctv.com|i,
                   IsDelfi     => qr|.delfi.|i,
 +                IsReporter  => qr|www.reporter.ee|i,
                 );
 
+ my @re_hosts_arr = (
+@@ -101,6 +102,7 @@
+                     [$re_hosts{IsDmotion},   \&handle_dmotion],
+                     [$re_hosts{IsCctv},      \&handle_cctv],
+                     [$re_hosts{IsDelfi},     \&handle_delfi],
++                   [$re_hosts{IsReporter},  \&handle_reporter],
+                    );
+
  # Parse config
-@@ -328,6 +328,8 @@
-         ($xurl, $id) = handle_dmotion($response_ref);
-     } elsif ( $url =~ /$re_hosts{IsDelfi}/ ) {
-        ($xurl, $id) = handle_delfi($response_ref, $response_fh);
-+    } elsif ( $url =~ /$re_hosts{IsReporter}/ ) {
-+       ($xurl, $id) = handle_reporter($response_ref, $response_fh);
-     }
-     return -1
-         if !$xurl or !$id or !$title;
 @@ -369,6 +372,14 @@
                          $content_ok = 1;
                      }
This page took 0.095578 seconds and 4 git commands to generate.