skip private twitter retweets test
authorDana Jansens <danakj@orodu.net>
Wed, 22 Sep 2010 18:27:13 +0000 (14:27 -0400)
committerDana Jansens <danakj@orodu.net>
Wed, 22 Sep 2010 18:27:13 +0000 (14:27 -0400)
h/agg.php

index 8dbcd35..76f1df3 100644 (file)
--- a/h/agg.php
+++ b/h/agg.php
@@ -100,7 +100,7 @@ function read_feed($feed, $f, $n, $skiptwitterreplies)
     $i['text'] = preg_replace('/<script(>| .*?>).*?<\/script(>| .*?>)/s', '', $i['text']);
 
     if ($skiptwitterreplies) {
-      if (preg_match('/^[a-zA-Z0-9_]+: @[a-zA-Z0-9_\/]+/', $i['title']))
+      if (preg_match('/^[a-zA-Z0-9_]+: (♺ )?@[a-zA-Z0-9_\/]+/', $i['title']))
         continue; // skip this
     }