Skip to content

add widget rssread #25

Description

@Fraenkiman

Suggestion from @lludvik in #507

example: https://solarcz.eu/programy/php_kody/rssread.php?rss=http://feeds.bbci.co.uk/news/england/rss.xml
source code for 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>";
} 
?>

I would be happy for a plugin,would it be possible to enter the RSS feed address in the plugin?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions