
Security News
Astral Launches pyx: A Python-Native Package Registry
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
= RSS Feed
== Synopsis
Fetch RSS feeds, collect entries using Feedzirra gem and feed your database.
== Installation
gem install rss-feed
Or put in your +Gemfile+:
gem "rss-feed"
Then (obviously) type +bundle+ in your favorite command line interface.
You may encounter some issue when installing (I did). Some dependencies must be satisfied. On Ubuntu, the dependencies can be satisfied by installing the following packages:
sudo apt-get install libcurl3 libcurl3-gnutls libcurl4-openssl-dev
Please visit for extra information: https://github.com/taf2/curb
== Usage
In your model:
class Article include Mongoid::Document include Rss::Feed
# Add this line to set which RSS feed this model must subscribe to
subscribes_to "https://news.google.fr/news/feeds?output=rss"
end
Your model get thus some methods:
Article.feed_url # => "https://news.google.fr/news/feeds?output=rss"
Article.feed_entries # => [] # because the feed has not been loaded
Article.get_feed Article.feed_entries # => the collection of the feed entries
Article.update_from_feed
== Rake task
A Rake task has been implemented to enable you automatically get new feed entries for every models that have subscribed to an RSS feed (i.e. +Model.subscribes_to+ is present in your involved models). Simply do:
rake rss:feed:update
== Contributing to RSS Feed
== Copyright
Copyright (c) 2012 Sebastien Azimi. See LICENSE.txt for further details.
FAQs
Unknown package
We found that rss-feed demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.
Security News
The latest Opengrep releases add Apex scanning, precision rule tuning, and performance gains for open source static code analysis.