Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-07-19 09:54:03

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

RSS not validating

I’ve added an RSS feed to a website I’m working on but Safari, Firefox 2.0.0.4 or NetNewsWire can read it.

The URL is: feed://www.conwaytennisclub.co.uk/atom/

This is what I’ve added to the header:
<txp:feed_link format="link" flavor="rss" label="Atom" />
<txp:feed_link format="link" flavor="atom" label="RSS" />

And this is what the validator says:
<?xml version="1.0" encoding="UTF-8"?>
line 2, column 0: XML parsing error: <unknown>:2:0: xml declaration not at start of external entity

I’m at a lost where to go from here as this line doesn’t appear in my page code. The above has worked fine on other sites I’ve done so should really work here too – anyone got any ideas?

Offline

#2 2007-07-19 13:04:56

zero
Member
From: Lancashire
Registered: 2004-04-19
Posts: 1,475
Website

Re: RSS not validating

I don’t know the answer but I notice at the start of each page you have
<!— logged: yes —>
The only other thing that usually goes there is
<?xml version=“1.0” encoding=“UTF-8”?>


Dozy P My attempt at music

Offline

#3 2007-07-19 16:38:57

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: RSS not validating

And <!— logged: yes —> is not inserted by TXP

Offline

#4 2007-07-19 16:51:56

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: RSS not validating

Thanks for your replies guys.

The <!— logged: yes —> appears to generated from the Permanent links setting which is section/title, the Diagnostics displays clean_url_data_failed: <!-- logged: yes -->. If I change it to messy URLs then none of the links work. I’ve had a look in Textbook and it appears that it’s not going to be possible to have clean URLs.

Offline

#5 2007-07-31 14:05:40

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: RSS not validating

I’ve tracked down the cause of the <!— logged: yes —> message. It was generated by the wet_slimpattern plug-in, once I switched it off, my clean URLs returned.

However, still can’t get RSS to work. This is the site, anyone have any ideas what’s going wrong?

Offline

#6 2007-07-31 14:41:24

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: RSS not validating

What happens when you try using RSS? Looks okay to me.

Offline

#7 2007-07-31 14:50:02

Mary
Sock Enthusiast
Registered: 2004-06-27
Posts: 6,236

Re: RSS not validating

Feed both displays properly and validates. Whatever was wrong, isn’t there anymore?

Offline

#8 2007-07-31 15:00:19

decoderltd
Member
From: London
Registered: 2006-06-20
Posts: 248
Website

Re: RSS not validating

Thanks Ruud and Mary, it seems to be working fine now – might just have taken a little time to clear.

Offline

Board footer

Powered by FluxBB