0

HAI everybody,
``
I am working on a Google API to obtain the contacts of users at my website, and I obtained a result using like this, but I wish wish to have the contacts out of the whole chunk.

I just wanna know , how can I parse values from here ??

this is the my json retrun value.
how to convert php html template formate

$.ajax({
                url: 'https://www.google.com/m8/feeds/contacts/default/full',
                dataType: 'jsonp',
                data: authParams,
                success: function(data) 
                {   

                alert(JSON.stringify(data));

                }

{"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$openSearch":"http://a9.com/-/spec/opensearchrss/1.0/","xmlns$gContact":"http://schemas.google.com/contact/2008","xmlns$batch":"http://schemas.google.com/gdata/batch","xmlns$gd":"http://schemas.google.com/g/2005","id":{"$t":"vksuriya2007@gmail.com"},"updated":{"$t":"2013-03-28T02:20:06.137Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://schemas.google.com/contact/2008#contact"}],"title":{"type":"text","$t":"Suriyakala Govindaraj's Contacts"},"link":[{"rel":"alternate","type":"text/html","href":"http://www.google.com/"},{"rel":"http://schemas.google.com/g/2005#feed","type":"application/atom+xml","href":"https://www.google.com/m8/feeds/contacts/vksuriya2007%40gmail.com/full"},{"rel":"http://schemas.google.com/g/2005#post","type":"application/atom+xml","href":"https://www.google.com/m8/feeds/contacts/vksuriya2007%40gmail.com/full"},{"rel":"http://schemas.google.com/g/2005#batch","type":"application/atom+xml","href":"https://www.google.com/m8/feeds/contacts/vksuriya2007%40gmail.com/full/batch"},{"rel":"self","type":"application/atom+xml","href":"https://www.google.com/m8/feeds/contacts/vksuriya2007%40gmail.com/full?alt=json&max-results=25"},{"rel":"next","type":"application/atom+xml","href":"https://www.google.com/m8/feeds/contacts/vksuriya2007%40gmail.com/full?alt=json&start-index=26&max-results=25"}],"author":[{"name":{"$t":"Suriyakala Govindaraj"},"email":{"$t":"vksuriya2007@gmail.com"}}],"generator":{"version":"1.0","uri":"http://www.google.com/m8/feeds","$t":"Contacts"},"openSearch$totalResults":{"$t":"386"},"openSearch$startIndex":{"$t":"1"},"openSearch$itemsPerPage":{"$t":"25"},"entry":[{"id":{"$t":"http://www.google.com/m8/feeds/contacts/vksuriya2007%40gmail.com/base/42e4650d6a1f2b"},"updated":{"$t":"2010-12-14T15:51:49.592Z"},"category":[{"scheme":"http://schemas.google.com/g/2005#kind","term":"http://schemas.google.com/contact/2008#contact"}],"title":{"type":"text","$t":""},"link":[{"rel":"http://schemas.google.com/contacts/2008/rel#edit- 
4
Contributors
7
Replies
21
Views
4 Years
Discussion Span
Last Post by gelani_1
0

how to convert jquery success json stringify xml data to php html template

You have to rewrite the json stringify xml with php code.

You can't convert json stringify xml data into php code.

You can combine json stringify xml with php code.

0

i want to email and name.
i tried to fetch alert(JSON.Stringify(data.name));
but disply alert box undefiend.
how to fetch

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.