Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add filter that should fix problem with Yahoo Pipes

  • Loading branch information...
commit 0ba41fbeefe00715c7d712906fc0b2b94aefcb92 1 parent b16d220
@alexott alexott authored
Showing with 9 additions and 0 deletions.
  1. +3 −0  clojure/config.ini
  2. +6 −0 filters/nopipeerrors.py
View
3  clojure/config.ini
@@ -25,6 +25,9 @@ feed_timeout = 20
# template_files: Space-separated list of output template files
template_files = clojure/index.html.tmpl clojure/atom.xml.tmpl clojure/rss20.xml.tmpl clojure/rss10.xml.tmpl clojure/opml.xml.tmpl clojure/foafroll.xml.tmpl
+# filters
+filters = nopipeerrors.py
+
# The following provide defaults for each template:
# output_dir: Directory to place output files
# items_per_page: How many items to put on each page
View
6 filters/nopipeerrors.py
@@ -0,0 +1,6 @@
+#remove all entries with Yahoo! Pipes error
+import sys
+
+data = sys.stdin.read()
+if data.find('No such pipe, or this pipe has been deleted') < 0:
+ sys.stdout.write(data)
Please sign in to comment.
Something went wrong with that request. Please try again.