Flickr_sidebar plugin patch

Hi,

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

Example URL:

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.’ )

I’m not sure how that text got mangled. In any case, I’ve created a
new trac ticket for this issue. Sorry for any inconvenience.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs