Testing site at http://joomla37.enduring.com.au/index.php/news-feed-tests
The sources for these news feeds—the XML files—can be examined.
The URLs for should generate URLs based on the <link> element for each <item> in the XML feed.
The URLs for generate URLs based on the <guid> element for each <item> in the XML feed.
For the test site: "News Feed 4" generates a 404 error (and I don't know why). The URLs for "News Feed 1" and "3" and "5" generate valid URLs that will display the external content; the URLs for "News Feed 2" and "6" generate invalid URLs.
See full discussion on the Joomla forum at https://forum.joomla.org/viewtopic.php?f=706&t=960129
Lines 94-95 of /components/com_newsfeeds/views/newsfeed/tmpl/default.php probably apply
Build | J! 3.x | ⇒ | 3.x |
Status | New | ⇒ | Discussion |
Labels |
Added:
J3 Issue
|
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-06-11 13:28:49 |
Closed_By | ⇒ | franz-wohlkoenig |
Closed_By | franz-wohlkoenig | ⇒ | joomla-cms-bot |
Set to "closed" on behalf of @franz-wohlkoenig by The JTracker Application at issues.joomla.org/joomla-cms/19919
Thanks.
As mentionned in above forum's discussion, component com_newfeed and module mod_feed are not consistent:
com-newfeed line (line 94)
$uri = !empty($this->rssDoc[$i]->guid) || $this->rssDoc[$i]->guid !== null ? trim($this->rssDoc[$i]->guid) : trim($this->rssDoc[$i]->uri);
mod-feed (line 93)
$uri = (!empty($feed[$i]->uri) || $feed[$i]->uri !== null) ? trim($feed[$i]->uri) : trim($feed[$i]->guid);
Please note that this is still like this in 4.0 aplha 2.
Pascal