Difference between revisions of "URL Encoded Data"

From GeoJSON
Jump to: navigation, search
m (http://ettaelt.strefa.pl/news-1645.html)
 
Line 1: Line 1:
[http://ettaelt.strefa.pl/news-1645.html live streaming video of animal] [http://tarobasal.strefa.pl/article599.htm nvidia fx5500 256mb 8x pci dual head video card] [http://zelgetgo.0lx.net/new1296.htm light sleeper movie] [http://lifokdron.0lx.net/1101.html language ru sex video] [http://sakonze.qsh.eu/cadomz-577.html losers movie]
 
[http://tacataca.strefa.pl/comment-1231.htm one weekend a month movie] [http://betheres.qsh.eu/comment-1694.htm sis 650 video drivers] [http://caraines.qsh.eu/pasetzel.htm somebody told me the killers video] [http://sedplxca.is-the-boss.com/license-to-grill-2008-12-28.htm license to grill tv show] [http://fademon.0lx.net/article-63.htm morriss video multi media]
 
 
URL Encoded Data is a Javascript library for converting an array into a URL. This could be useful for passing geographic requests using GeoJSON arrays.
 
URL Encoded Data is a Javascript library for converting an array into a URL. This could be useful for passing geographic requests using GeoJSON arrays.
  

Latest revision as of 00:17, 9 January 2009

URL Encoded Data is a Javascript library for converting an array into a URL. This could be useful for passing geographic requests using GeoJSON arrays.

//The JS Array format of the example given above
  var arr = {
        'name':"Binny",
        'year':2007,
        'quote':"Hello, World!",
        'os':['Windows','Linux','Mac'],
        'software':{
                'editor':"vi",
                'audio':"xmms",
                'video':"vlc"
        }
  }
var data = ued_encode(arr);

Results in:

http://www.example.com/get_data.php?name=Binny&year=2007&
quote=Hello%2C+World%21&os[]=Windows&os[]=Linux&os[]=Mac&
software[editor]=vi&software[audio]=xmms&software[video]=vlc

Ajaxian: UED - URL Encoded Data