WIP: Přidán RSS feed #3

Draft
Archos wants to merge 2 commits from dev into main
3 changed files with 41 additions and 1 deletions

View File

@ -24,7 +24,13 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mxchat Cz</title> <title>Mxchat Cz</title>
<link rel="stylesheet" type="text/css" href="./style/alt.style.css" /> <link rel="stylesheet" type="text/css" href="./style/alt.style.css" />
<link <a href="/index/feeds/rss.xml" class="rss-link" target="_blank">
<i class="fa fa-rss"></i> RSS
</a>
<a href="URL_TVÉHO_RSS_FEEDU" class="rss-link" target="_blank">
<i class="fa fa-rss"></i> RSS
</a>
<link
rel="stylesheet" rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css" href="https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css"
integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY=" integrity="sha256-XoaMnoYC5TH6/+ihMEnospgm0J1PM/nioxbOUdnM8HY="

24
index/feeds/rss.xml Normal file
View File

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>Novinky na Mxchatu</title>
<link>https://web.mxchat.cz</link>
<description>Poslední novinky a aktualizace na Mxchatu</description>
<language>cs</language>
<item>
<title>Poslední aktualizace Matrix mostu</title>
<link>https://web.mxchat.cz/novinky/matrix-most.html</link>
<description>Matrix most byl právě aktualizován na verzi 2.3.0</description>
<pubDate>Mon, 05 Sep 2024 09:00:00 GMT</pubDate>
</item>
<item>
<title>Nová funkce: Miniflux integrace</title>
<link>https://web.mxchat.cz/novinky/miniflux-integrace.html</link>
<description>Integrovali jsme Miniflux do Mxchatu, což umožňuje pohodlnou správu RSS kanálů.</description>
<pubDate>Wed, 07 Sep 2024 12:00:00 GMT</pubDate>
</item>
</channel>
</rss>

View File

@ -390,3 +390,13 @@ body {
.spacer { .spacer {
height: 90px; /* Zde určíte výšku mezery */ height: 90px; /* Zde určíte výšku mezery */
} }
.rss-link {
font-size: 20px; /* Velikost ikony */
color: #ff6600; /* Barva RSS ikony */
text-decoration: none;
margin-right: 10px;
}
.rss-link:hover {
color: #ff9900; /* Barva při najetí myší */
}