#!/usr/bin/env python2.7                                                                                                                              

import feedparser

# deals with where all the feeds come in                                                                                                              
#feed = feedparser.parse('http://www.reddit.com/r/python/.rss')                                                                                       
#feed = feedparser.parse('http://feeds.bbci.co.uk/news/scotland/rss.xml?edition=uk')                                                                  

# multiple feed test                                                                                                                                  
FEED_List = [
    'http://feeds.bbci.co.uk/news/scotland/rss.xml?edition=uk',
    'http://www.gameinformer.com/b/MainFeed.aspx?Tags=preview',
    ]

feeds = []
for url in FEED_List:
    feeds.append(feedparser.parse(url))

for feed in feeds:
    for post in feed.entries:
        print len(post)
        print post.title
        
# deals with kewords                                                                                                                                  

keyword = 'hacked'

# parses and processes feeds                                                                                                                          

title = feed['entries'][1].title,
description =  feed['entries'][1].summary,
url = feed['entries'][1].link,
posts = []
for i in range(0,len(feed['entries'])):
    posts.append({
        'title': feed['entries'][i].title,
        'description': feed['entries'][i].summary,
        'url': feed['entries'][i].link,
    })

# searches feeds for keywords                                                                                                                         



# displays results                                                                                                                                    
print title
print description
print url
print 'Feed Details'
print '****'
print 'Available Feeds'
print feed['feed']['link']
print '****'
print 'Number of Entries'
print len(posts)
print 'Most Recent Entry'
print feed['entries'][0]['title']
print feed.entries[0]['link']
print feed


@@ -307,37 +307,37 @@
                %0A
-#
 feed
+a
  = feedparser.pa
@@ -352,131 +352,41 @@
 p://
-www.redd
+krebsonsecur
 it
+y
 .com/
-r/python/.rss')                                                                                       %0A#
+feed/')%0A
 feed
+b
  = f
@@ -410,128 +410,34 @@
 http
+s
 ://
-feeds.bbci.co.uk/news/scotland/rss.xml?edition=uk')                                                                  
+www.grc.com/news.htm')
 %0A%0A# 
@@ -615,57 +615,33 @@
 p://
-feeds.bbci.co.uk/news/scotland/rss.xml?edition=uk
+krebsonsecurity.com/feed/
 ',%0A 
@@ -648,24 +648,25 @@
    'http
+s
 ://www.g
 ameinfor
@@ -661,52 +661,23 @@
 ww.g
-ameinformer.com/b/MainFeed.aspx?Tags=preview
+rc.com/news.htm
 ',%0A 
@@ -805,16 +805,17 @@
 ntries:%0A
+#
         
@@ -829,16 +829,142 @@
 en(post)
+                                                                                                                              
 %0A       
@@ -981,24 +981,16 @@
 t.title%0A
-        
 %0A# deals
@@ -997,16 +997,17 @@
  with ke
+y
 words   
@@ -1315,24 +1315,25 @@
 title = feed
+a
 %5B'entries'%5D%5B
@@ -1357,24 +1357,25 @@
 tion =  feed
+a
 %5B'entries'%5D%5B
@@ -1392,24 +1392,25 @@
 ,%0Aurl = feed
+a
 %5B'entries'%5D%5B
@@ -1418,16 +1418,17 @@
 %5D.link,%0A
+%0A
 posts = 
@@ -1451,24 +1451,25 @@
 e(0,len(feed
+a
 %5B'entries'%5D)
@@ -1507,24 +1507,25 @@
 title': feed
+a
 %5B'entries'%5D%5B
@@ -1557,24 +1557,25 @@
 ption': feed
+a
 %5B'entries'%5D%5B
@@ -1601,24 +1601,25 @@
  'url': feed
+a
 %5B'entries'%5D%5B
@@ -1940,16 +1940,17 @@
        %0A
+#
 print ti
@@ -1956,36 +1956,448 @@
 itle
-%0Aprint description%0Aprint url
+                                                                                                                                          %0A#print description                                                                                                                                    %0A#print url                                                                                                                                            
 %0Apri
@@ -2461,16 +2461,17 @@
 int feed
+a
 %5B'feed'%5D
@@ -2571,16 +2571,17 @@
 int feed
+a
 %5B'entrie
@@ -2602,24 +2602,25 @@
 %5D%0Aprint feed
+a
 .entries%5B0%5D%5B
@@ -2623,24 +2623,25 @@
 %5B0%5D%5B'link'%5D%0A
+#
 print feed%0A%0A
@@ -2638,10 +2638,15 @@
 int feed
-%0A
+      
 %0A

Update main_working.py