Hi All,

When generating Atom 1.0 feed contents with PHP script what is the correct way to encode or specify link href value which also happens to have query parameter?

THe problem is that for my site I need to specify alternate link for the entry.

PHP Code:
<link rel="alternate" type="text/html"
href="http://zknives.com/cpg14/thumbnails.php?album=129" /> 
However, the '=' symbol gets translated into %3D by feed readers I assume. So the link becomes invalid...

urlencode does nothing, and obviously so, because the query parameter 129 has nothing in it to encode.

I am guessing this has something to do with XML, but can't find anythign relevant on the web..