Flickr_sidebar plugin patch


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

Example URL:

My Flickr RSS feed:
[email protected]&lang=en-us&format=rss_200"
target="_blank">[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 @@

  def image
  •  description.scan( /(http:\/\/(farm1|farm2|static|photos).*?


  •  description.scan( /(http:\/\/(farm\d+|static|photos).*?\.jpg)/

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