html - Displaying Google Spreadsheet Data with json2html -


i'm interested in using json2html display google spreadsheet data on website.

specifically, display contents of feed on page:

https://spreadsheets.google.com/feeds/list/0am0zfph_qjjmdejrotqxq3a1n2xneu9ac003szd2mve/od6/public/basic?alt=json-in-script

under "examples" tab on json2html website, there's sample displaying nhl's feed. pretty i'm trying accomplish, i'm not entirely sure json tag go in script markup.

any ideas?

depends on how want display data (and data). i'm assuming want display cell entries. here started (note can use jquery plugin same transform)

    var transform =          {"tag": "li", "children": [             {"tag":"p", "html":"${content.$t}"},             ]};      var data = json2html.transform(gdata.feed.entry,transform);      document.write('<ul>'+ data + '<ul>'); 

Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -