Stop after finding a good feed, instead going through all feeds on the 
page and settling on the last.

        Patch by fu. 

diffs (11 lines):

diff -r a8c46e5beb1d -r ba00f4eb46b7 htdocs/feeds/index.bml
--- a/htdocs/feeds/index.bml    Tue Mar 08 14:41:55 2011 +0800
+++ b/htdocs/feeds/index.bml    Tue Mar 08 14:58:16 2011 +0800
@@ -115,6 +115,7 @@ body<=
                         $val =~ m!type=.application/(?:rss|atom)\+xml.!i &&
                         $val =~ m!href=[\"\'](http://[^\"\']+)[\"\']!i) {
                         $syn_url = $1;
+                        last;
                     }
                 }
 
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to