I am wondering if it is possible to prevent YQL from URL encoding a key for a datatable?
Example: The updated guardian API works wit IDs like this:
item_id = "environment/2010/oct/29/biodiversity-talks-ministers-nagoya-strategy"
So If I now have this query
CODEBOX
SELECT * FROM guardian.content.item WHERE item_id='environment/2010/oct/29/biodiversity-talks-ministers-nagoya-strategy'
while using the following key defintion in my datatable
CODEBOX
<url>http://content.guardianapis.com/{item_id}</url>
then this results in this API call (see the URL encoding if item_id)
CODEBOX
http://content.guardianapis.com/environment%2F2010%2Foct%2F29%2Fbiodiversity-talks-ministers-nagoya-strategy?format=xml&order-by=newest&show-fields=all
Instead the guardian API expects the call to look like this:
CODEBOX
http://content.guardianapis.com/environment/2010/oct/29/biodiversity-talks-ministers-nagoya-strategy?format=xml&order-by=newest&show-fields=all
How can I achieve this? You can also check the full datatable:
http://github.com/spier/yql-tables/blob/ma...ontent.item.xml