summaryrefslogtreecommitdiff
path: root/doc/html/sfeed.1.html
blob: 15f35e65dc20b87aaf118de624a59ba5d498f738 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="resource-type" content="document">
<link rel="stylesheet" href="man.css" type="text/css" media="all">
<title>
SFEED(1)</title>
</head>
<body>
<div class="mandoc">
<table summary="Document Header" class="head" width="100%">
<col width="30%">
<col width="30%">
<col width="30%">
<tbody>
<tr>
<td class="head-ltitle">
SFEED(1)</td>
<td class="head-vol" align="center">
OpenBSD Reference Manual</td>
<td class="head-rtitle" align="right">
SFEED(1)</td>
</tr>
</tbody>
</table>
<div class="section">
<h1 id="x4e414d45">NAME</h1> <b class="name">sfeed</b> &#8212; <span class="desc">simple RSS and Atom parser</span></div>
<div class="section">
<h1 id="x53594e4f50534953">SYNOPSIS</h1><table class="synopsis">
<col style="width: 5.00ex;">
<col>
<tbody>
<tr>
<td>
sfeed</td>
<td>
&#91;<span class="opt"><i class="arg">suffix string</i> | <b class="flag">&#45;</b><i class="arg">v</i></span>&#93;</td>
</tr>
</tbody>
</table>
</div>
<div class="section">
<h1 id="x4445534352495054494f4e">DESCRIPTION</h1> <b class="name">sfeed</b> reads RSS or Atom feed data (XML) from stdin. It writes the feed data in a tab-separated format to stdout.</div>
<div class="section">
<h1 id="x4f5054494f4e53">OPTIONS</h1><dl style="margin-top: 0.00em;margin-bottom: 0.00em;" class="list list-tag">
<dt class="list-tag" style="margin-top: 1.00em;">
<b class="flag">&#45;v</b></dt>
<dd class="list-tag" style="margin-left: 17.00ex;">
show program version</dd>
</dl>
</div>
<div class="section">
<h1 id="x5441421e53455041524154454420464f524d4154204649454c4453">TAB-SEPARATED FORMAT FIELDS</h1> The items are saved in a TSV-like format except newlines, tabs and backslash are escaped with \ (\n, \t and \\). Carriage returns (\r) are removed.<p>
The order and format of the fields are:<dl style="margin-top: 0.00em;margin-bottom: 0.00em;" class="list list-tag">
<dt class="list-tag" style="margin-top: 1.00em;">
<i class="arg">item timestamp</i></dt>
<dd class="list-tag" style="margin-left: 17.00ex;">
string, UNIX timestamp in GMT+0</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<i class="arg">item timestamp</i></dt>
<dd class="list-tag" style="margin-left: 17.00ex;">
string, date and time in the format: YYYY-mm-dd HH:MM:SS tzname[[+-][HHMM]]</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<i class="arg">item title</i></dt>
<dd class="list-tag" style="margin-left: 17.00ex;">
string</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<i class="arg">item link</i></dt>
<dd class="list-tag" style="margin-left: 17.00ex;">
string</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<i class="arg">item content</i></dt>
<dd class="list-tag" style="margin-left: 17.00ex;">
string</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<i class="arg">item content&#45;type</i></dt>
<dd class="list-tag" style="margin-left: 17.00ex;">
string, &quot;html&quot; or &quot;plain&quot;</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<i class="arg">item id</i></dt>
<dd class="list-tag" style="margin-left: 17.00ex;">
string</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<i class="arg">item author</i></dt>
<dd class="list-tag" style="margin-left: 17.00ex;">
string</dd>
<dt class="list-tag" style="margin-top: 1.00em;">
<i class="arg">feed type</i></dt>
<dd class="list-tag" style="margin-left: 17.00ex;">
string, &quot;rss&quot; or &quot;atom&quot;</dd>
</dl>
</div>
<div class="section">
<h1 id="x53454520414c534f">SEE ALSO</h1> <a class="link-man">sh(1)</a>, <a class="link-man">sfeed_update(1)</a></div>
<div class="section">
<h1 id="x415554484f5253">AUTHORS</h1> <span class="author">Hiltjo Posthuma</span> &#60;<a class="link-mail" href="mailto:hiltjo@codemadness.org">hiltjo@codemadness.org</a>&#62;</div>
<table summary="Document Footer" class="foot" width="100%">
<col width="50%">
<col width="50%">
<tbody>
<tr>
<td class="foot-date">
December 25, 2014</td>
<td class="foot-os" align="right">
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>