? ?
avatar marcosliell
marcosliell
19 Apr 2020

Steps to reproduce the issue

<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Joomla! - Open Source Content Management" -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>trste</title>
		<description><![CDATA[]]></description>
		<link>https://dominio/teste/index.php</link>
		<lastBuildDate>Sun, 19 Apr 2020 17:01:33 +0000</lastBuildDate>
		<generator>Joomla! - Open Source Content Management</generator>
		<atom:link rel="self" type="application/rss+xml" href="https://dominio.com.br/teste/teste/index.php?format=feed&amp;type=rss"/>
		<language>en-gb</language>
		<item>
			<title>teste artigo 01</title>
			<link>https://dominio.com.br/teste/index.php/2-uncategorised/1-teste-artigo-01</link>
			<guid isPermaLink="true">https://dominio.com.br/teste/index.php/2-uncategorised/1-teste-artigo-01</guid>
			<description><![CDATA[<div class="feed-description"><p><img src="https://dominio.com.br/teste/images/sampledata/fruitshop/apple.jpg" /></p><h2>O que é Lorem Ipsum?</h2>
<p><strong>Lorem Ipsum</strong> é simplesmente uma simulação de texto da indústria tipográfica e de impressos, e vem sendo utilizado desde o século XVI, quando um impressor desconhecido pegou uma bandeja de tipos e os embaralhou para fazer um livro de modelos de tipos. Lorem Ipsum sobreviveu não só a cinco séculos, como também ao salto para a editoração eletrônica, permanecendo essencialmente inalterado. Se popularizou na década de 60, quando a Letraset lançou decalques contendo passagens de Lorem Ipsum, e mais recentemente quando passou a ser integrado a softwares de editoração eletrônica como Aldus PageMaker.</p></div>]]></description>
			<category>Featured</category>
			<category>Uncategorised</category>
			<pubDate>Sat, 18 Apr 2020 01:29:09 +0000</pubDate>
		</item>
	</channel>
</rss>

Expected result

<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Joomla! - Open Source Content Management" -->
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>trste</title>
		<description><![CDATA[]]></description>
		<link>https://dominio/teste/index.php</link>
		<lastBuildDate>Sun, 19 Apr 2020 17:01:33 +0000</lastBuildDate>
		<generator>Joomla! - Open Source Content Management</generator>
		<atom:link rel="self" type="application/rss+xml" href="https://dominio.com.br/teste/teste/index.php?format=feed&amp;type=rss"/>
		<language>en-gb</language>
		<item>
			**<image>https://dominio.com.br/teste/images/sampledata/fruitshop/apple.jpg"<image>**
			<category>Featured</category>
			<category>Uncategorised</category>
			<pubDate>Sat, 18 Apr 2020 01:29:09 +0000</pubDate>
		</item>
	</channel>
</rss>

Actual result

Separate Image in a TAG

System information (as much as possible)

Joomla 3.9

Additional comments

avatar marcosliell marcosliell - open - 19 Apr 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 19 Apr 2020
avatar infograf768 infograf768 - change - 19 Apr 2020
The description was changed
avatar infograf768 infograf768 - edited - 19 Apr 2020
avatar richard67
richard67 - comment - 19 Apr 2020

Sorry, I don’t really understand your issue, and I don’t think someone else does. Could you provide more information and maybe some screenshot so we can understand better what the issue is?

avatar richard67
richard67 - comment - 19 Apr 2020

Ah now it looks better, thanks @infograf768

avatar Quy
Quy - comment - 19 Apr 2020

Maybe PR #28195 will fix this?

avatar marcosliell
marcosliell - comment - 19 Apr 2020

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

avatar mbabker
mbabker - comment - 19 Apr 2020

Per the RSS feed specification, an <image> tag is not a valid child of the <item> tag like you're looking for.

avatar marcosliell
marcosliell - comment - 19 Apr 2020

Per the RSS feed specification, an <image> tag is not a valid child of the <item> tag like you're looking for.

ok, but would it be possible to take the url of the image of the article's introduction and put it in a tag?

avatar mbabker
mbabker - comment - 19 Apr 2020

The feed specification says you can extend the document with namespaced tags. The core renderer does not support this type of extension to the RSS document. Without that support, core would be generating an invalid RSS feed document, so no right now it wouldn't be possible to take the URL of an article image and put it into the RSS feed.

avatar SharkyKZ SharkyKZ - change - 22 May 2020
Labels Added: ?
avatar SharkyKZ SharkyKZ - labeled - 22 May 2020
avatar rdeutz rdeutz - change - 18 Dec 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-12-18 10:33:49
Closed_By rdeutz
avatar rdeutz rdeutz - close - 18 Dec 2020

Add a Comment

Login with GitHub to post a comment