Commit dc8d6f65c4d060201b45db609d05529a77fd9874

Added support for Gitorious activity feed.
entry.py
(4 / 1)
  
11#!/bin/python
22# coding: utf-8
33
4#TODO: Check number of comments, if a comments feed exists (Techdirt like)
4#TODO: Check number of comments, if a comments feed exists
55
66import time
77import re
358358 # Third paragraph is description (optional)
359359 if len(x.childNodes[0].childNodes) >= 3:
360360 self.summary = x.childNodes[0].childNodes[2].childNodes[0].toxml()
361
362class GitoriousUpdate(Entry):
363 pass
361364
362365class GoogleReaderSharedItem(SharedItem):
363366 """Don't want tags because I didn't create them."""
feed.py
(3 / 0)
  
217217 Multimedia.parse(self)
218218 self.title = 'Flickr ' + self.title
219219
220class Gitorious(Feed):
221 entryClass = entry.GitoriousUpdate
222
220223class GoogleReaderSharedItems(SharedItems):
221224 entryClass = entry.GoogleReaderSharedItem
222225 def get_timestamp(self):