projects
/
dana
/
openbox-web.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2efddc
)
skip private twitter retweets
test
author
Dana Jansens
<danakj@orodu.net>
Wed, 22 Sep 2010 18:27:13 +0000
(14:27 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Wed, 22 Sep 2010 18:27:13 +0000
(14:27 -0400)
h/agg.php
patch
|
blob
|
history
diff --git
a/h/agg.php
b/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
}