Author: duncan
Date: Mon Jan 15 21:14:01 2007
New Revision: 8983

Modified:
   branches/rel-1/freevo/src/rssfeed.py

Log:
[ 1635513 ] Rss fix for some urls with tabs and spaces
Patch from Justin Wetherell applied


Modified: branches/rel-1/freevo/src/rssfeed.py
==============================================================================
--- branches/rel-1/freevo/src/rssfeed.py        (original)
+++ branches/rel-1/freevo/src/rssfeed.py        Mon Jan 15 21:14:01 2007
@@ -54,7 +54,7 @@
         itemPattern = re.compile('<item>.*?</item>',re.DOTALL)
         titlePattern = re.compile('<title>.*?</title>',re.DOTALL)
         descriptionPattern = 
re.compile('<description>.*?</description>',re.DOTALL)
-        urlPattern = re.compile('<enclosure url=".*?/>',re.DOTALL)
+        urlPattern = re.compile('<enclosure[^>]*?url=".*?/>',re.DOTALL)
         btPattern = re.compile('<link>.*?</link>',re.DOTALL)
         datePattern = re.compile('<pubDate>.*?</pubDate>',re.DOTALL)
 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog

Reply via email to