Created
November 20, 2009 15:10
-
-
Save TBD/239553 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
input: | |
http://polimedia.us/trip/json.php?u=tbdr&c=myfunc | |
output: | |
myfunc([{"user" : "tbdr","position" : "786","score" : "0.17309","RT from" : "<font color=#0a00f5>PorscheTM</font>, <font color=#2f00d0>bleau</font>, <font color=#0900f6>whocoulddizbe</font>, <font color=#0700f8>Adeline</font>"}]) | |
test app: | |
http://code.plugins.ro/trip.htm | |
it should display the correct user info, otherwise the step that fails is displayed | |
explanation: | |
1. server receives input URL with two variables u and c (user and callback) | |
2. server returns callback function text + () + [] + {data} | |
example: | |
myfunc( | |
[ | |
{ | |
"key":"value" | |
} | |
] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment