Hi,

In my Flickr RSS feed, the thumbnails are served from a farm3 server  
that
the flickr_sidebar plugin won't recognize.

Example URL:
http://farm3.static.flickr.com/2183/2132950954_c0099cf7a2_m.jpg

My Flickr RSS feed:
[EMAIL PROTECTED]&lang=en-us&format=rss_200" 
target="_blank">http://api.flickr.com/services/feeds/[EMAIL 
PROTECTED]&lang=en-us&format=rss_200




This seems to fix it for me.

Index: lib/flickr.rb
===================================================================
--- lib/flickr.rb       (revision 1617)
+++ lib/flickr.rb       (working copy)
@@ -35,7 +35,7 @@
      end

      def image
-      description.scan( /(http:\/\/(farm1|farm2|static|photos).*? 
\.jpg)/
).first.first
+      description.scan( /(http:\/\/(farm\d+|static|photos).*?\.jpg)/
).first.first
      end
      def thumb
        image.gsub( /\_m\./, '_t.' )
_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list

Reply via email to