Advertisement

RSS feed fails validation

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Post Reply
User avatar
mbrando
Joomla! Explorer
Joomla! Explorer
Posts: 365
Joined: Fri Dec 02, 2005 1:32 pm
Contact:

RSS feed fails validation

Post by mbrando » Wed Sep 11, 2024 7:15 pm

Hello,

I have a client who is trying to use Hubspot for RSS feed monitoring. Hubspot will not accept the Joomla 4.4.8 rss feed since it does not validate.

Feed Validation is here:
https://validator.w3.org/nu/?showsource ... type%3Drss

From this page:
https://www.mairsandpower.com/insights/all

Any idea why we get:

Schema Error: XML document with no namespace; cannot determine any schema to use for validation.
https://www.mairsandpower.com/insights/ ... d&type=rss
JIKOmetrix - Reliable web hosting
 http://www.jikometrix.net

Advertisement
01steve
Joomla! Fledgling
Joomla! Fledgling
Posts: 1
Joined: Mon Sep 16, 2024 8:57 am

Re: RSS feed fails validation

Post by 01steve » Tue Sep 17, 2024 4:05 am

The error stems from the fact that the Joomla RSS feed does not include the XML namespace, which is essential for validation. To correct this, make sure the <rss> tag includes the namespace attribute, or use a Joomla extension to manage it. Validating the feed in advance via tools like W3C is crucial.

User avatar
mbrando
Joomla! Explorer
Joomla! Explorer
Posts: 365
Joined: Fri Dec 02, 2005 1:32 pm
Contact:

Re: RSS feed fails validation

Post by mbrando » Tue Sep 17, 2024 11:52 am

Oddly it does include the RSS tag.

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">

That is the name space. I'm not sure why the validation tools for w3c and Hubspot do not see this.
JIKOmetrix - Reliable web hosting
 http://www.jikometrix.net

Advertisement

Post Reply

Return to “General Questions/New to Joomla! 4.x”