Skip to content

Commit

Permalink
Remove TODOs in favor of GH issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Axel 'fREW' Schmidt committed Feb 28, 2016
1 parent 9b57e57 commit 99a3260
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions feedpipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from datetime import datetime


# TODO: document entry objects better (or better yet, make Steve do it.)
class FeedPipe(object):
""" FeedPipe is a tool to mutate feeds; it's your very own Yahoo Pipes.
Expand Down Expand Up @@ -65,7 +64,6 @@ def __init__(self,

self.entries = []

# TODO: this should be lazily pulled?
def cat(self, feeds):
"""Adds list of new entry_ objects to the FeedPipe
Expand All @@ -86,7 +84,6 @@ def cat(self, feeds):
Returns:
self: you know, for chaining!
"""
# TODO: *actually* make this handle all the stuff documented above
for feed in feeds:
data = feedparser.parse(feed)

Expand All @@ -102,7 +99,6 @@ def cat(self, feeds):
entry.updated = e.updated

if 'content' in e:
# TODO: this is sketchy
entry.content = e.content[0].value

if 'link' in e:
Expand All @@ -116,17 +112,10 @@ def cat(self, feeds):
try:
entry.published = e.published
except ValueError:
# TODO: this is the worst
entry.published = datetime.strptime(
e.published, '%a, %d %b %Y %H:%M:%S %Z'
).isoformat()

# TODO: Fix these
# entry.author =
# entry.category =
# entry.contributor =
# entry.source =
# entry.rights =
self.entries.append(entry)

return self
Expand Down

0 comments on commit 99a3260

Please sign in to comment.