New Google embed code

New Google embed code

davidbarczakdavidbarczak Posts: 4Questions: 2Answers: 0

I am new working with DataTables. Since google has updated its spreadsheet and their embed code around August 22, 2014 the code that is listed in a number of examples really doesn't work anymore or maybe I am just not understanding. Can anyone shead some light on how to use the new embed code with DataTables?

Example: Old:

$(document).ready(function() { $('#example').dataTable( { "bServerSide":false, "bProcessing":true, "sAjaxDataProp": "feed.entry", "sAjaxSource": "https://spreadsheets.google.com/feeds/list/0Ah5i4flVQwqEdHVRU0ZFWnVDSjVIaXdyNjJQR2ZtbEE/od6/public/values?alt=json", "aoColumns": [ { "mDataProp": "gsx$carmake.$t" }, { "mDataProp": "gsx$model.$t" }, { "mDataProp": "gsx$year.$t" }, ] } ); } );

New Google Spreadsheet Embed Code:

https://docs.google.com/spreadsheets/d/1P7TAS2OZ-1DBEV9qGnpEu-GArezAUuFkqgFhnQdOnJI/pubhtml

This discussion has been closed.