[dw-free] Auto-discovery when creating a feed should use the first available feed, not the last
[commit: http://hg.dwscoalition.org/dw-free/rev/ba00f4eb46b7]
http://bugs.dwscoalition.org/show_bug.cgi?id=3557
Stop after finding a good feed, instead going through all feeds on the page
and settling on the last.
Patch by
fu.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3557
Stop after finding a good feed, instead going through all feeds on the page
and settling on the last.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- htdocs/feeds/index.bml
-------------------------------------------------------------------------------- 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; } } --------------------------------------------------------------------------------