flnews_post_proc 1.7 → 1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +28 -35
- data/bin/flnews_post_proc +12 -56
- data/doc/html/flnews_post_proc.html +364 -52
- data/doc/{fr/html/flnews_post_proc.html → html/flnews_post_proc_fr.html} +19 -22
- data/doc/man/flnews_post_proc.1.gz +0 -0
- data/doc/man/flnews_post_proc_fr.1.gz +0 -0
- data/doc/pdf/flnews_post_proc.pdf +0 -0
- data/doc/pdf/flnews_post_proc_fr.pdf +0 -0
- data/doc/rst/flnews_post_proc.rst +26 -28
- data/doc/{fr/rst/flnews_post_proc.rst → rst/flnews_post_proc_fr.rst} +18 -21
- data/lib/basic_logging.rb +8 -40
- data/lib/body.rb +35 -129
- data/lib/configuration.rb +8 -15
- data/lib/flnews_post_proc.conf +6 -7
- data/lib/flnews_post_proc.rb +4 -5
- data/lib/headers.rb +13 -37
- data/lib/newsgroups.rb +17 -35
- data/lib/override.rb +2 -2
- data/lib/ruby_dlg +83 -86
- data/lib/version.rb +2 -3
- data/lib/whiptail_dlg +2 -7
- data/lib/yad_dlg +11 -12
- data/lib/zenity_dlg +7 -8
- metadata +9 -30
- data/doc/fr/man/flnews_post_proc.1.gz +0 -0
- data/doc/fr/pdf/flnews_post_proc.pdf +0 -0
- data/lib/_quoting_style_regexp +0 -2
@@ -3,47 +3,360 @@
|
|
3
3
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
|
-
<meta name="generator" content="Docutils 0.
|
7
|
-
<title>
|
6
|
+
<meta name="generator" content="Docutils 0.20.1: https://docutils.sourceforge.io/" />
|
7
|
+
<title>Flnews_post_proc</title>
|
8
8
|
<style type="text/css">
|
9
9
|
|
10
10
|
/*
|
11
|
-
:Author:
|
12
|
-
:
|
13
|
-
:
|
11
|
+
:Author: David Goodger (goodger@python.org)
|
12
|
+
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
|
13
|
+
:Copyright: This stylesheet has been placed in the public domain.
|
14
14
|
|
15
|
-
|
15
|
+
Default cascading style sheet for the HTML output of Docutils.
|
16
|
+
|
17
|
+
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
|
18
|
+
customize this style sheet.
|
16
19
|
*/
|
17
20
|
|
18
|
-
/*
|
19
|
-
|
21
|
+
/* used to remove borders from tables and images */
|
22
|
+
.borderless, table.borderless td, table.borderless th {
|
23
|
+
border: 0 }
|
24
|
+
|
25
|
+
table.borderless td, table.borderless th {
|
26
|
+
/* Override padding for "table.docutils td" with "! important".
|
27
|
+
The right padding separates the table cells. */
|
28
|
+
padding: 0 0.5em 0 0 ! important }
|
29
|
+
|
30
|
+
.first {
|
31
|
+
/* Override more specific margin styles with "! important". */
|
32
|
+
margin-top: 0 ! important }
|
33
|
+
|
34
|
+
.last, .with-subtitle {
|
35
|
+
margin-bottom: 0 ! important }
|
36
|
+
|
37
|
+
.hidden {
|
38
|
+
display: none }
|
39
|
+
|
40
|
+
.subscript {
|
41
|
+
vertical-align: sub;
|
42
|
+
font-size: smaller }
|
43
|
+
|
44
|
+
.superscript {
|
45
|
+
vertical-align: super;
|
46
|
+
font-size: smaller }
|
47
|
+
|
48
|
+
a.toc-backref {
|
49
|
+
text-decoration: none ;
|
50
|
+
color: black }
|
51
|
+
|
52
|
+
blockquote.epigraph {
|
53
|
+
margin: 2em 5em ; }
|
54
|
+
|
55
|
+
dl.docutils dd {
|
56
|
+
margin-bottom: 0.5em }
|
20
57
|
|
21
|
-
|
22
|
-
|
23
|
-
font-family: Verdana,Helvetica,Univers;
|
58
|
+
object[type="image/svg+xml"], object[type="application/x-shockwave-flash"] {
|
59
|
+
overflow: hidden;
|
24
60
|
}
|
25
61
|
|
26
|
-
|
27
|
-
|
62
|
+
/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
63
|
+
dl.docutils dt {
|
64
|
+
font-weight: bold }
|
65
|
+
*/
|
66
|
+
|
67
|
+
div.abstract {
|
68
|
+
margin: 2em 5em }
|
69
|
+
|
70
|
+
div.abstract p.topic-title {
|
71
|
+
font-weight: bold ;
|
72
|
+
text-align: center }
|
73
|
+
|
74
|
+
div.admonition, div.attention, div.caution, div.danger, div.error,
|
75
|
+
div.hint, div.important, div.note, div.tip, div.warning {
|
76
|
+
margin: 2em ;
|
77
|
+
border: medium outset ;
|
78
|
+
padding: 1em }
|
79
|
+
|
80
|
+
div.admonition p.admonition-title, div.hint p.admonition-title,
|
81
|
+
div.important p.admonition-title, div.note p.admonition-title,
|
82
|
+
div.tip p.admonition-title {
|
83
|
+
font-weight: bold ;
|
84
|
+
font-family: sans-serif }
|
85
|
+
|
86
|
+
div.attention p.admonition-title, div.caution p.admonition-title,
|
87
|
+
div.danger p.admonition-title, div.error p.admonition-title,
|
88
|
+
div.warning p.admonition-title, .code .error {
|
89
|
+
color: red ;
|
90
|
+
font-weight: bold ;
|
91
|
+
font-family: sans-serif }
|
92
|
+
|
93
|
+
/* Uncomment (and remove this text!) to get reduced vertical space in
|
94
|
+
compound paragraphs.
|
95
|
+
div.compound .compound-first, div.compound .compound-middle {
|
96
|
+
margin-bottom: 0.5em }
|
97
|
+
|
98
|
+
div.compound .compound-last, div.compound .compound-middle {
|
99
|
+
margin-top: 0.5em }
|
100
|
+
*/
|
101
|
+
|
102
|
+
div.dedication {
|
103
|
+
margin: 2em 5em ;
|
104
|
+
text-align: center ;
|
105
|
+
font-style: italic }
|
28
106
|
|
29
|
-
|
30
|
-
|
107
|
+
div.dedication p.topic-title {
|
108
|
+
font-weight: bold ;
|
109
|
+
font-style: normal }
|
31
110
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
dd ul {margin-left:0 ! important; }
|
36
|
-
dd dl dt, dd dl dd {margin-left:0 ! important;}
|
111
|
+
div.figure {
|
112
|
+
margin-left: 2em ;
|
113
|
+
margin-right: 2em }
|
37
114
|
|
38
|
-
|
39
|
-
|
115
|
+
div.footer, div.header {
|
116
|
+
clear: both;
|
117
|
+
font-size: smaller }
|
118
|
+
|
119
|
+
div.line-block {
|
120
|
+
display: block ;
|
121
|
+
margin-top: 1em ;
|
122
|
+
margin-bottom: 1em }
|
123
|
+
|
124
|
+
div.line-block div.line-block {
|
125
|
+
margin-top: 0 ;
|
126
|
+
margin-bottom: 0 ;
|
127
|
+
margin-left: 1.5em }
|
128
|
+
|
129
|
+
div.sidebar {
|
130
|
+
margin: 0 0 0.5em 1em ;
|
131
|
+
border: medium outset ;
|
132
|
+
padding: 1em ;
|
133
|
+
background-color: #ffffee ;
|
134
|
+
width: 40% ;
|
135
|
+
float: right ;
|
136
|
+
clear: right }
|
137
|
+
|
138
|
+
div.sidebar p.rubric {
|
139
|
+
font-family: sans-serif ;
|
140
|
+
font-size: medium }
|
141
|
+
|
142
|
+
div.system-messages {
|
143
|
+
margin: 5em }
|
144
|
+
|
145
|
+
div.system-messages h1 {
|
146
|
+
color: red }
|
147
|
+
|
148
|
+
div.system-message {
|
149
|
+
border: medium outset ;
|
150
|
+
padding: 1em }
|
151
|
+
|
152
|
+
div.system-message p.system-message-title {
|
153
|
+
color: red ;
|
154
|
+
font-weight: bold }
|
155
|
+
|
156
|
+
div.topic {
|
157
|
+
margin: 2em }
|
158
|
+
|
159
|
+
h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
160
|
+
h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
161
|
+
margin-top: 0.4em }
|
162
|
+
|
163
|
+
h1.title {
|
164
|
+
text-align: center }
|
165
|
+
|
166
|
+
h2.subtitle {
|
167
|
+
text-align: center }
|
168
|
+
|
169
|
+
hr.docutils {
|
170
|
+
width: 75% }
|
171
|
+
|
172
|
+
img.align-left, .figure.align-left, object.align-left, table.align-left {
|
173
|
+
clear: left ;
|
174
|
+
float: left ;
|
175
|
+
margin-right: 1em }
|
176
|
+
|
177
|
+
img.align-right, .figure.align-right, object.align-right, table.align-right {
|
178
|
+
clear: right ;
|
179
|
+
float: right ;
|
180
|
+
margin-left: 1em }
|
181
|
+
|
182
|
+
img.align-center, .figure.align-center, object.align-center {
|
183
|
+
display: block;
|
184
|
+
margin-left: auto;
|
185
|
+
margin-right: auto;
|
186
|
+
}
|
187
|
+
|
188
|
+
table.align-center {
|
189
|
+
margin-left: auto;
|
190
|
+
margin-right: auto;
|
40
191
|
}
|
41
192
|
|
42
|
-
|
43
|
-
|
44
|
-
|
193
|
+
.align-left {
|
194
|
+
text-align: left }
|
195
|
+
|
196
|
+
.align-center {
|
197
|
+
clear: both ;
|
198
|
+
text-align: center }
|
199
|
+
|
200
|
+
.align-right {
|
201
|
+
text-align: right }
|
202
|
+
|
203
|
+
/* reset inner alignment in figures */
|
204
|
+
div.align-right {
|
205
|
+
text-align: inherit }
|
206
|
+
|
207
|
+
/* div.align-center * { */
|
208
|
+
/* text-align: left } */
|
209
|
+
|
210
|
+
.align-top {
|
211
|
+
vertical-align: top }
|
212
|
+
|
213
|
+
.align-middle {
|
214
|
+
vertical-align: middle }
|
215
|
+
|
216
|
+
.align-bottom {
|
217
|
+
vertical-align: bottom }
|
218
|
+
|
219
|
+
ol.simple, ul.simple {
|
220
|
+
margin-bottom: 1em }
|
221
|
+
|
222
|
+
ol.arabic {
|
223
|
+
list-style: decimal }
|
224
|
+
|
225
|
+
ol.loweralpha {
|
226
|
+
list-style: lower-alpha }
|
227
|
+
|
228
|
+
ol.upperalpha {
|
229
|
+
list-style: upper-alpha }
|
230
|
+
|
231
|
+
ol.lowerroman {
|
232
|
+
list-style: lower-roman }
|
233
|
+
|
234
|
+
ol.upperroman {
|
235
|
+
list-style: upper-roman }
|
236
|
+
|
237
|
+
p.attribution {
|
238
|
+
text-align: right ;
|
239
|
+
margin-left: 50% }
|
240
|
+
|
241
|
+
p.caption {
|
242
|
+
font-style: italic }
|
243
|
+
|
244
|
+
p.credits {
|
245
|
+
font-style: italic ;
|
246
|
+
font-size: smaller }
|
247
|
+
|
248
|
+
p.label {
|
249
|
+
white-space: nowrap }
|
250
|
+
|
251
|
+
p.rubric {
|
252
|
+
font-weight: bold ;
|
253
|
+
font-size: larger ;
|
254
|
+
color: maroon ;
|
255
|
+
text-align: center }
|
256
|
+
|
257
|
+
p.sidebar-title {
|
258
|
+
font-family: sans-serif ;
|
259
|
+
font-weight: bold ;
|
260
|
+
font-size: larger }
|
261
|
+
|
262
|
+
p.sidebar-subtitle {
|
263
|
+
font-family: sans-serif ;
|
264
|
+
font-weight: bold }
|
265
|
+
|
266
|
+
p.topic-title {
|
267
|
+
font-weight: bold }
|
268
|
+
|
269
|
+
pre.address {
|
270
|
+
margin-bottom: 0 ;
|
271
|
+
margin-top: 0 ;
|
272
|
+
font: inherit }
|
273
|
+
|
274
|
+
pre.literal-block, pre.doctest-block, pre.math, pre.code {
|
275
|
+
margin-left: 2em ;
|
276
|
+
margin-right: 2em }
|
277
|
+
|
278
|
+
pre.code .ln { color: grey; } /* line numbers */
|
279
|
+
pre.code, code { background-color: #eeeeee }
|
280
|
+
pre.code .comment, code .comment { color: #5C6576 }
|
281
|
+
pre.code .keyword, code .keyword { color: #3B0D06; font-weight: bold }
|
282
|
+
pre.code .literal.string, code .literal.string { color: #0C5404 }
|
283
|
+
pre.code .name.builtin, code .name.builtin { color: #352B84 }
|
284
|
+
pre.code .deleted, code .deleted { background-color: #DEB0A1}
|
285
|
+
pre.code .inserted, code .inserted { background-color: #A3D289}
|
286
|
+
|
287
|
+
span.classifier {
|
288
|
+
font-family: sans-serif ;
|
289
|
+
font-style: oblique }
|
290
|
+
|
291
|
+
span.classifier-delimiter {
|
292
|
+
font-family: sans-serif ;
|
293
|
+
font-weight: bold }
|
294
|
+
|
295
|
+
span.interpreted {
|
296
|
+
font-family: sans-serif }
|
297
|
+
|
298
|
+
span.option {
|
299
|
+
white-space: nowrap }
|
300
|
+
|
301
|
+
span.pre {
|
302
|
+
white-space: pre }
|
303
|
+
|
304
|
+
span.problematic {
|
305
|
+
color: red }
|
306
|
+
|
307
|
+
span.section-subtitle {
|
308
|
+
/* font-size relative to parent (h1..h6 element) */
|
309
|
+
font-size: 80% }
|
310
|
+
|
311
|
+
table.citation {
|
312
|
+
border-left: solid 1px gray;
|
313
|
+
margin-left: 1px }
|
314
|
+
|
315
|
+
table.docinfo {
|
316
|
+
margin: 2em 4em }
|
317
|
+
|
318
|
+
table.docutils {
|
319
|
+
margin-top: 0.5em ;
|
320
|
+
margin-bottom: 0.5em }
|
321
|
+
|
322
|
+
table.footnote {
|
323
|
+
border-left: solid 1px black;
|
324
|
+
margin-left: 1px }
|
325
|
+
|
326
|
+
table.docutils td, table.docutils th,
|
327
|
+
table.docinfo td, table.docinfo th {
|
328
|
+
padding-left: 0.5em ;
|
329
|
+
padding-right: 0.5em ;
|
330
|
+
vertical-align: top }
|
331
|
+
|
332
|
+
table.docutils th.field-name, table.docinfo th.docinfo-name {
|
333
|
+
font-weight: bold ;
|
334
|
+
text-align: left ;
|
335
|
+
white-space: nowrap ;
|
336
|
+
padding-left: 0 }
|
337
|
+
|
338
|
+
/* "booktabs" style (no vertical lines) */
|
339
|
+
table.docutils.booktabs {
|
340
|
+
border: 0px;
|
341
|
+
border-top: 2px solid;
|
342
|
+
border-bottom: 2px solid;
|
343
|
+
border-collapse: collapse;
|
344
|
+
}
|
345
|
+
table.docutils.booktabs * {
|
346
|
+
border: 0px;
|
347
|
+
}
|
348
|
+
table.docutils.booktabs th {
|
349
|
+
border-bottom: thin solid;
|
350
|
+
text-align: left;
|
45
351
|
}
|
46
352
|
|
353
|
+
h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
354
|
+
h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
355
|
+
font-size: 100% }
|
356
|
+
|
357
|
+
ul.auto-toc {
|
358
|
+
list-style-type: none }
|
359
|
+
|
47
360
|
</style>
|
48
361
|
</head>
|
49
362
|
<body>
|
@@ -90,8 +403,7 @@ chosen for one or several newsgroups.</p>
|
|
90
403
|
would like to replace it against another, based on the newsgroup you are
|
91
404
|
about to post to.
|
92
405
|
The post-processor program sets specific signatures as configured for one
|
93
|
-
or several newsgroups
|
94
|
-
picked randomly from a file, containing several signatures.</p>
|
406
|
+
or several newsgroups.</p>
|
95
407
|
</li>
|
96
408
|
<li><p class="first">Some custom headers may serve to convey additional information to
|
97
409
|
interested readers of your post, like GnuPG key IDs, your language skills
|
@@ -101,14 +413,13 @@ remember I did.
|
|
101
413
|
Custom-headers may be defined in the configuration file for the program
|
102
414
|
and will then be added to each outgoing post.</p>
|
103
415
|
</li>
|
104
|
-
<li><p class="first">The
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
The post-processor program can impose
|
109
|
-
newsgroups.</p>
|
110
|
-
<p><strong>ATTN</strong>
|
111
|
-
and it is the decision of server operators to honor it or not.</p>
|
416
|
+
<li><p class="first">The X-No-Archive header is sometimes set to avoid that an article be
|
417
|
+
saved and stays available to search-engines (Google, notably). Test-
|
418
|
+
postings, for example, do probably not justify at all that they would be
|
419
|
+
referenced in search-results.
|
420
|
+
The post-processor program can impose the X-No-Archive header for all
|
421
|
+
posts to certain newsgroups.</p>
|
422
|
+
<p><strong>ATTN</strong> Since 2024, this header might no longer serve any purpose.</p>
|
112
423
|
</li>
|
113
424
|
<li><p class="first">If a news post contains many references to either other posts or Web
|
114
425
|
pages, the text can be cluttered with URLs.
|
@@ -134,8 +445,8 @@ have not yet been set in the configuration.</p>
|
|
134
445
|
<li>Signatures, as set in the configuration <strong>can be ignored</strong>. Either
|
135
446
|
a default signature will appear as set in flnews or none.</li>
|
136
447
|
<li>Custom Headers, if configured, can be <strong>omitted</strong>.</li>
|
137
|
-
<li>The
|
138
|
-
|
448
|
+
<li>The X-No-Archive header, if set for the current newsgroup, <strong>can be
|
449
|
+
ignored</strong>.</li>
|
139
450
|
<li>Logging can be <strong>switched off</strong>, if set.</li>
|
140
451
|
</ul>
|
141
452
|
<p>Pushing Esc or the cancle-button of the dialog interrupts the process, flnews
|
@@ -195,14 +506,11 @@ introductory string.</p>
|
|
195
506
|
<p class="last">EXAMPLE: alt.test: "Thus spoke %fup_name% on that baleful %fup_date%:"</p>
|
196
507
|
</dd>
|
197
508
|
<dt><strong>GROUP_SIGS</strong></dt>
|
198
|
-
<dd><p class="first">A signature line per Newsgroup
|
199
|
-
|
200
|
-
one signature from the list.</p>
|
201
|
-
<p>ATTN! In multi line signatures, you have to use \r\n for line breaks.</p>
|
509
|
+
<dd><p class="first">A signature line per Newsgroup.
|
510
|
+
ATTN! In multi line signatures, you have to use \r\n for line breaks.</p>
|
202
511
|
<p>CONTENT: A newsgroup or regexp per line, followed by a colon, a space and a String.</p>
|
203
512
|
<p>DEFAULT: As configured in flnews</p>
|
204
|
-
<p>EXAMPLE: alt.test: "Signature for alt.test\r\nsecond line"</p>
|
205
|
-
<p class="last">EXAMPLE: comp.*: /home/[user]/.my_sigs</p>
|
513
|
+
<p class="last">EXAMPLE: alt.test: "Signature for alt.test\r\nsecond line"</p>
|
206
514
|
</dd>
|
207
515
|
<dt><strong>CUSTOM_HEADERS</strong></dt>
|
208
516
|
<dd><p class="first">Additional headers for the outgoing article</p>
|
@@ -215,9 +523,9 @@ name of the header, ending in a colon and the value of the header.</p>
|
|
215
523
|
<div class="line">- 'X-Another-Header: care not!'</div>
|
216
524
|
</div>
|
217
525
|
</dd>
|
218
|
-
<dt><strong>
|
219
|
-
<dd><p class="first">The newsgroups, where
|
220
|
-
|
526
|
+
<dt><strong>XNAY_GROUPS</strong></dt>
|
527
|
+
<dd><p class="first">The newsgroups, where a header X-No-Archive: YES shall be set.
|
528
|
+
<strong>ATTN</strong> Since 2024, this header might no longer serve any purpose.</p>
|
221
529
|
<p>CONTENT: a dash and space, then a String, containing the name of the group or a regexp.</p>
|
222
530
|
<p>DEFAULT: empty</p>
|
223
531
|
<div class="last line-block">
|
@@ -270,19 +578,23 @@ text in the message body.</p>
|
|
270
578
|
try to correct URLs. Even if URLs are identified as such, only a few
|
271
579
|
manipulations are attempted :
|
272
580
|
* Angular brackets '<' and '>' are added, if missing
|
581
|
+
* Article-references are prepended with "news:", if missing
|
273
582
|
* Slashes are added, if they are found missing after "http(s):"</p>
|
583
|
+
<p>ATTN! The program is unable to discern "mailto:" and "news:" references. If
|
584
|
+
neither is given, but '@' is present, "news:" is automatically prepended.</p>
|
274
585
|
<p>If the variable is not set, a value 'yes' is assumed.</p>
|
275
586
|
<p>CONTENT: One of YES, yes, NO, no, and other variations of case.</p>
|
276
587
|
<p>DEFAULT: yes</p>
|
277
588
|
<p class="last">Example: ... I let you guess.</p>
|
278
589
|
</dd>
|
279
590
|
<dt><strong>OVERRIDE_CONFIG</strong></dt>
|
280
|
-
<dd><p class="first">A Boolean constant. You can choose to override the following
|
281
|
-
options before an article is posted:
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
|
591
|
+
<dd><p class="first">A Boolean constant. You can choose to override the following
|
592
|
+
configuration options before an article is posted:
|
593
|
+
GROUP_SIGS, XNAY_GROUPS, CUSTOM_HEADERS and DEBUG_LOG.
|
594
|
+
A dialog may be displayed which allows you to disable any of these
|
595
|
+
four options, so that the defaults from flnews prevail.</p>
|
596
|
+
<p>ATTN! Canceling the dialog or pushing the Esc-key does interrupt
|
597
|
+
the process. Flnews will not post the article.</p>
|
286
598
|
<p>Set this option to no, NO or similar to disable the dialog.</p>
|
287
599
|
<p>DEFAULT: yes</p>
|
288
600
|
<p class="last">EXAMPLE: No</p>
|
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
6
|
<meta name="generator" content="Docutils 0.20.1: https://docutils.sourceforge.io/" />
|
7
|
-
<title>
|
7
|
+
<title>Flnews_post_proc_fr</title>
|
8
8
|
<style type="text/css">
|
9
9
|
|
10
10
|
/*
|
@@ -421,17 +421,14 @@ ne vous en souvenez pas.</p>
|
|
421
421
|
<p>Ces entêtes, – Custom-Headers – peuvent être définis dans la configuration
|
422
422
|
du logiciel et vont être utilisées dans chaque article sortant.</p>
|
423
423
|
</li>
|
424
|
-
<li><p class="first">
|
425
|
-
d'
|
426
|
-
|
427
|
-
|
428
|
-
|
424
|
+
<li><p class="first">L'entête « X-No-Archive » est parfois utilisé afin d'éviter l'archivage
|
425
|
+
d'un article. Il ne devrait par conséquence pas être trouvé par les moteurs
|
426
|
+
de recherche ( Google notamment ). Les articles dans les groupes de test, par
|
427
|
+
exemple, ne valent probablement pas qu'on les trouve parmi les résultats des
|
428
|
+
recherches.</p>
|
429
429
|
<p>Avec flnews_post_proc vous pouvez décider et imposer que vos articles dans
|
430
|
-
certains newsgroups contiendront d'office
|
431
|
-
<strong>
|
432
|
-
<p><strong>ATTENTION</strong>: Dès 2024, l'entête « X-No-Archive » a perdu beaucoup de son
|
433
|
-
utilité. Les opérateurs des serveurs peuvent décider s'ils veulent le prendre
|
434
|
-
en considération ou non.</p>
|
430
|
+
certains newsgroups contiendront d'office une entête <strong>X-No-Archive: Yes</strong>.</p>
|
431
|
+
<p><strong>ATTN</strong> Depuis l'année 2024, cet entête n'a probablement plus de fonction.</p>
|
435
432
|
</li>
|
436
433
|
<li><p class="first">Certains messages mentionnent d'autres articles ou des URLs de pages Web.
|
437
434
|
S'ils sont nombreux, ces références peuvent déranger la lecture à cause de
|
@@ -459,8 +456,7 @@ des options, qui ne l'ont pas été auparavant :</p>
|
|
459
456
|
<li>Signatures, comme définis dans la configuration <strong>peuvent être ignorées</strong>.
|
460
457
|
Soit une signature par défaut sera appliquée, si prévue, ou aucune.</li>
|
461
458
|
<li>Entêtes supplémentaires, si définis, peuvent rester absentes de l'article.</li>
|
462
|
-
<li>
|
463
|
-
peuvent être ignorés.</li>
|
459
|
+
<li>L'entête X-No-Archive, si prévu pour le newsgroup choisi, peut être ignoré.</li>
|
464
460
|
<li>L'auto correction de URLs et références à d'autres articles peut être
|
465
461
|
désactivé.</li>
|
466
462
|
<li>L'écriture d'un protocole peut être arrêtée.</li>
|
@@ -554,9 +550,9 @@ l'entête.</p>
|
|
554
550
|
<div class="line">- 'X-Another-Header: care not!'</div>
|
555
551
|
</div>
|
556
552
|
</dd>
|
557
|
-
<dt><strong>
|
558
|
-
<dd><p class="first">Les newsgroups, où
|
559
|
-
|
553
|
+
<dt><strong>XNAY_GROUPS</strong></dt>
|
554
|
+
<dd><p class="first">Les newsgroups, où une entête X-No-Arcive: YES doit être présent.
|
555
|
+
<strong>ATTN</strong> Depuis l'année 2024, cet entête n'a probablement plus de fonction.</p>
|
560
556
|
<p>CONTENU : Un trait d'union et un espace, puis une chaîne de caractères,
|
561
557
|
contenant le nom du groupe ou une expression.</p>
|
562
558
|
<p>PAR DÉFAUT : Vide</p>
|
@@ -621,10 +617,11 @@ remplace le texte d'une future note du pied de page dans le corps du message.</p
|
|
621
617
|
</dd>
|
622
618
|
<dt><strong>VFY_URLS</strong></dt>
|
623
619
|
<dd><p class="first">Une constante booléen. Elle détermine si le programme doit essayer de corriger
|
624
|
-
des
|
620
|
+
des URIs. Même si les URIs sont identifiables, seulement quelques manipulations
|
625
621
|
sont temptées :</p>
|
626
622
|
<ul class="simple">
|
627
623
|
<li>'<' et '>' sont ajoutés, si manquants</li>
|
624
|
+
<li>"news:" est ajouté au début des références à d'autres articles</li>
|
628
625
|
<li>Des slashes sont insérés, s'ils manquent après "http(s):"</li>
|
629
626
|
</ul>
|
630
627
|
<p>ATTN! Le programme ne peut pas différencier entre "mailto:" et "news:". Si ni l'un
|
@@ -635,11 +632,11 @@ ni l'autre est donné, mais '@' est présent, "news:" est ajouté
|
|
635
632
|
<p class="last">EXEMPLE: No</p>
|
636
633
|
</dd>
|
637
634
|
<dt><strong>OVERRIDE_CONFIG</strong></dt>
|
638
|
-
<dd><p class="first">Une constante booléenne. Vous pouvez décider d'ignorer les options
|
639
|
-
avant qu'un article est posté :
|
640
|
-
VFY_URLS et DEBUG_LOG.
|
641
|
-
|
642
|
-
flnews, vont donc prévaloir.</p>
|
635
|
+
<dd><p class="first">Une constante booléenne. Vous pouvez décider d'ignorer les options
|
636
|
+
suivantes avant qu'un article est posté :
|
637
|
+
GROUP_SIGS, XNAY_GROUPS, CUSTOM_HEADERS, VFY_URLS et DEBUG_LOG.
|
638
|
+
Un dialogue peut être affiché, qui permet la désactivation de chacune de ces
|
639
|
+
options. Les valeurs par défaut, définis pour flnews, vont donc prévaloir.</p>
|
643
640
|
<p>ATTN ! En poussant Esc ou le bouton « Annuler » du dialogue, vous interrompez
|
644
641
|
le programme et flnews ne va rien envoyer.</p>
|
645
642
|
<p>Notez la valeur 'no', 'NO' ou pareil pour désactiver le dialogue.</p>
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|