flnews_post_proc 1.52 → 1.54
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -5
- data/doc/{html/flnews_post_proc_fr.html → fr/html/flnews_post_proc.html} +4 -1
- data/doc/fr/man/flnews_post_proc.1.gz +0 -0
- data/doc/fr/pdf/flnews_post_proc.pdf +0 -0
- data/doc/{rst/flnews_post_proc_fr.rst → fr/rst/flnews_post_proc.rst} +4 -0
- data/doc/html/flnews_post_proc.html +18 -11
- data/doc/man/flnews_post_proc.1.gz +0 -0
- data/doc/pdf/flnews_post_proc.pdf +0 -0
- data/doc/rst/flnews_post_proc.rst +3 -0
- data/lib/body.rb +5 -1
- data/lib/newsgroups.rb +1 -0
- data/lib/version.rb +2 -2
- metadata +7 -7
- data/doc/man/flnews_post_proc_fr.1.gz +0 -0
- data/doc/pdf/flnews_post_proc_fr.pdf +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b8ba730c2bc8e9446d310099636a5d050cbdfe39cc7d655f9970851d6b361f4
|
4
|
+
data.tar.gz: ecc1256bbd8939acea2b6b61933101ac18cbf1a47f283803ee1b8e3452e0df22
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4957abe6e9675413030c75366b793ea59e9f2f79b757e4807bf30006620971ede31aab8cb8c621047c160ce00b0c3dddb3e700a46a30fd94edef984ea37e96ff
|
7
|
+
data.tar.gz: 4685e7df7a3b733558131e2f57e4be3c5dfc83226cd5fa1b36b9dc4d47de0895aea4dfd1b2290a27a9b6ecd8303c50d6dd6b6cf0e4991a48681442c569ca00d7
|
data/README.md
CHANGED
@@ -7,12 +7,12 @@
|
|
7
7
|
Please give priority to the documentation which is delivered with the gem
|
8
8
|
file, as the markdown syntax plays tricks, sometimes, and I may not be
|
9
9
|
quick enough to correct this file. This applies especially to the section
|
10
|
-
[_Configuration_](#CONFIGURATION), below.
|
10
|
+
[_Configuration_](#CONFIGURATION), below.
|
11
11
|
|
12
|
-
The gem-file contains different formats of the man-page in English and French.
|
13
|
-
See section [_Source Code_](Source-Code), below, for instructions to access
|
14
|
-
these texts. Or see the same files [on the
|
15
|
-
Web](https://www.uplawski.eu/div/flnews/).
|
12
|
+
The gem-file contains different formats of the man-page in English and French.
|
13
|
+
See section [_Source Code_](Source-Code), below, for instructions to access
|
14
|
+
these texts. Or see the same files [on the
|
15
|
+
Web](https://www.uplawski.eu/div/flnews/).
|
16
16
|
|
17
17
|
SYNOPSIS
|
18
18
|
=======================
|
@@ -157,6 +157,11 @@ categories:
|
|
157
157
|
|
158
158
|
* Variables defining the new or altered content.
|
159
159
|
|
160
|
+
*ATTENTION*: Most problems that occurred with recent versions of
|
161
|
+
*flnews_post_proc* were caused by inadequate option values and very often ill
|
162
|
+
chosen or mal formatted regular expressions. PSE double check your
|
163
|
+
configuration, if the program does not seem to work normally.
|
164
|
+
|
160
165
|
**FUP_NAME**
|
161
166
|
A Regular Expression, describing the string which contains the name of
|
162
167
|
previous poster who is the author of a quoted post. This string is
|
@@ -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</title>
|
8
8
|
<style type="text/css">
|
9
9
|
|
10
10
|
/*
|
@@ -429,6 +429,9 @@ parmi les résultats des recherches.</p>
|
|
429
429
|
<p>Avec flnews_post_proc vous pouvez décider et imposer que vos articles dans
|
430
430
|
certains newsgroups contiendront d'office les deux entêtes <strong>Archive: no</strong> et
|
431
431
|
<strong>X-No-Archive: Yes</strong>.</p>
|
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>
|
432
435
|
</li>
|
433
436
|
<li><p class="first">Certains messages mentionnent d'autres articles ou des URLs de pages Web.
|
434
437
|
S'ils sont nombreux, ces références peuvent déranger la lecture à cause de
|
Binary file
|
Binary file
|
@@ -83,6 +83,10 @@ et ce pour des raisons arbitraires :
|
|
83
83
|
certains newsgroups contiendront d'office les deux entêtes **Archive: no** et
|
84
84
|
**X-No-Archive: Yes**.
|
85
85
|
|
86
|
+
**ATTENTION**: Dès 2024, l'entête « X-No-Archive » a perdu beaucoup de son
|
87
|
+
utilité. Les opérateurs des serveurs peuvent décider s'ils veulent le prendre
|
88
|
+
en considération ou non.
|
89
|
+
|
86
90
|
* Certains messages mentionnent d'autres articles ou des URLs de pages Web.
|
87
91
|
S'ils sont nombreux, ces références peuvent déranger la lecture à cause de
|
88
92
|
leur syntaxe spécifique.
|
@@ -390,33 +390,39 @@ own creations.</p>
|
|
390
390
|
<h2>The limits of a basic newsreader — what the program can do</h2>
|
391
391
|
<p>While the articles that flnews creates, are complete and ready to be posted,
|
392
392
|
some users may not always agree with the result and for arbitrary reasons:</p>
|
393
|
-
<ul
|
394
|
-
<li>There may be inconveniences when you post to different newsgroups in
|
393
|
+
<ul>
|
394
|
+
<li><p class="first">There may be inconveniences when you post to different newsgroups in
|
395
395
|
different languages, as an introductory line which refers to a previous
|
396
396
|
post can only be set once in the flnews-configuration. The consequence
|
397
397
|
can be that your post to a french newsgroup begins with an introduction
|
398
398
|
in English.
|
399
399
|
My post-processor program can set an introductory line specifically
|
400
|
-
chosen for one or several newsgroups.</
|
401
|
-
|
400
|
+
chosen for one or several newsgroups.</p>
|
401
|
+
</li>
|
402
|
+
<li><p class="first">The same conflict arises, when you have set a standard signature-text and
|
402
403
|
would like to replace it against another, based on the newsgroup you are
|
403
404
|
about to post to.
|
404
405
|
The post-processor program sets specific signatures as configured for one
|
405
|
-
or several newsgroups.</
|
406
|
-
|
406
|
+
or several newsgroups.</p>
|
407
|
+
</li>
|
408
|
+
<li><p class="first">Some custom headers may serve to convey additional information to
|
407
409
|
interested readers of your post, like GnuPG key IDs, your language skills
|
408
410
|
or the like. The signature may be a better choice than custom headers.
|
409
411
|
You are free. I just mention face and x-face but prefer that you do not
|
410
412
|
remember I did.
|
411
413
|
Custom-headers may be defined in the configuration file for the program
|
412
|
-
and will then be added to each outgoing post.</
|
413
|
-
|
414
|
+
and will then be added to each outgoing post.</p>
|
415
|
+
</li>
|
416
|
+
<li><p class="first">The Archive- and the X-No-Archive header are sometimes set to avoid that an
|
414
417
|
article be saved and stays available to search-engines (Google, notably).
|
415
418
|
Test- postings, for example, do probably not justify at all that they would
|
416
419
|
be referenced in search-results.
|
417
420
|
The post-processor program can impose both headers for all posts to certain
|
418
|
-
newsgroups.</
|
419
|
-
<
|
421
|
+
newsgroups.</p>
|
422
|
+
<p><strong>ATTN</strong> As of 2024, the header “X-No-Archive“ has lost most of its utility
|
423
|
+
and it is the decision of server operators to honor it or not.</p>
|
424
|
+
</li>
|
425
|
+
<li><p class="first">If a news post contains many references to either other posts or Web
|
420
426
|
pages, the text can be cluttered with URLs.
|
421
427
|
The post-processor can identify marked text fragments and transform them
|
422
428
|
into footnotes, which will be attached as a list at the bottom of the
|
@@ -425,7 +431,8 @@ This works almost like the <ref/> link in Wikipedia, but the delimiter
|
|
425
431
|
can be determined in the configuration file.
|
426
432
|
Example (with %=):
|
427
433
|
This is an object %=and this becomes the footnote, describing the object
|
428
|
-
further=%</
|
434
|
+
further=%</p>
|
435
|
+
</li>
|
429
436
|
</ul>
|
430
437
|
</div>
|
431
438
|
<div class="section" id="dialog-to-override-settings">
|
Binary file
|
Binary file
|
@@ -67,6 +67,9 @@ some users may not always agree with the result and for arbitrary reasons:
|
|
67
67
|
The post-processor program can impose both headers for all posts to certain
|
68
68
|
newsgroups.
|
69
69
|
|
70
|
+
**ATTN** As of 2024, the header “X-No-Archive“ has lost most of its utility
|
71
|
+
and it is the decision of server operators to honor it or not.
|
72
|
+
|
70
73
|
* If a news post contains many references to either other posts or Web
|
71
74
|
pages, the text can be cluttered with URLs.
|
72
75
|
The post-processor can identify marked text fragments and transform them
|
data/lib/body.rb
CHANGED
@@ -131,8 +131,12 @@ class Body
|
|
131
131
|
end
|
132
132
|
|
133
133
|
def join
|
134
|
-
|
134
|
+
new_body = @lines.join("\r\n") << "\r\n"
|
135
|
+
# replace ellipsis
|
136
|
+
new_body.gsub!('...', '…')
|
137
|
+
return new_body
|
135
138
|
end
|
139
|
+
|
136
140
|
# ------->
|
137
141
|
# TODO : Concentrate all URL/URI munging functionality in 1 or 2 helper
|
138
142
|
# classes, e.g. Body::News and Body::Http
|
data/lib/newsgroups.rb
CHANGED
data/lib/version.rb
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
=end
|
15
15
|
|
16
16
|
PROGNAME = 'flnews_post_proc'
|
17
|
-
PROGVERSION = "1.
|
17
|
+
PROGVERSION = "1.54"
|
18
18
|
AUTHORS = "Michael Uplawski"
|
19
19
|
EMAIL = "michael.uplawski@uplawski.eu"
|
20
20
|
YEARS = "2023 - 2024"
|
21
|
-
SUMMARY = "
|
21
|
+
SUMMARY = "Signature lines cannot begin with a space."
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flnews_post_proc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '1.
|
4
|
+
version: '1.54'
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Uplawski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: diffy
|
@@ -39,15 +39,15 @@ extra_rdoc_files: []
|
|
39
39
|
files:
|
40
40
|
- README.md
|
41
41
|
- bin/flnews_post_proc
|
42
|
+
- doc/fr/html/flnews_post_proc.html
|
43
|
+
- doc/fr/man/flnews_post_proc.1.gz
|
44
|
+
- doc/fr/pdf/flnews_post_proc.pdf
|
45
|
+
- doc/fr/rst/flnews_post_proc.rst
|
42
46
|
- doc/html/flnews_post_proc.html
|
43
|
-
- doc/html/flnews_post_proc_fr.html
|
44
47
|
- doc/license.txt
|
45
48
|
- doc/man/flnews_post_proc.1.gz
|
46
|
-
- doc/man/flnews_post_proc_fr.1.gz
|
47
49
|
- doc/pdf/flnews_post_proc.pdf
|
48
|
-
- doc/pdf/flnews_post_proc_fr.pdf
|
49
50
|
- doc/rst/flnews_post_proc.rst
|
50
|
-
- doc/rst/flnews_post_proc_fr.rst
|
51
51
|
- lib/_quoting_style_regexp
|
52
52
|
- lib/basic_logging.rb
|
53
53
|
- lib/body.rb
|
@@ -85,5 +85,5 @@ requirements: []
|
|
85
85
|
rubygems_version: 3.5.3
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
|
-
summary:
|
88
|
+
summary: Signature lines cannot begin with a space.
|
89
89
|
test_files: []
|
Binary file
|
Binary file
|