JSON -> HTML

Status
Not open for further replies.

droplister

New member
Aug 23, 2007
1,233
21
0
NYC
Rating - 100%
17   0   0
I want to display Oodle listings on my site using their API. They offer it in XML and RSS, but JSON loads faster.

I am not familiar with JSON.

I want to display the first three results (less depending) and nothing at all if there are no results (including the h2 tag associated with this section of content.)

The JSON looks like this:
http://api.oodle.com/api/v2/listing...ion=34.57947,-84.024881&radius=15&format=json

I would be calling this same URL exactly on many pages except for changing the location provided.

Some one please help me get this set up.

The site is written in PHP.

I haven't made a template yet, but if you just show me how to call each item:

$item['title'];

Or whatever it may be.

Of particular interest is how to select the smallest thumbnail because they provide like 4.

Let me know how much you would do this for.

skype:droplister
 


Status
Not open for further replies.