Sha256: aa7160a8a6240d3b67afd50107616103fcd80aa28d2edbcbaa2f4de7388d539f

Contents?: true

Size: 400 Bytes

Versions: 2

Compression:

Stored size: 400 Bytes

Contents

class FortythreeplacesSidebar < Sidebar
  display_name "43places"
  description 'List of your <a href="http://www.43places.com/">43places.com</a>.'

  setting :feed, 'http://www.43places.com/rss/uber/author?username=USER', :label => 'Feed URL'
  setting :count, 43, :label => 'Items limit'

  lifetime 1.day

  def fortythreeplaces
    @fortythreeplaces ||= Fortythree.new(feed) rescue nil
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typo-4.1.1 vendor/plugins/fortythreeplaces_sidebar/lib/fortythreeplaces_sidebar.rb
typo-4.1 vendor/plugins/fortythreeplaces_sidebar/lib/fortythreeplaces_sidebar.rb