tomee-commits mailing list archives

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

URL: http://svn.apache.org/viewvc?rev=1183770&view=rev
Log:
stab at a slightly filtered twitter feed

Added:
    openejb/site/trunk/content/dyn/twitter.cgi   (with props)

Added: openejb/site/trunk/content/dyn/twitter.cgi
URL: http://svn.apache.org/viewvc/openejb/site/trunk/content/dyn/twitter.cgi?rev=1183770&view=auto
==============================================================================
--- openejb/site/trunk/content/dyn/twitter.cgi (added)
+++ openejb/site/trunk/content/dyn/twitter.cgi Sun Oct 16 00:07:07 2011
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+echo "Content-Type: text/xml"
+echo ""
+
+wget -q  -O - 'http://search.twitter.com/search.atom?q=tomee' | perl -pe 's,(<entry>.*?</entry>),\n$1\n,g'|
perl -pe 's,<entry>.*?</entry>,, unless m/TomEE/'

Propchange: openejb/site/trunk/content/dyn/twitter.cgi
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: openejb/site/trunk/content/dyn/twitter.cgi
------------------------------------------------------------------------------
    svn:executable = *



Mime
View raw message