?
avatar Bodge-IT
Bodge-IT
24 Jan 2019

Steps to reproduce the issue

When Joomla's RSS feature is used to auto generate MailChimp newsletters from a Category View URL, no intro-image is pulled through the feed. MailChimp generates an html email without images.
Looking at the feed url in a browser, shows the images as present and checking the code it appears that images are thrown into <description> element. It also seems to add fixed width & height to images.
Rightly or wrongly, MailChimp strips or hides these images from description and does not parse through to its mail output. Joomla! is not using the expected RSS media enclosures for its media.

Expected result

Images are pulled through the feed, within an <enclosure> element, outside of the <description> element. Images should not necessarily be contained by height or width, as this can be handled by the feed interpretter.
RSS Spec(used as source): https://cyber.harvard.edu/rss/rss.html#hrelementsOfLtitemgt

Actual result

Images are passed through the feed within the <description> element and wrapped in a <p> tag. This change was implemented in #11402. While this showed up for me in MailChimp, it could apply to any RSS interpretter.

System information (as much as possible)

Files affected:
components/com_content/views/category/view.feed.php
libraries/src/Document/Renderer/FeedRssRenderer.php
libraries/src/MVC/ViewCategoryFeedView.php

Having created a fix for this, the above files required changing but I suspect, because of the circumvention of availability of the appropriate functionality, a good reason exists for not handling images appropriately.

Additional comments

All the elements for this to work already seem to be present in the library, it seems Joomla! is just circumventing these and passing the images within the <description> element.

avatar Bodge-IT Bodge-IT - open - 24 Jan 2019
avatar joomla-cms-bot joomla-cms-bot - change - 24 Jan 2019
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 24 Jan 2019
avatar mbabker mbabker - change - 24 Jan 2019
The description was changed
avatar mbabker mbabker - edited - 24 Jan 2019
avatar Bodge-IT Bodge-IT - change - 24 Jan 2019
The description was changed
avatar Bodge-IT Bodge-IT - edited - 24 Jan 2019
avatar Bodge-IT Bodge-IT - change - 24 Jan 2019
The description was changed
avatar Bodge-IT Bodge-IT - edited - 24 Jan 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Mar 2019
Status New Information Required
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 3 Mar 2019

This is about which Joomla-3-Version?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23657.

avatar joomla-cms-bot joomla-cms-bot - change - 16 Mar 2019
Status Information Required Closed
Closed_Date 0000-00-00 00:00:00 2019-03-16 11:37:40
Closed_By joomla-cms-bot
avatar franz-wohlkoenig franz-wohlkoenig - change - 16 Mar 2019
Closed_By joomla-cms-bot franz-wohlkoenig
avatar joomla-cms-bot joomla-cms-bot - close - 16 Mar 2019
avatar joomla-cms-bot
joomla-cms-bot - comment - 16 Mar 2019
avatar franz-wohlkoenig
franz-wohlkoenig - comment - 16 Mar 2019

closed as no Answer; please reopen if needed.

Add a Comment

Login with GitHub to post a comment