New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

govfeed

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

govfeed

  • 0.0.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Gem Name: Govfeed Author: Matthew Grigajtis Website: http://www.matthewgrigajtis.com

This Gem is meant to be a collection of Government, political, and Economic RSS\Atom feeds that are very easy to pull and parse. Since I couldn't find a RSS parsing Gem that worked well under Ruby 1.9.2, I decided to use Curb and Hricot. These two gems are required dependencies.

I tried to include all RSS\Atom feeds for Canada and the United States, but not all provinces\states have feeds. I hope to add many more in the future.

Usage is very simple. Include the Gem in whatever project you are using. Get getFeedList function will return the Hash array of feeds that are currently available. The getFeed(:fee_name, # of feeds to display) function will display a simple HTML output of the feed with class names in the Divs so you can add your own styling. The second parameter to the function is optional. If left out, it will display all feeds.

Here are the feeds currently available: :us_federal United States Federal Government :us_al Alabama :us_az Arizona :us_ca California :us_de Delaware :us_ga Georgia :us_hi Hawaii :us_il Illinois :us_in Indiana :us_ks Kansas :us_ky Kentucky :us_la Louisiana :us_me Maine :us_md Maryland :us_ma Massachusetts :us_mi Michigan :us_mo Missouri :us_nj New Jersey :us_nm New Mexico :us_ny New York :us_nc North Carolina :us_nd North Dakota :us_oh Ohio :us_ok Oklahoma :us_pa Pennsylvania :us_ri Rhode Island :us_sd South Dakota :us_tn Tennessee :us_tx Texas :us_va Virginia :us_vt Vermont :us_wa Washington :us_wv West Virginia :us_wi Wisconsin :cato The Cato Institute Think Tank :heritage The Heritage Foundation Think Tank :mises The Ludwig von Mises School of Economic Thought :ca_federal The Canadian Federal Government :ca_ab Alberta :ca_bc British Columbia :ca_mn Manitoba :ca_nb New Brunswick :ca_ns Novia Scotia :ca_on Ontario :ca_pe Prince Edward Island :ca_sk Seskatchawan

FAQs

Package last updated on 22 Oct 2011

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc