Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add widget rssread #507

Closed
lludvik opened this issue Dec 22, 2024 · 3 comments
Closed

add widget rssread #507

lludvik opened this issue Dec 22, 2024 · 3 comments

Comments

@lludvik
Copy link

lludvik commented Dec 22, 2024

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>";
} 
?>
@Fraenkiman
Copy link
Collaborator

Hello @lludvik,

thanks for the suggestion and the source code. Would you like to create a plugin?

With best regards
Frank

@lludvik
Copy link
Author

lludvik commented Dec 31, 2024

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

@Fraenkiman
Copy link
Collaborator

I opened the issue in the Extras repo #25 and am closing it here.

Happy New Year

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants