+++ /dev/null
-fh, the feed handler
-
-fh is a feed reader which is designed,
-contrary to the more common feed readers,
-to be used only from the command line.
-It has no proper interface because it is
-a collection of programs that work
-cooperatively.
-
-Quick usage guide
-=================
-
-fh is for the moment, composed of three
-programs :
-fh-inc, which downloads the feeds from
- the internet
-
-fh-fetch, which selects feeds according
- to a given pattern
-
-fh-show, which display the feeds on the
- screen
-
-fh-fetch and fh-show are two different
-programs because I wanted to give to
-the user the possibility of grepping an
-input feed and still to be able to read
-the whole feed.
\ No newline at end of file
+++ /dev/null
-#!/usr/bin/ruby
-#
-# Fetch the specified entries.
-# Arguments : fh-fetch from date [to date]
-# feeds *feed-name-regexp*
-#
-
-require "Time"
-
-fh_to = Time.new()
-fh_from = fh_to - 2592000 # It's yesterday
-
-feeds = "*"
-
-ARGV.length.times do | i |
- if (ARGV[i] == "from")
- fh_from = Time.parse(ARGV[i+1])
-
- end
-
- if (ARGV[i] == "to")
- fh_to = Time.parse(ARGV[i+1])
- end
-
- if (ARGV[i] == "feeds")
- feeds = ARGV[i+1]
- end
-
-end
+++ /dev/null
-#!/usr/bin/ruby
-#
-# Fetch the specified entries.
-# Arguments : fh-show from date [to date]
-# feeds *feed-name-regexp*
-#
-
-require "Time"
-
-fh_to = Time.new()
-fh_from = fh_to - 2592000 # It's yesterday
-
-feeds = "*"
-
-ARGV.length.times do | i |
- if (ARGV[i] == "from")
- fh_from = Time.parse(ARGV[i+1])
-
- end
-
- if (ARGV[i] == "to")
- fh_to = Time.parse(ARGV[i+1])
- end
-
- if (ARGV[i] == "feeds")
- feeds = ARGV[i+1]
- end
-
-end