Changeset - d461c1bc86f7
[Not reviewed]
4 1 2
Ben Sturmfels (bsturmfels) - 2 months ago 2024-03-06 06:34:48
ben@sturm.com.au
podjango: Add The Corresponding Source logo to feed
7 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
conservancy/podjango/feeds.py
Show inline comments
...
 
@@ -50,31 +50,31 @@ class CastFeedBase(Feed):
 
        year = 2008
 
        for attr in ('pub_date', 'date_created', 'date_last_modified'):
 
            if hasattr(item, attr):
 
                if hasattr(getattr(item, attr), 'year'):
 
                    year = getattr(getattr(item, attr), 'year')
 
                    break
 
        return {'year': year}
 

	
 

	
 
def for_podcast_feed_extra_kwargs(self, obj):
 
    return {
 
        'managingEditorNames': 'Bradley and Karen',
 
        'rssImage': {'url': 'https://sfconservancy.org/static/podjango/img/cast/faif_144x144.jpg',
 
        'rssImage': {'url': 'https://sfconservancy.org/static/podjango/img/cast/tcs_300x300.jpg',
 
                     'width': '144', 'height': '144'},
 
        'webMaster': 'oggcast@faif.us (Bradley and Karen)',
 
        'dcCreator': 'oggcast@faif.us (Bradley and Karen)',
 
        'iTunesExplicit': 'No',
 
        'iTunesBlock': 'No',
 
        'iTunesImage': {'url': 'https://sfconservancy.org/static/podjango/img/cast/faif_300x300.jpg',
 
        'iTunesImage': {'url': 'https://sfconservancy.org/static/podjango/img/cast/tcs_300x300.jpg',
 
                        'title': 'The Corresponding Source (formerly Free as in Freedom)',
 
                        'link': self.author_link,
 
                        'type': 'video/jpg'},
 
        'category': {'name': 'Government & Organizations', 'scheme': 'http://www.itunes.com/dtds/podcast-1.0.dtd',
 
                     'subcats': ['Non-Profit']},
 
        'keywords': 'open source, opensource, freesoftware, software freedom, legal, law, linux, free, license, gpl, lgpl, agpl, bsd',
 
        'iTunesAuthor': 'Software Freedom Conservancy',
 
        'iTunesSubtitle': 'Bi-Weekly Discussion of Legal, Policy, and Any other Issues in the Free, Libre, and Open Source Software (FLOSS) Community',
 
        'copyrightHolder': self.copyright_holder(),
 
        'copyrightLicense': self.license_no_html(),
 
    }
 

	
conservancy/podjango/static/podjango/img/cast/faif_144x144.jpg
Show inline comments
 
deleted file
 
binary diff not shown
Show images
conservancy/podjango/static/podjango/img/cast/faif_200x200.jpg
Show inline comments
 
deleted file
 
binary diff not shown
Show images
conservancy/podjango/static/podjango/img/cast/faif_300x300.jpg
Show inline comments
 
deleted file
 
binary diff not shown
Show images
conservancy/podjango/static/podjango/img/cast/faif_300x300.xcf
Show inline comments
 
deleted file
 
binary diff not shown
conservancy/podjango/static/podjango/img/cast/tcs_300x300.jpg
Show inline comments
 
new file 100644
 
binary diff not shown
Show images
conservancy/podjango/static/podjango/img/cast/tcs_300x300.xcf
Show inline comments
 
new file 100644
 
binary diff not shown
0 comments (0 inline, 0 general)