[Developers] using mjt to create a new web service
Will Moffat
willmoffat at metaweb.com
Sat Aug 23 15:29:36 UTC 2008
Hi Rick,
> so, for some internal work, i'd like to use mjt -- but
> i am a little unclear on how to simply fetch data from a json service,
> without using mjt.freebase.MqlRead, but rather my own json service.
You probably want to define your own mjt task.
Check out the Yahoo JsonP example on http://mjtemplate.org/
The interesting code is here:
http://mjtemplate.org/dist/mjt-0.6/src/yahooapi/yahooapi.js
You can also create XmlHttpRequest based tasks if you don't need to
work cross-domain.
Ping me if you need an example.
regards,
--Will
More information about the Developers
mailing list