@@ -68,20 +68,20 @@ class OmnibusFeed(ConservancyFeedBase):
link ="/news/"
title = "The Software Freedom Conservancy"
description = "An aggregated feed of all RSS content available from the Software Freedom Conservancy, including both news items and blogs."
title_template = "feeds/omnibus_title.html"
description_template = "feeds/omnibus_description.html"
author_email = "info@sfconservancy.org"
author_link = "http://sfconservancy.org/"
author_link = "https://sfconservancy.org/"
author_name = "Software Freedom Conservancy"
def item_enclosure_mime_type(self): return "audio/mpeg"
def item_enclosure_url(self, item):
if hasattr(item, 'mp3_path'):
return "http://sfconservancy.org" + item.mp3_path
return "https://sfconservancy.org" + item.mp3_path
def item_enclosure_length(self, item):
return item.mp3_length
def item_pubdate(self, item):
return item.pub_date
@@ -90,13 +90,13 @@ class OmnibusFeed(ConservancyFeedBase):
if item.omnibus_type == "blog":
return item.author.formal_name
else:
return "Software Freedom Conservancy"
def item_author_link(self, obj):
return "http://sfconservancy.org"
return "https://sfconservancy.org"
def item_author_email(self, item):
if item.omnibus_type == "news":
return "info@sfconservancy.org"
elif hasattr(item, 'author'):
return "%s@sfconservancy.org" % item.author