Fixes #4 show html feeds before xml feeds

A very simple fix, just insert html feeds at position 0 instead of
appending them to the list.  This ensures that html feeds are always
listed first
This commit is contained in:
BenRoberts 2015-02-04 13:32:29 -05:00
parent 254b0ac5b6
commit 504052bee6

View file

@ -217,7 +217,7 @@ def find_possible_feeds(origin):
hfeed = mf2util.interpret_feed(mf2py.parse(doc=resp.text), origin)
if hfeed.get('entries'):
feeds.append({
feeds.insert(0,{
'origin': origin,
'feed': origin,
'type': 'html',