flnews_post_proc 1.52 → 1.53
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- 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/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: bb3c498d2cde3e3c4afcd611006857a9b88db02cd27a05fe04ef1cac4448d6bd
|
4
|
+
data.tar.gz: 1fbd7d419082397cb748ad397c168c5ebc55b002e162a2831775677b0289734e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 547bfbcea62f28654150632b088ad3f9ff7a48b2df3893fff5849e94f865f1ed2c7c39d97f493320f1a1687247118864a242f760ae8c032f4817c43d70bdc43c
|
7
|
+
data.tar.gz: 34ad4b1054b1308f391a4207222ffd39b407e62184cf38012e46d60cfbe3a375b598477e50ff92d9bec8181cbd15ea79d249bb6d0c535b2bf4e884ba7cea9460
|
@@ -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/version.rb
CHANGED
@@ -14,8 +14,8 @@
|
|
14
14
|
=end
|
15
15
|
|
16
16
|
PROGNAME = 'flnews_post_proc'
|
17
|
-
PROGVERSION = "1.
|
17
|
+
PROGVERSION = "1.53"
|
18
18
|
AUTHORS = "Michael Uplawski"
|
19
19
|
EMAIL = "michael.uplawski@uplawski.eu"
|
20
20
|
YEARS = "2023 - 2024"
|
21
|
-
SUMMARY = "
|
21
|
+
SUMMARY = "Ellipsis is replaced against '…', French documentation in sub-folder doc/fr"
|
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.53'
|
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-15 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: Ellipsis is replaced against '…', French documentation in sub-folder doc/fr
|
89
89
|
test_files: []
|
Binary file
|
Binary file
|