summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xadmin/feeds/build-feed.py2
-rwxr-xr-xbuild-concerts.py2
-rw-r--r--concerts.in2
-rw-r--r--en/concerts.in2
-rw-r--r--en/feed.xml8
-rw-r--r--feed.xml8
6 files changed, 16 insertions, 8 deletions
diff --git a/admin/feeds/build-feed.py b/admin/feeds/build-feed.py
index 6c95161..d70154f 100755
--- a/admin/feeds/build-feed.py
+++ b/admin/feeds/build-feed.py
@@ -95,7 +95,7 @@ def cdata_concert(concert, lang):
E.ol(
*(XML(f'<li>{line}</li>') for line in pieces.splitlines())
),
- *(XML(f'<p>{line}</p>') for line in instructions.splitlines()),
+ *(XML(f'<p>{line}</p>') for line in instructions.splitlines() if line),
))
# Do a silly dance to indent CDATA correctly.
diff --git a/build-concerts.py b/build-concerts.py
index e1acfde..2290a1f 100755
--- a/build-concerts.py
+++ b/build-concerts.py
@@ -188,7 +188,7 @@ def print_concert_details(concert, lang):
instructions = [
f' <p>{touchup_plaintext(line)}</p>'
- for line in concert.instructions.splitlines()
+ for line in concert.instructions.splitlines() if line
]
print(f' <div class="{" ".join(classes)}" id="{concert_id}">')
diff --git a/concerts.in b/concerts.in
index 408feba..3a4dd02 100644
--- a/concerts.in
+++ b/concerts.in
@@ -271,6 +271,8 @@ Beethoven quatuor n°7, op.59 n°1
INSTRUCTIONS :
Prix de la place : 17€ ; tarif adhérents : 12€ ; tarif réduit : 6€.
Informations et réservations à l'adresse suivante : <https://amgc.festik.net/quatuor-bellefeuille/1>
+
+Ce concert sera précédé d’une présentation par les interprètes au même lieu à 16h.
ILLUSTRATION :
fichier : châtellerault.jpg
légende : Pont Henri IV à Châtellerault
diff --git a/en/concerts.in b/en/concerts.in
index 6d69e1a..b7fdae6 100644
--- a/en/concerts.in
+++ b/en/concerts.in
@@ -271,6 +271,8 @@ Beethoven quartet No. 7, Op. 59 No. 1
INSTRUCTIONS :
Price for admission: €17; membership rate: 12€; reduced rate: 6€.
Information and reservation on this page: <https://amgc.festik.net/quatuor-bellefeuille/1>
+
+The musicians will introduce the concert at 4 PM in the same location.
ILLUSTRATION :
fichier : châtellerault.jpg
légende : Henri IV bridge in Châtellerault
diff --git a/en/feed.xml b/en/feed.xml
index 24b7c17..16b6336 100644
--- a/en/feed.xml
+++ b/en/feed.xml
@@ -8,8 +8,8 @@
<url>https://quatuorbellefeuille.com/images/logo.svg</url>
<link>https://quatuorbellefeuille.com/en/concerts.html</link>
</image>
- <lastBuildDate>30 Nov 2022 23:35 +0100</lastBuildDate>
- <pubDate>30 Nov 2022 23:35 +0100</pubDate>
+ <lastBuildDate>30 Nov 2022 23:54 +0100</lastBuildDate>
+ <pubDate>30 Nov 2022 23:54 +0100</pubDate>
<language>en</language>
<item>
<title>October 5 2019 in Le Buisson de Cadouin</title>
@@ -252,7 +252,9 @@
<li>Beethoven quartet No. 7, Op. 59 No. 1</li>
</ol>
<p>Price for admission: €17; membership rate: 12€; reduced rate: 6€.</p>
- <p>Information and reservation on this page: https://amgc.festik.net/quatuor-bellefeuille/1</p>
+ <p>Information and reservation on this page: <a href="https://amgc.festik.net/quatuor-bellefeuille/1" target="_blank">https://amgc.festik.net/quatuor-bellefeuille/1</a>
+ </p>
+ <p>The musicians will introduce the concert at 4 PM in the same location.</p>
]]></description>
<pubDate>30 Nov 2022 23:35 +0100</pubDate>
</item>
diff --git a/feed.xml b/feed.xml
index 82c4c8d..78f604e 100644
--- a/feed.xml
+++ b/feed.xml
@@ -8,8 +8,8 @@
<url>https://quatuorbellefeuille.com/images/logo.svg</url>
<link>https://quatuorbellefeuille.com/concerts.html</link>
</image>
- <lastBuildDate>30 Nov 2022 23:35 +0100</lastBuildDate>
- <pubDate>30 Nov 2022 23:35 +0100</pubDate>
+ <lastBuildDate>30 Nov 2022 23:54 +0100</lastBuildDate>
+ <pubDate>30 Nov 2022 23:54 +0100</pubDate>
<language>fr</language>
<item>
<title>5 octobre 2019 à Le Buisson de Cadouin</title>
@@ -253,7 +253,9 @@
<li>Beethoven quatuor n°7, op.59 n°1</li>
</ol>
<p>Prix de la place : 17€ ; tarif adhérents : 12€ ; tarif réduit : 6€.</p>
- <p>Informations et réservations à l'adresse suivante : https://amgc.festik.net/quatuor-bellefeuille/1</p>
+ <p>Informations et réservations à l'adresse suivante : <a href="https://amgc.festik.net/quatuor-bellefeuille/1" target="_blank">https://amgc.festik.net/quatuor-bellefeuille/1</a>
+ </p>
+ <p>Ce concert sera précédé d’une présentation par les interprètes au même lieu à 16h.</p>
]]></description>
<pubDate>30 Nov 2022 23:35 +0100</pubDate>
</item>