Create a Feed display module.
Enter https://www.joomla.org/announcements.feed?type=rss in Feed URL parameter
Enter Sidebar-right as position (using cassiopeia template)
Display Feed infos.
Feed display module shows "Feed not found" error in all cases.
Joomla 4.2 RC1
PHP 8.1
Seems to be related to fix #38095
Librairies/src/Feed/Parser/RssParser.php : line 355 makes RSS reader point to far in RSS file.
Labels |
Added:
No Code Attached Yet
|
Nope : Atom is OK
Atom Parser seemed to be ok, but it is not : $this->stream->getAttribute('version') is always empty.
In RssParser.php and AtomParser.php, when calling initialise function, XML reader is already on rss or feed record due to feedfactory.php lines 68 to 77 (skip ahead to the root node).
In both cases, $this->moveToNextElement() is pointing to next element, so $this->stream->getAttribute('version') is always empty.
In RssParser.php, calling $this->moveToNextElement('channel') moves XML reader to end of the file, causing empty file message.
In AtomParser.php, moveToNextElement being done earlier (line 194), everything seemed to be ok (except $this->version).
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-07-20 17:14:37 |
Closed_By | ⇒ | richard67 |
maybe same issue in AtomParser.php