GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
SFEED_WEB(1) FreeBSD General Commands Manual SFEED_WEB(1)

sfeed_web
finds URLs to feeds from a HTML webpage

sfeed_web [baseurl]

sfeed_web reads the HTML data of the webpage from stdin and writes the found URLs to stdout.

Such a link reference in HTML code looks like:

	<link rel="alternate" href="atom.xml" type="application/atom+xml" />

baseurl
Optional base URL to use for found feed URLs that are relative.

url<TAB>content-type<newline>
URL
Found relative or absolute URL.

For relative URLs if a <base href="..." /> tag is found it will be used, otherwise if the baseurl option is specified then that is used, if neither are set then the relative URL is printed.

content-type
Usually application/atom+xml or application/rss+xml.

The sfeed_web utility exits 0 on success, and >0 if an error occurs.

Get URLs from a website:
curl -s -L 'https://codemadness.org/' | sfeed_web 'https://codemadness.org/'

sfeed_update(1), sh(1)

Hiltjo Posthuma <hiltjo@codemadness.org>
July 27, 2021 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.