Hi,

I've noticed that in the <title/> node of the feed returned by the
API, double spaces are removed, but, they are not removed in the JSON
title. As a consequence, when I parse the XML stream and want to
retreive the JSON title I do not find it.

I've notice this behavior the first time in this feed :
http://www.cbc.ca/podcasting/includes/dnto.xml

For example if you execute :
curl 'http://www.cbc.ca/podcasting/includes/dnto.xml' > original.xml
you'll find this title in the feed :
<title>Repeats, reruns, repitions and repeats  (10/17/09)</title>
There are two spaces before the date (after 'repeats')

Now execute :
curl -e http://www.my-ajax-site.com  'http://ajax.googleapis.com/ajax/
services/feed/load?q=http://www.cbc.ca/podcasting/includes/
dnto.xml&v=1.0&output=xml' > modified.xml
The title becomes :
<title>Repeats, reruns, repitions and repeats (10/17/09)</title>
With one space before the date.

Maybe this is an intentional behavior.

But I've notice that in the JSON title, there still are two spaces if
I'm not mistaken. Is this also intentional ? I would have expected the
cleaned data to be same in the JSON and the XML feed.

Thanks.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to