Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pubsub(1) [mojave man page]

pubsub(1)						    BSD General Commands Manual 						 pubsub(1)

NAME
pubsub -- Utility for managing RSS/Atom subscriptions via the PubSub framework SYNOPSIS
pubsub [--client bundleID] subcommand [parameters] OPTIONS
The available options are as follows: --client Force tool to act as one specific client ENVIRONMENT
The pubsub tool is a command-line utility for interacting with the PubSub framework. It is intended for troubleshooting, as a simple way to see at a glance all the feed subscriptions that the agent will be periodically fetching, and to delete any left-over subscriptions (for exam- ple, of an application that's been deleted.) If the --client flag is given, the tool will act only on the PubSub client with the given bundle ID. For example, pubsub list will list only the feeds that client is subscribed to. Some subcommands, such as subscribe, require a client to be specified. The following subcommands are supported. Note that some have multi-word names. If no subcommand is given, a short listing of their names will be output. list Lists all feeds (of all clients, or of the specific client if the -client flag is given.) The title, URL and refresh interval of each feed are shown. Note that a feed subscribed by multiple clients will be listed once per client, and that each client may specify a different refresh interval. However, the PubSub agent will only fetch one copy of the feed, at the minimum interval. The interval is listed in parentheses if it is inherited from the client's default refresh interval. The interval is followed by a " * " if the feed will be refreshed even when the client application is not currently running. The interval is followed by a " * " if file enclosures will automatically be downloaded. list clients Lists all registered clients by bundle ID, along with their number of subscriptions. list client bundleID Lists only the feeds subscribed to by the given client. unsubscribe URL Unsubscribes from the feed with the given URL. subscribe URL Subscribes the client (which must be specified using --client ) to the given feed. list URL Lists all entries currently stored for the given feed. dump URL Prints the raw XML of the feed, as it was last fetched from the network. list entry identifier Lists the attributes of an individual entry, given its identifier (a 40-char hex string). dump entry identifier Prints the XML of an entry, given its identifier (a 40-char hex string). refresh URL Fetches the feed from the network immediately, and updates the database if it has changed. listen [timestamp] Installs a PSClient delegate and listens for changes to subscribed feeds and entries, printing messages when they occur. If a time- stamp is given, all changes that have occurred since that time will first be printed. The timestamp is given as a number of seconds since the system "reference date", i.e. the same as the result of -[NSDate timeIntervalSinceReferenceDate]. list downloads Lists all enclosures currently being downloaded. list enclosures Lists all enclosures, and their current download status. FILES
~/Library/PubSub/ Per-user PubSub configuration/data directory EXAMPLES
pubsub list pubsub --client com.example.SurfNews subscribe http://example.com/UninterestingFeed.xml pubsub unsubscribe http://example.com/UninterestingFeed.xml Mac OS X 10.5 February 1, 2007 Mac OS X 10.5

Check Out this Related Man Page

NRSS(1) 							       NRSS								   NRSS(1)

NAME
NRSS - An ncurses RSS reader DESCRIPTION
NRSS is an RSS reader built to use minimal amounts of external libraries, using a minimal interface while maintaining a featureful client. COMMAND LINE USAGE
-h Simple help -v Print version -c [num] Set number of columns -D [path] Set the configuration directory (default: ~/.nrss/) -C [path] Set the configuration file (default: ~/.nrss/config) -F [path] Set the feed directory (default: ~/.nrss/feeds) -L [path] Set the log file (default: ~/.nrss/log) INTERNAL USAGE
Within the program you can use the following (default) keys. These can be changed in your configuration file by using the "key" command. UP or DOWN Select previous or next item/feed (next) (prev) PGUP or PGDOWN Goto previous or next feed (next-feed) (prev-feed) h Display usage (toggle-usage) C Toggle collapse all feeds (toggle-collapse-all) Space Collapse a feed or read a story (default) g Use the defined browser to goto the item's URL (goto) x Show all items in feed (toggle-expand) r Refresh the current feed (refresh) R Refresh all (refresh-all) M Mark all read (mark-all-read) D Redraw screen (redraw) q Quit NRSS (quit) CONFIGURATION
The ~/.nrss/config file is where all of the configuration is. You can start by using the example config below. EXAMPLE CONFIG
default_rate "5" default_show "30" default_maxitems "50" #Add some feeds add "http://rss.slashdot.org/Slashdot/slashdot" "Slashdot" add "http://www.digg.com/rss/index.xml" "Digg All" add "http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml" "BBC" add "http://www.osnews.com/files/recent.xml" "OSNews" add "http://distrowatch.com/news/dw.xml" "DistroWatch" #Change rate for Slashdot rate "30" "Slashdot" #These aren't defaults, but examples browser "/usr/bin/elinks %u" #Text browsers should enable this browser_wait "1" FILES
~/.nrss/config Main configuration file. For advanced usage, see the online configuration documentation: http://codezen.org/nrss-config ~/.nrss/log Everyday log file. ~/.nrss/feeds/ This is where the raw XML is stored. BUGS
None known, but it's not outside of the realm of possibility =P. HOMEPAGE
http://codezen.org/nrss AUTHOR
Jack Miller <jjm2n4@umr.edu> Version 0.3.9 26 February 2008 NRSS(1)
Man Page