Feature Language Change ? NPM Resource Changed Maintainers Checked PR-5.0-dev Pending

User tests: Successful: Unsuccessful:

avatar AndySDH
AndySDH
14 Jun 2022

As requested, Joomla 4.2 re-do of Pull Request #28195

Summary of Changes

Originally Joomla RSS Newsfeeds were completely missing the image_intro and image_fulltext. This was partially fixed with this PR: #11402

But that only introduced the image_intro, and forgot the image_fulltext.

So an article that had an image_fulltext would not use that image in the feed.

This PR simply adds the image_fulltext to the feed if the image_intro is empty, for both the category view and featured view.

avatar AndySDH AndySDH - open - 14 Jun 2022
avatar AndySDH AndySDH - change - 14 Jun 2022
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 14 Jun 2022
Category Unit Tests Repository Administration com_admin SQL
avatar richard67
richard67 - comment - 14 Jun 2022

@AndySDH Could you fix the code style errors reported by drone here https://ci.joomla.org/joomla/joomla-cms/55308/1/6 ? Thanks in advance.

avatar Quy Quy - change - 14 Jun 2022
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - change - 14 Jun 2022
Category Unit Tests Repository Administration com_admin SQL Front End com_content
avatar AndySDH
AndySDH - comment - 14 Jun 2022

@richard67 Should be done :)

avatar richard67
richard67 - comment - 14 Jun 2022

@richard67 Should be done :)

@AndySDH Not really. There are still some complaints: https://ci.joomla.org/joomla/joomla-cms/55316/1/6

avatar richard67
richard67 - comment - 14 Jun 2022
avatar AndySDH
AndySDH - comment - 14 Jun 2022

Well it's going in circles a bit. If I take out those spaces, the indentation will look off. I'm not sure that's a valid complaint there, not sure.

avatar richard67
richard67 - comment - 14 Jun 2022

Well it's going in circles a bit. If I take out those spaces, the indentation will look off. I'm not sure that's a valid complaint there, not sure.

@AndySDH It is a valid complaint. The indentation of the “=“ and the lines below do not need to be aligned. Furthermore the lines below should be indented with tabs. I would also suggest to put the operators “?” and “:” of the ternaries to the beginning of a line and not the end of the previous line. And I would indent the 2nd ternary by one tab more than the first one. Maybe check how it is done elsewhere.

avatar AndySDH
AndySDH - comment - 14 Jun 2022

Thanks for the suggestions :) Should be good now hopefully.

avatar joomla-bot
joomla-bot - comment - 27 Jun 2022

This pull requests has been automatically converted to the PSR-12 coding standard.

avatar HLeithner HLeithner - change - 27 Jun 2022
Labels Added: ? Maintainers Checked ?
avatar GixxerMKD
GixxerMKD - comment - 24 Aug 2022

The images are completely missing from the tags rss feed, can somebody look into this?
If you create a menu item with tags (Menu Item Type: Tagged Items) and check the RSS feed it will contain no images, also the contains the item title, not the category.

avatar Franzwohlkoenig
Franzwohlkoenig - comment - 24 Aug 2022

@GixxerMKD Solved with PR #38312 .

avatar GixxerMKD
GixxerMKD - comment - 24 Aug 2022

@GixxerMKD Solved with PR #38312 .

Not same issue, this is the file in question:
components/com_tags/src/View/Tag/FeedView.php

no image for item and wrong code for category:
($feeditem->category = $title;)

avatar HLeithner
HLeithner - comment - 2 May 2023

This pull request has been automatically rebased to 5.0-dev.

avatar AndySDH AndySDH - change - 17 Jun 2023
Title
[4.2 re-do] Fix for missing Fulltext Image in Newsfeeds
[4.3 re-do] Fix for missing Fulltext Image in Newsfeeds
avatar AndySDH AndySDH - edited - 17 Jun 2023
avatar AndySDH AndySDH - change - 17 Jun 2023
Labels Added: Feature PR-4.3-dev PR-5.0-dev ?
Removed: ? ?
avatar AndySDH
AndySDH - comment - 17 Jun 2023

Hello, I've updated the code with a cleaner and more simple approach.
Can this be reviewed and merged please?

avatar laoneo
laoneo - comment - 19 Jun 2023

@AndySDH this needs to go into 5.0 earliest. Please leave the base branch.

avatar AndySDH
AndySDH - comment - 19 Jun 2023

@laoneo How comes? This is a minor new functionality, should be perfectly fine for a minor release like eg. 4.3 or 4.4.

PS: When you changed the base branch to 5.0, my PR's "commits" got totally screwed up, I only updated 2 files, this now looks like I updated 94 files, which is not the case.

avatar joomla-cms-bot joomla-cms-bot - change - 15 Jul 2023
Category Front End com_content Administration com_joomlaupdate com_templates Language & Strings Modules Repository NPM Change Front End com_content Installation
avatar obuisard obuisard - change - 15 Jul 2023
Title
[4.3 re-do] Fix for missing Fulltext Image in Newsfeeds
[5.0] Fix for missing Fulltext Image in Newsfeeds
avatar obuisard obuisard - edited - 15 Jul 2023
avatar joomla-cms-bot joomla-cms-bot - change - 6 Sep 2023
Category Front End com_content Administration com_joomlaupdate com_templates Language & Strings Modules Repository NPM Change Installation Repository Administration com_admin com_banners com_categories com_config com_contact com_content com_fields com_finder com_installer
avatar AndySDH AndySDH - change - 6 Sep 2023
Labels Added: Language Change NPM Resource Changed
Removed: PR-4.3-dev ?
avatar HLeithner
HLeithner - comment - 30 Sep 2023

This pull request has been automatically rebased to 5.1-dev.

avatar stimpsonjcat
stimpsonjcat - comment - 24 Feb 2024

Confirmed this works. ✅
I created an article with only a full text image. Left the intro image blank. The feed now will show the full text image in the feed.

avatar stimpsonjcat stimpsonjcat - test_item - 24 Feb 2024 - Tested successfully
avatar stimpsonjcat
stimpsonjcat - comment - 24 Feb 2024

I have tested this item ✅ successfully on b2d557e


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

avatar HLeithner
HLeithner - comment - 24 Apr 2024

This pull request has been automatically rebased to 5.2-dev.

avatar HLeithner HLeithner - change - 24 Apr 2024
Title
[5.0] Fix for missing Fulltext Image in Newsfeeds
[5.2] Fix for missing Fulltext Image in Newsfeeds
avatar HLeithner HLeithner - edited - 24 Apr 2024
avatar joomla-cms-bot joomla-cms-bot - change - 24 Apr 2024
Category com_content Administration Repository com_admin com_banners com_categories com_config com_contact com_fields com_finder com_installer Front End com_content

Add a Comment

Login with GitHub to post a comment