My JSONP

My JSONP is a simple service for retrieving JSONP data and passing them to a user defined callback

Usage:

http://myjsonp.da-ta.de/CALLBACK/?TARGETURL&selector=DOMSELECTOR&encoding=ENCODING&cache=true|false

 

Params:

CALLBACK: 
The global javascript method to pass the retrieved data to
TARGETURL: 
The encoded (!) url to get the data from. Important: the url has to be url-encoded!
selector: 
jQuery/css-like selector for the dom element to get the contents from
encoding: 
The response encoding. Default: utf-8
cache:
This service always uses the cached value, so default is true! Use false to clear the cache!