temboz - Check-in [443]
Not logged in
[Honeypot]  [Browse]  [Help]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline]  [Wiki
  [Patchset]  [Tagging/Branching
Check-in Number: 443
Date: 2009-Oct-25 14:06:29 (local)
2009-Oct-25 21:06:29 (UTC)
User:majid
Branch:
Comment: strip Feedix ads (e.g. Le Figaro)
Tickets:
Inspections:
Files:
temboz/transform.py      1.34 -> 1.35     3 inserted, 0 deleted

temboz/transform.py 1.34 -> 1.35
--- /tmp/T0xnaqr0	Mon Sep  6 18:04:38 2010
+++ /tmp/T1ynaqr0	Mon Sep  6 18:04:38 2010
@@ -128,6 +128,9 @@
             re.MULTILINE),
   # Inquirer blegging
   degunk.Re('<div class="mf-viral">.*</div>'),
+  # Feediz ads
+  degunk.Re('<p>.*?feediz.com.*?</p>', re.MULTILINE + re.DOTALL),
+  degunk.Re('<a[^>]*feediz.com*?</a>', re.MULTILINE + re.DOTALL),
   # Salon ads
   degunk.Re('<p><a href="http://feeds.salon.com/~a[^>]*><img '
             '[^>]*></a></p><img[^>]*>'),