RSS FlatPressForum widget

Find help with FlatPress plugins, report a plugin bug, request or present new plugins.
Post Reply
Lubomír Ludvík
Posts: 64
Joined: Wed Feb 20, 2019 7:44 pm
Location: Rouchovany
Contact:

RSS FlatPressForum widget

Post by Lubomír Ludvík » Sun Dec 22, 2024 8:03 pm

Widget create with https://rss.app from feed/rss2

Code: Select all

<iframe width=”800” height=”500” src=”https://rss.app/embed/v1/feed/xeLKa4jg6jhRnw7V” frameborder=”0”></iframe>

Lubomír Ludvík
Posts: 64
Joined: Wed Feb 20, 2019 7:44 pm
Location: Rouchovany
Contact:

Simple rssread widget

Post by Lubomír Ludvík » Sun Dec 22, 2024 11:40 pm

source rssread.php
<?php
$rss = $_GET['rss'];
$rss = simplexml_load_file($rss);
echo '<h1>'. $rss->channel->title . '</h1>';

foreach ($rss->channel->item as $item) {
echo '<h2><a href="'. $item->link .'">' . $item->title . "</a></h2>";
echo "<p>" . $item->pubDate . "</p>";
echo "<p>" . $item->description . "</p>";
}
?>
example: https://solarcz.eu/programy/php_kody/rs ... =feed:rss2
rssread.zip
(726 Bytes) Downloaded 1318 times

User avatar
Arvid
FlatPress Coder
Posts: 625
Joined: Sat Jan 26, 2019 7:40 pm
Contact:

Re: RSS FlatPressForum widget

Post by Arvid » Mon Aug 04, 2025 11:29 am

Ahoj Lubomír,

where do you use that widget?
I for myself prefer local programs to consume RSS feeds. There are dedicated RSS apps, and mail clients such as Thunderbird and even Outlook are capable of subscribing to RSS feeds.

All the best,
Arvid

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 1 guest