From 91f9efed49a64f626251feac952fac470f6fe13c Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Mon, 9 May 2011 23:47:44 -0700 Subject: gdocs.js should store files under docs/content/[collection]/ --- gdocs.js | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'gdocs.js') diff --git a/gdocs.js b/gdocs.js index 2a991b26..af5ed51d 100755 --- a/gdocs.js +++ b/gdocs.js @@ -38,9 +38,8 @@ function help(){ }; -function fetch(name, url){ - //https://docs.google.com/feeds/default/private/full/folder%3Afolder_id/contents - console.log('fetching a list of docs in collection ' + name + '...'); +function fetch(collection, url){ + console.log('fetching a list of docs in collection ' + collection + '...'); request('GET', url, { headers: { 'Gdata-Version': '3.0', @@ -54,14 +53,14 @@ function fetch(name, url){ var title = entry.match(/