? Failure

User tests: Successful: Unsuccessful:

avatar AndySDH
AndySDH
3 Mar 2020

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.

avatar AndySDH AndySDH - open - 3 Mar 2020
avatar AndySDH AndySDH - change - 3 Mar 2020
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 3 Mar 2020
Category Front End com_content
avatar SharkyKZ
SharkyKZ - comment - 3 Mar 2020

That was intentional. Fulltext image is not used in category views.

avatar AndySDH
AndySDH - comment - 3 Mar 2020

That was intentional. Fulltext image is not used in category views.

Right, but that shouldn't matter. This is a newsfeed of the articles contained in the category. So I believe the main image representing the article should show in a feed list of the articles.

avatar simbus82
simbus82 - comment - 3 Mar 2020

I have had this problem too, we work with websites that are in Google News.
It is very important to have a really good feed.
https://support.google.com/news/publisher-center/answer/9545245

avatar AndySDH AndySDH - change - 3 Mar 2020
Labels Added: ?
avatar marcosliell
marcosliell - comment - 19 Apr 2020

I need the image path in a separate tag. and not along with the introduction text.

avatar Formatio-hippocampi Formatio-hippocampi - test_item - 8 Sep 2020 - Tested successfully
avatar ghost
ghost - comment - 8 Sep 2020

I have tested this item successfully on a356791


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

avatar AndySDH
AndySDH - comment - 1 Nov 2020

Hello, we need one more successful test for this. Or anything else I need to do to get this merged?

avatar gostn gostn - test_item - 1 Nov 2020 - Tested successfully
avatar AndySDH
AndySDH - comment - 1 Nov 2020

Thanks guys, asking for this to be merged after the successful tests have been made

avatar AndySDH AndySDH - change - 1 Nov 2020
The description was changed
avatar AndySDH AndySDH - edited - 1 Nov 2020
avatar alikon
alikon - comment - 1 Nov 2020

humm,

drone still failing, but most probably is not related to your pr

avatar AndySDH
AndySDH - comment - 1 Nov 2020

@SharkyKZ No, the isset check makes no sense. I purposely removed it. The variable already has a default value so there is no way it can ever not be set.

avatar SharkyKZ
SharkyKZ - comment - 1 Nov 2020

Not for the variable, for the object property.

avatar SharkyKZ
SharkyKZ - comment - 1 Nov 2020

I'm not going to make any changes because 1) I don't have such privilege 2) this PR is wrong as already explained in the first comment.

But if maintainers accept this change, it at least should not be producing PHP notices:

PHP Notice: Trying to get property of non-object in C:\wamp\www\joomla-cms-3\components\com_content\views\category\view.feed.php on line 42

avatar AndySDH
AndySDH - comment - 1 Nov 2020

The PR is not wrong. f you google around you find many people complaining about this same issue.

Anyway, I'll make the changes, I'll also make the code a little bit more nice to read.

avatar AndySDH
AndySDH - comment - 1 Nov 2020

Done, please test @SharkyKZ, thanks.

avatar AndySDH
AndySDH - comment - 2 Nov 2020

Not sure why checks are failing, anyone can help?

avatar HLeithner
HLeithner - comment - 2 Nov 2020

please merge the current staging branch into this pr branch

avatar AndySDH
AndySDH - comment - 2 Nov 2020

@HLeithner can you give me instructions on how to do it? No idea how that's done =/ Thanks.

avatar AndySDH
AndySDH - comment - 12 Nov 2020

Soo... Can someone with the knowledge to do this merge this into the latest branch? Thanks!

avatar AndySDH
AndySDH - comment - 31 Jul 2021

Hello, any update on this?

avatar Quy Quy - change - 10 Jun 2022
Labels Added: ? ?
Removed: ?
avatar zero-24
zero-24 - comment - 12 Jun 2022

I'm sorry that it took that long to get a reply here but i will not accept this PR as it is into 3.10. if anything we should do a new PR against 4.2-dev.

avatar zero-24 zero-24 - change - 12 Jun 2022
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2022-06-12 17:33:55
Closed_By zero-24
Labels Removed: ?
avatar zero-24 zero-24 - close - 12 Jun 2022
avatar AndySDH
AndySDH - comment - 14 Jun 2022

See PR #38058 for 4.2 re-do

Add a Comment

Login with GitHub to post a comment