]> projects.mako.cc - iron-blogger/commitdiff
Update scan-feeds so it can find kcr's links.
authorNelson Elhage <nelhage@mit.edu>
Sun, 3 Jan 2010 16:25:21 +0000 (11:25 -0500)
committerNelson Elhage <nelhage@mit.edu>
Sun, 3 Jan 2010 16:25:21 +0000 (11:25 -0500)
scan-feeds.py

index 998a1cc5e4c2dc722e8a28d970ec200ed8dcd334..6373316005a104baa2666ed68b980d23708e7831 100755 (executable)
@@ -29,6 +29,8 @@ def get_link(post):
             return links['alternate'].href
     if 'href' in post:
         return post.href
+    if 'link' in post:
+        return post.link
     return None
 
 def parse_feeds(weeks, uri):

Benjamin Mako Hill || Want to submit a patch?