I use a jQuery script to show a csv file (from google spreadsheets) in an html table. When I use 'test.csv' - with the csv-file in the same folder as the script -, it works, but when I add the url from google spreadsheets, it stops working.
<script>
$(function() {
$.get('https://docs.google.com/spreadsheet/pub?key=(key)&single=true&gid=8&range=A12%3AB34&output=csv', function(data) {
$('#CSVSource').html('<pre>' + data + '</pre>');
});
$('#CSVTable').CSVToTable('https://docs.google.com/spreadsheet/pub?key=(key)&single=true&gid=8&range=A12%3AB34&output=csv', { loadingImage: 'images/loading.gif', startLine: 0 });
$.get('test.tsv', function(data) {
$('#TSVSource').html('<pre>' + data + '</pre>');
});
(...)
The script comes from http://code.google.com/p/jquerycsvtotable/ (I use this script on Google App Engine (Java) )