Hello everyone,
I'm starting to play with YQL. I want to create some Open Data Tables, right now i'm trying with musicBrainz...
I created one table for artist query:
http://adrien.gibrat.free.fr/yql/mb.artist.query.xmlIt's working fine!
A query like:
select id, type,name,disambiguation from artist(0,101) where q='a*';
use paging and retrieve 2 times the API...
But when I create an alias for the query:
CODE
use 'http://adrien.gibrat.free.fr/yql/mb.artist.query.xml' as artist;
select id, type,name,disambiguation from artist where q=@q;
(the alias url is
http://query.yahooapis.com/v1/public/yql/a...b-artist-query)I can't qive my own limit & offset in the query! The paging default are always used!
I was expecting that:
http://query.yahooapis.com/v1/public/yql/a...rue&limit=2will return 2 results and the request to musicbrainz should be
http://musicbrainz.org/ws/1/artist/?limit=...amp;query=radiobut the actual request use the paging default!
http://musicbrainz.org/ws/1/artist/?limit=...amp;query=radioand then return 25 results.
I can't neither changer offset and then request the content of "page 2" using my alias! It seems I have to rewrite the whole YQL query.... disapointing

query params should be able to override paging default... otherwise you can't have the best of the 2 worlds!
How can I override this default values!
Any ideas?