[thelist] RSS Validation Problems - Solved
Asif Suria
asifsuria at yahoo.com
Sat Dec 24 15:16:09 CST 2005
Thanks for checking Paul. I had seen examples that
used the xmlns:content attribute but that was not the
problem.
The problem had to do with
1. White space before the <?xml version="1.0"
encoding="iso-8859-1" ?> line (I would never have
guessed this).
2. Missing </link> tags because Dreamweaver UltraDev
decided to arbitrarily remove all </link> tags. I have
had issues with Dreamweaver in the past where it adds
arbitrary code to the end of certain files. Switching
to Textpad as an editor fixed this problem.
3. I used a pubDate of 1:00:00 GMT instead of 01:00:00
GMT.
4. I put in those "-" signs in the code and they are
not supposed to be in the code but are displayed when
the browser parses through the XML code (I can't
believe I did this :-)).
The final validated RSS feed code is now at,
http://www.sinletter.com/rss.xml
--- Paul Waring <pwaring at gmail.com> wrote:
> On 12/23/05, Asif Suria <asifsuria at yahoo.com> wrote:
> > The following error from the validators is not
> making
> > much sense to me and I was hoping that some RSS
> expert
> > on this list might be able to understand that it
> > means.
> >
> > "line 1, column 2: XML parsing error:
> <unknown>:1:2:
> > xml declaration not at start of external entity
> >
> > <?xml version="1.0" encoding="iso-8859-1" ?>"
>
> I don't know for sure if this is the problem, but in
> my RSS feed I
> have this code:
>
> <rss version="2.0"
>
xmlns:content="http://purl.org/rss/1.0/modules/content/">
>
> instead of just:
>
> <rss version="2.0">
>
> You could try adding the XML namespace part
> (xmlns:...) and see if that works.
>
> Paul
>
> --
> Rogue Tory
> http://www.roguetory.org.uk
> --
>
> * * Please support the community that supports you.
> * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip
> Harvester
> and archives of thelist go to:
> http://lists.evolt.org
> Workers of the Web, evolt !
>
--------------------------------------------
Blog -> http://www.sinletter.com/ablog.aspx
--------------------------------------------
__________________________________
Yahoo! for Good - Make a difference this year.
http://brand.yahoo.com/cybergivingweek2005/
More information about the thelist
mailing list