added new source and error checking - linuxgaming - Linux gaming aggregate tool, built to test out NodeJS.
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
       ---
 (DIR) commit 0a801a8887cd627d5af1b9f180bd5abf1fd0e82f
 (DIR) parent 5950af94525d08354ba175ee48ada067930cd353
 (HTM) Author: Jay Scott <me@jay.scot>
       Date:   Wed, 18 Jul 2018 00:10:50 +0100
       
       added new source and error checking
       
       Diffstat:
         M CHANGELOG                           |       9 +++++++--
         M TODO.md                             |       5 ++---
         M config/feed_config.yaml             |      12 ++++++++++--
         D linuxgaming/static/images/icons/go… |       0 
         A linuxgaming/static/images/icons/la… |       0 
         A linuxgaming/static/images/icons/xp… |       0 
         M linuxgaming/update.py               |       7 ++++++-
       
       7 files changed, 25 insertions(+), 8 deletions(-)
       ---
 (DIR) diff --git a/CHANGELOG b/CHANGELOG
       @@ -1,7 +1,11 @@
        
        
        
       +Wed 18 Jul
       +---
        
       +  - Added new source "Xpenguin"
       +  - RSS description check added.
        
        Tue 17 Jul
        ---
       @@ -13,4 +17,5 @@ Tue 17 Jul
         - Added type object to MongoDB
         - Added new type "podcast"
         - Added new search path
       - - Added new source, "Mostly Linux Podcast"
       -\ No newline at end of file
       + - Added new source, "Mostly Linux Podcast"
       + - Added GoG source and test page
       +\ No newline at end of file
 (DIR) diff --git a/TODO.md b/TODO.md
       @@ -12,5 +12,4 @@
          - Add menu with source info / about etc
          - Move updates to AWS Lambda function 
          - Add Itch.io games
       -  - Add Steam games
       -  - Add GoG
       -\ No newline at end of file
       +  - Add Steam games
       +\ No newline at end of file
 (DIR) diff --git a/config/feed_config.yaml b/config/feed_config.yaml
       @@ -72,4 +72,12 @@ MostlyLinux:
          rss:
            website: "http://mostlylinux.libsyn.com"
            type: "podcast"
       -    url: "http://mostlylinux.libsyn.com/rss"
       -\ No newline at end of file
       +    url: "http://mostlylinux.libsyn.com/rss"
       +
       +XPenguin:
       +  icon: "xpenguin.png"
       +  about: "A weekly Linux gaming podcast hosted by HexDSL and HamishTPB."
       +  rss:
       +    website: "http://xpenguin.club/"
       +    type: "podcast"
       +    url: "http://xpenguin.club/rss.xml"
       +\ No newline at end of file
 (DIR) diff --git a/linuxgaming/static/images/icons/gog.jpg b/linuxgaming/static/images/icons/gog.jpg
       Binary files differ.
 (DIR) diff --git a/linuxgaming/static/images/icons/large_xpenguin.png b/linuxgaming/static/images/icons/large_xpenguin.png
       Binary files differ.
 (DIR) diff --git a/linuxgaming/static/images/icons/xpenguin.png b/linuxgaming/static/images/icons/xpenguin.png
       Binary files differ.
 (DIR) diff --git a/linuxgaming/update.py b/linuxgaming/update.py
       @@ -35,10 +35,15 @@ def rss_update():
                for feed in feeds:
        
                    trimtitle = feed.title[0:150]
       +
       +            if not hasattr(feed, 'description'):
       +                description = ""
       +            else:
       +                description = feed.description
                    data = {"name": section,
                            "icon": feed_config[section]['icon'],
                            "title": trimtitle,
       -                    "description": feed.description,
       +                    "description": description,
                            "url": feed.link,
                            "type": feed_config[section]['rss']['type'],
                            "date": dateutil.parser.parse(feed.updated)}