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:
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
Post a Comment