Content-type: text/html Manpage of rnews

rnews

Section: Misc. Reference Manual Pages (June 22, 2004)
Updated:
Index Return to Main Contents

 

ABOUT

rnews is a small rss/rdf fetcher of newssites as slashdot or freshmeat. it depends on ruby and rexml and makes use of a cachefile for saving newsfeeds for a given cachetime for speedup.  

USAGE

rnews [-hvlstn] [-f rcfile] [-c nr,nr] [-S sec] short|uri_of_rss_file  

OPTIONS

--help
-h display help
--version
-v display version
--stdin
-s use stdin as input
--list
-l list available shortcuts
--list-colors -C
list available colornames
--titles-only -t
only titles
--mini
-m minimode, titles and urls
--choose
-c nr,nr-nr choose
--no-colors
-n output wihtout colors
--config
-f rcfile configfile to use
--sleep
-S sec time to sleep between 2 calls
--regexp
-r regexp regexp to find the items
--order
-O mode sort-order
--textwidth
-T column textwidth
 

EXAMPLES

shell $> rnews fm

shell $> rnews -t fm
=> only fm-titles
shell $> rnews -c 1-5,7
=> news 1,2,3,4,5 and 7
 

RCFILE

$HOME/.rnewsrc.xml (prefered) :

  <rnews>
    <default shortcut="sl" />
    <options>
      <order>id</order>
      <textwidth>75</textwidth>
    </options>
    <colors>
      <text fg="white" bg="black" />
      <uri fg="yellow" bg="white" />
      <title fg="green" bg="black" />
    </colors>
    <sites>
      <site comment="slashdots finest" 
            shortcut="sl" 
            regexp="*/item" 
            cachetime="60">slashdot.org/slashdot.rss</site>
      <site comment="ruby news" 
            shortcut="r" >ruby-lang.org/en/index.rdf</site>
    </sites>
  </rnews>

$HOME/.rnewsrc (deprecated) :

  # - comment
  empty or lines full of spacecharacter are ignored

  short uri_to_rss_file regxp

  eg:

    sl slashdot.org/slashdot.rss */item

 

FILES

$HOME/.rnewsrc.xml
- configfile
$HOME/.rnewsrc
- configfile (deprecated)
/tmp/rnews.cache
- cache-file
 

AUTHOR

mathias gumz < gumz at dot cs minus magdeburg.de > falk feuersenger < feuersen at dot cs minus magdeburg.de >


 

Index

ABOUT
USAGE
OPTIONS
EXAMPLES
RCFILE
FILES
AUTHOR

This document was created by man2html, using the manual pages.
Time: 12:52:46 GMT, June 22, 2004