From 4c31093827f57394563de037a21143407586e384 Mon Sep 17 00:00:00 2001 From: Choom Date: Sun, 15 Jan 2023 03:12:48 -0300 Subject: Autorefresh en home --- cgi/templates/feed.rss | 25 +++++++++++++++++++++++++ cgi/templates/home.html | 34 +++++++++++++++++++--------------- cgi/templates/home.rss | 25 ------------------------- cgi/templates/mobile/latest.html | 4 ++-- cgi/templates/mobile/newest.html | 4 ++-- 5 files changed, 48 insertions(+), 44 deletions(-) create mode 100644 cgi/templates/feed.rss delete mode 100644 cgi/templates/home.rss (limited to 'cgi/templates') diff --git a/cgi/templates/feed.rss b/cgi/templates/feed.rss new file mode 100644 index 0000000..dfce578 --- /dev/null +++ b/cgi/templates/feed.rss @@ -0,0 +1,25 @@ + + + + Bienvenido a Internet BBS/IB + https://bienvenidoainternet.org/ + El BBS/IB más activo de la esfera hispana. + es + burocracia@bienvenidoainternet.org (Staff ★) + + https://bienvenidoainternet.org/rss_logo.png + Bienvenido a Internet BBS/IB + https://bienvenidoainternet.org/ + 144 + 144 + + + + ${post['board_name']}: #{post['content']} + ${post['timestamp_formatted']} + https://bienvenidoainternet.org#{post['url']} + ${post['content']} + + + + diff --git a/cgi/templates/home.html b/cgi/templates/home.html index d60b719..b5d932b 100644 --- a/cgi/templates/home.html +++ b/cgi/templates/home.html @@ -73,25 +73,29 @@ -

Hilos activos

-

BBS

-
+

Hilos activos

+

BBS

+
- [${thread['board_name']}:${'%03d' % thread['length']}] #{thread['content']} + [${thread['board_abr']}:${'%03d' % thread['length']}] #{thread['content']} -
-
-

IB

-
+
+
+

IB

+
- [${thread['board_name']}:${'%03d' % thread['length']}] #{thread['content']} + [${thread['board_abr']}:${'%03d' % thread['length']}] #{thread['content']} +
+
+
Actualizar + + + + + +
-
-
Actualizar - - - RSS

Blotter

@@ -107,7 +111,7 @@

Hilos nuevos

- [${thread['board_name']}] #{thread['content']} + [${thread['board_abr']}] #{thread['content']}
diff --git a/cgi/templates/home.rss b/cgi/templates/home.rss deleted file mode 100644 index 1e5f552..0000000 --- a/cgi/templates/home.rss +++ /dev/null @@ -1,25 +0,0 @@ - - - - Bienvenido a Internet BBS/IB - https://bienvenidoainternet.org/ - El BBS/IB más activo de la esfera hispana. - es - burocracia@bienvenidoainternet.org (Staff ★) - - https://bienvenidoainternet.org/rss_logo.png - Bienvenido a Internet BBS/IB - https://bienvenidoainternet.org/ - 144 - 144 - - - - ${post['board_fulln']}: #{post['content']} - ${post['timestamp_formatted']} - https://bienvenidoainternet.org#{post['url']} - ${post['message']} - - - - diff --git a/cgi/templates/mobile/latest.html b/cgi/templates/mobile/latest.html index 50fae25..8156e69 100644 --- a/cgi/templates/mobile/latest.html +++ b/cgi/templates/mobile/latest.html @@ -8,13 +8,13 @@

BBS

- #{thread['content']}
${thread['board_fulln']} R:#{int(thread['length'])-1}
+ #{thread['content']}
${thread['board_name']} R:#{int(thread['length'])-1}

IB

- #{thread['content']}
${thread['board_fulln']} R:#{int(thread['length'])-1}
+ #{thread['content']}
${thread['board_name']} R:#{int(thread['length'])-1}
diff --git a/cgi/templates/mobile/newest.html b/cgi/templates/mobile/newest.html index 37fd67f..76da88b 100644 --- a/cgi/templates/mobile/newest.html +++ b/cgi/templates/mobile/newest.html @@ -7,8 +7,8 @@
SeccionesHilos activosNuevos hilos
- #{thread['content']}
${thread['board_fulln']}
+ #{thread['content']}
${thread['board_name']}
- \ No newline at end of file + -- cgit v1.2.1-18-gbd029