-
Notifications
You must be signed in to change notification settings - Fork 0
/
urllist.html
63 lines (58 loc) · 2.66 KB
/
urllist.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="EN">
<title>R. S. Doiel, Software Engineer/Analyst - urllist</title>
<link rel="stylesheet" type="text/css" href="/printfonts/print.css" media="print" />
<link rel="stylesheet" type="text/css" href="/webfonts/fonts.css" media="screen" />
<link rel="stylesheet" type="text/css" href="/css/site.css" media="screen" />
<link title="RSS feed for rsdoiel's blog" rel="alternate" type="application/rss+xml" href="https://rsdoiel.github.io/rss.xml" />
<link title="markdown source for page" rel="alternative" type="application/markdown" href="urllist.md">
</head>
<body>
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="index.html">README</a></li>
<li><a href="user-manual.html">User Manual</a></li>
<li><a href="LICENSE">LICENSE</a></li>
<li><a href="INSTALL.html">Install</a></li>
<li><a href="search.html">Project Search</a></li>
<li><a href="ideas.html">Someday, Maybe</a></li>
<li><a href="https://github.com/rsdoiel/stngo">GitHub</a></li>
<li><a href="about.html">About</a></li>
</ul>
</nav>
<section>
<!-- <h1>urllist</h1> -->
<h1 id="url-lists">Url Lists</h1>
<p>The skimmer URL file format is based on Newsboat’s urls file format.
Newsboat urls files are are structed like the following lines.</p>
<pre><code># <COMMENT IS HERE>
<URL>
<URL> "~<LABEL>"</code></pre>
<p>Comment line start with a pound sign. Lines are expected to have a
URL for a feed (one per line). They may be followed by a label that is
separated from the URL by one or more spaces, followed by a double quote
and tilde. The text of the label. The is closed by another double
quote.</p>
<p>skimmer extends this syntax in one way. If you have a label you can
follow that by a user agent string. The reason for this is that some
websites that host feeds controll access by white listing specific user
agent strings. Skimmer’s default user agent string will not be on the
white list since skimmer is new and very experimental. If this is the
case you can include a specific user agent string after the label.
Here’s an example listing where the feed source will accept a user agent
string of “curl/8.4.0”</p>
<pre><code>https://example.io/feed/ "~Some blog content" curl/8.4.0</code></pre>
<p>skimmer’s URL list parser looks <code>"</code> os the column
delimiter. If the column value starts with a leading tilde it will be
striped. If a column is missing (e.g. the label or user agent) then the
value will be assumed to be an empty string. E.g. no label or no user
agent string.</p>
</section>
<footer>
</footer>
</body>
</html>