tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dblev...@apache.org
Subject svn commit: r1183773 - /openejb/site/trunk/content/dyn/twitter.cgi
Date Sun, 16 Oct 2011 00:25:38 GMT
Author: dblevins
Date: Sun Oct 16 00:25:37 2011
New Revision: 1183773

URL: http://svn.apache.org/viewvc?rev=1183773&view=rev
Log:
accept feeds that use case sensitive TomEE or also contain "apache" (not case-sensitive)

Modified:
    openejb/site/trunk/content/dyn/twitter.cgi

Modified: openejb/site/trunk/content/dyn/twitter.cgi
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/dyn/twitter.cgi?rev=1183773&r1=1183772&r2=1183773&view=diff
==============================================================================
--- openejb/site/trunk/content/dyn/twitter.cgi (original)
+++ openejb/site/trunk/content/dyn/twitter.cgi Sun Oct 16 00:25:37 2011
@@ -3,4 +3,8 @@
 echo "Content-Type: text/xml"
 echo ""
 
-wget -q  -O - 'http://search.twitter.com/search.atom?q=tomee' | tr '\n\r' '  '| perl -pe
's,(<entry>),\n$1,g; s,(</entry>),$1\n,g;'| perl -pe 's,<entry>.*?</entry>,,
unless m/TomEE/'
+wget -q  -O - 'http://search.twitter.com/search.atom?q=tomee' | \
+    tr '\n\r' '  '| \
+    perl -pe 's,(<entry>),\n$1,g; s,(</entry>),$1\n,g;'| \
+    perl -pe 's,<entry>.*?</entry>,, unless (m/TomEE/ || m/apache/i)'
+



Mime
View raw message