From a4ae21b60f85c668005520ea9b796adf5a1bfc8d Mon Sep 17 00:00:00 2001 From: "Arnaud G. GIBERT" Date: Wed, 19 Jul 2023 14:11:06 +0200 Subject: [PATCH] - Update RSS code. --- html/lmbrowse.php | 35 ++++++++++++++++++----------------- 1 file changed, 18 insertions(+), 17 deletions(-) diff --git a/html/lmbrowse.php b/html/lmbrowse.php index eaefb51..ea20411 100644 --- a/html/lmbrowse.php +++ b/html/lmbrowse.php @@ -1,7 +1,7 @@ - + Langueur Monotone News Page - http://{$lmb_url_pre}/?page=rss + http://{$lmb_url_pre}/ Langueur Monotone project news RSS feed - http://{$lmb_url_pre}/images/lm_logo2-border-220.png + http://{$lmb_url_pre}/skin/images/lm-logo2-border-rss.png Langueur Monotone News Page - http://{$lmb_url_pre}/?page=rss + http://{$lmb_url_pre}/ "; @@ -1458,17 +1455,21 @@ xmlns:dc=\"http://purl.org/dc/elements/1.1/\" if( "{$news_tab[$i]["name"]}" != "") { - echo " - {$news_tab[$i]["alink"]} - {$news_tab[$i]["alink"]} -"; + echo " + {$news_tab[$i]["alink"]}"; + + $data = "
{$news_tab[$i]["date"]}: {$news_tab[$i]["title"]}{$news_tab[$i]["name"]}
"; } else { - echo " {$news} -"; + $data = "
{$news}
"; } - + + echo ' +


'; + echo "{$data}"; + echo '


]]>
+'; echo " "; }