commit a54438ca3432350d775ff6ad8884c7b16e3f871f
parent 6aee79dda047320d7f2f456726be16383e807d0c
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Sat, 29 Mar 2025 13:29:27 +0100
fix: update inactivity times and templates
Diffstat:
6 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/perlanetrc/00_flash.yaml b/perlanetrc/00_flash.yaml
@@ -4,7 +4,7 @@ url: https://news.jayvii.de/flash.html
entries: 500
entries_per_feed: 5
entries_sort_order: "issued"
-entries_age: 10800
+entries_age: 43200
author:
name: JayVii
email: jayvii+newsplanet[AT]posteo[DOT]de
diff --git a/perlanetrc/01_flash.yaml.mini b/perlanetrc/01_flash.yaml.mini
@@ -1,10 +1,10 @@
-title: Flash
-description: Breaking news.
-url: https://news.jayvii.de/flash.html
+title: Flash (Mini)
+description: Breaking news (Minified).
+url: https://news.jayvii.de/flash.mini.html
entries: 500
entries_per_feed: 4
entries_sort_order: "issued"
-entries_age: 10800
+entries_age: 21600
author:
name: JayVii
email: jayvii+newsplanet[AT]posteo[DOT]de
diff --git a/perlanetrc/02_pulse.yaml b/perlanetrc/02_pulse.yaml
@@ -4,7 +4,7 @@ url: https://news.jayvii.de/pulse.html
entries: 500
entries_per_feed: 15
entries_sort_order: "issued"
-entries_age: 43200
+entries_age: 86400
author:
name: JayVii
email: jayvii+newsplanet[AT]posteo[DOT]de
diff --git a/scripts/run.sh b/scripts/run.sh
@@ -31,16 +31,16 @@ sed -E \
# insert link to rss/xml file
printf "Inserting RSS feed file...\n"
-sed -E -e "s/<\!--XML-->/\"$feed_file\"/g" -i "$page_file"
+sed -E -e "s/<\!--XML-->/$feed_file/g" -i "$page_file"
# insert link to opml/xml file
printf "Inserting OPML feed file...\n"
-sed -E -e "s/<\!--OPML-->/\"$opml_file\"/g" -i "$page_file"
+sed -E -e "s/<\!--OPML-->/$opml_file/g" -i "$page_file"
# insert link to manifest JSON file
printf "Inserting manifest file...\n"
manifest_file=$(echo "$manifest_file" | sed -e 's/\//\\\//g')
-sed -E -e "s/<\!--MANIFEST-->/\"$manifest_file\"/" -i "$page_file"
+sed -E -e "s/<\!--MANIFEST-->/$manifest_file/" -i "$page_file"
# insert feed domains
sed -E \
diff --git a/templates/index.tt b/templates/index.tt
@@ -97,7 +97,7 @@
href="[% entry.link | url | html %]"
style="width:auto;min-width:65px;"
>
- <!--DOMAIN src="[% entry.link | url | html %]" alt="">-->
+ <!--DOMAIN src="[% entry.link | url | html %]">-->
</a>
[% IF entry.issued %]
<stretch class="button">
diff --git a/templates/mini.tt b/templates/mini.tt
@@ -50,7 +50,7 @@
</a>
<div style="width:100%;">
<mark>
- <!--DOMAIN src="[% entry.link | url | html %]" alt="">-->
+ <!--DOMAIN src="[% entry.link | url | html %]">-->
</mark>
[% IF entry.issued %]
<mark style="margin-left:0.5em;">