feedstail

A tail-f-like utility for feeds
Download

feedstail Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL v3
  • Publisher Name:
  • Romain Gauthier
  • Publisher web site:
  • http://masteri2l.org

feedstail Tags


feedstail Description

A tail-f-like utility for feeds feedstail is a tail-f-like utility for RSS/Atom feeds. It monitor a feed and emits new entries. Feedstail aim to be simple, hackable and compatible with rsstail its C brother.Get startedUse pip to install feedstail the easy way:pip install feedstailOr retrieve the project with git and install it:git clone git://gitorious.org/feedstail/feedstail.gitcd feedstailpython setup.py installThen, launch feedstail with the identi.ca feeds to test it:feedstail -u http://identi.ca/api/statuses/public_timeline.atomExamples:By default, feedstail will checkout the feeds every 15 minutes. If you want to customize this interval you can use the i option. The following example will retrieve feeds every 5 seconds:feedstail -u http://identi.ca/api/statuses/public_timeline.atom -i 5The default output format may not be ok for you. You can specify your own format using the f option. The given fields must be an available property of the feed entries. The following example will output the published date, the title and the link:feedstail -u http://identi.ca/api/statuses/public_timeline.atom -f "{published}: {title} - {link}"This last example use the string formatting syntax appeared in the 2.6 version of Python. However, feedstail aim to be 2.5 compatible so you can use the old string formatting syntax:feedstail -u http://identi.ca/api/statuses/public_timeline.atom -f "%(published)s: %(title)s - %(link)s"Feedstail compares the id element to find new entries. You can choose another element of comparison with the k option. The following example says to feedstail to use the title to find new entries:feedstail -u http://identi.ca/api/statuses/public_timeline.atom -i 2 -k titleAs feedstail is built above feedparser, the available values of format fields and keys can be found in the documentation of the library. Requirements: · Python


feedstail Related Software