SFEED_WEB(1) OpenBSD Reference Manual SFEED_WEB(1)

NAME

sfeed_webfinds urls to feeds from a HTML webpage

SYNOPSIS

sfeed_web [baseurl]

DESCRIPTION

sfeed_web reads the HTML website as XML or HTML data from stdin and writes the found urls to stdout.

OPTIONS

baseurl
optional base url to use for found feed urls that are relative.

OUTPUT FORMAT

content-type<space>url<newline>
content-type
Usually application/atom+xml or application/rss+xml.
url
Found url to the feed. If the url is relative and the baseurl option is specified then the url is changed accordingly.

EXAMPLES

Get urls from xkcd website:

wget http://www.xkcd.com -q -O - | sfeed_web "http://www.xkcd.com/"

SEE ALSO

sh(1), sfeed_update(1)

AUTHORS

Hiltjo Posthuma <hiltjo@codemadness.org>
December 25, 2014