No Code Attached Yet
avatar PhilETaylor
PhilETaylor
16 Aug 2021

Steps to reproduce the issue

Install 4.0-dev
Add an article and set it featured
Load the feed URL

https://example.com/index.php?format=feed&type=atom

Note the link below, is a 404 page even if you fix ampersands

https://example.com/index.php?view=article&format=feed&type=atom&id=1:d-holy-grail-layout-to&catid=2

<link rel="alternate" type="text/html" href="https://example.com/index.php?view=article&amp;format=feed&amp;type=atom&amp;id=1:d-holy-grail-layout-to&amp;catid=2">

Expected result

the entry > link href to be a valid useable URL to the article.

Actual result

<?xml version="1.0" encoding="utf-8"?>
<!-- generator="Joomla! - Open Source Content Management" -->
<feed xmlns="http://www.w3.org/2005/Atom"  xml:lang="en-gb">
	<title type="text">Home</title>
	<subtitle type="text"></subtitle>
	<link rel="alternate" type="text/html" href="http://127.0.0.1:4444">
	<id>http://127.0.0.1:4444/index.php</id>
	<updated>2021-08-16T21:34:01+00:00</updated>
	<generator uri="https://www.joomla.org">Joomla! - Open Source Content Management</generator>
	<link rel="self" type="application/atom+xml" href="http://127.0.0.1:4444/index.php?format=feed&amp;type=atom">
	<entry>
		<title>d holy grail layout to </title>
		<link rel="alternate" type="text/html" href="http://127.0.0.1:4444/index.php?view=article&amp;format=feed&amp;type=atom&amp;id=1:d-holy-grail-layout-to&amp;catid=2">
		<published>2021-08-16T21:07:33+00:00</published>
		<updated>2021-08-16T21:07:33+00:00</updated>
		<id>http://127.0.0.1:4444/index.php?view=article&amp;id=1:d-holy-grail-layout-to&amp;catid=2</id>
		<author>
			<name>admin</name>
		</author>

System information (as much as possible)

Additional comments

avatar PhilETaylor PhilETaylor - open - 16 Aug 2021
avatar joomla-cms-bot joomla-cms-bot - change - 16 Aug 2021
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 16 Aug 2021
avatar brianteeman
brianteeman - comment - 15 Feb 2022

Looks to me as if this has been resolved elsewhere as the links work now and do not have the extra ;format=feed&amp;type=atom& in the rel=alternate links

feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-gb">
	<title type="text">Blog</title>
	<subtitle type="text"></subtitle>
	<link rel="alternate" type="text/html" href="http://localhost"/>
	<id>http://localhost/joomla-cms/index.php</id>
	<updated>2022-02-15T09:12:23+00:00</updated>
	<author>
		<name>42</name>
	</author>
	<generator uri="https://www.joomla.org">Joomla! - Open Source Content Management</generator>
	<link rel="self" type="application/atom+xml" href="http://localhost/joomla-cms/joomla-cms/index.php?option=com_content&amp;view=category&amp;layout=blog&amp;id=8&amp;Itemid=102&amp;format=feed&amp;type=atom"/>
	<entry>
		<title>Welcome to your blog</title>
		<link rel="alternate" type="text/html" href="http://localhost/joomla-cms/joomla-cms/index.php?option=com_content&amp;view=article&amp;id=3&amp;catid=8&amp;Itemid=102"/>
		<published>2022-02-14T13:41:49+00:00</published>
		<updated>2022-02-14T13:41:49+00:00</updated>
		<id>http://localhost/joomla-cms/index.php?option=com_content&amp;view=article&amp;id=3&amp;catid=8&amp;Itemid=102</id>
		<author>
			<name>Joomla</name>
		</author>

avatar brianteeman
brianteeman - comment - 15 Feb 2022

However I just spotted an additional error with all the links. this test site is at localhost/joomla-cms and all the generated links are to localhost/joomla-cms/joomla-cms

BUT only if your site is set to not use sef urls

avatar PhilETaylor PhilETaylor - change - 7 Mar 2022
Status New Closed
Closed_Date 0000-00-00 00:00:00 2022-03-07 18:36:52
Closed_By PhilETaylor
avatar PhilETaylor PhilETaylor - close - 7 Mar 2022

Add a Comment

Login with GitHub to post a comment