You are here: Re: RSS 2.0 question - why are "=" characters not allowed in URLs, even inside the <link> tag? « PHP Programming Language « IT news, forums, messages
Re: RSS 2.0 question - why are "=" characters not allowed in URLs, even inside the <link> tag?

Posted by Jake Barnes on 12/20/05 19:33

Jake Barnes wrote:
> Very odd. Check out this RSS feed that my PHP script just built:
>
> http://www.tagcastle.com/rss/photography.xml
>
> When I had a straight URL in the <link> tag, or the <comment> tag, then
> "=" character drew an error and caused my XML to be not-well-formed. So
> I hit it with the PHP command rawurlencode, and now it draws no error,
> but it no longer works as a link.
>
> What did I do wrong?

I should add, when I don't hit the query string with rawurlencode(),
I"m getting this error:

XML Parsing Error: not well-formed

Location: http://www.tagcastle.com/rss/photography.xml
Line Number 7, Column 77:

<link>http://www.tagcastle.com/index.php?whatPage=showOneTag.php&whatTag=photography</link>
--------------------------------------------------------------------------------------------------------^

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация