Update URLs for new Fusion Table encrypted ID format

This commit is contained in:
Tom Morris 2013-02-10 15:03:43 -05:00
parent 5eca6127fc
commit 092acf082a
2 changed files with 2 additions and 3 deletions

View File

@ -150,7 +150,7 @@ public class FusionTableHandler {
List<String> row = rows.get(i); List<String> row = rows.get(i);
if (row.size() >= 2) { if (row.size() >= 2) {
String id = row.get(0); String id = row.get(0);
row.add("https://www.google.com/fusiontables/DataSource?dsrcid=" + id); row.add("https://www.google.com/fusiontables/DataSource?docid=" + id);
} }
} }
} }

View File

@ -142,8 +142,7 @@ final class FusionTableSerializer implements TabularSerializer {
} }
public String getUrl() { public String getUrl() {
// FIXME: This base URL is no longer correct
return tableId == null || exceptions.size() > 0 ? null : return tableId == null || exceptions.size() > 0 ? null :
"https://www.google.com/fusiontables/DataSource?dsrcid=" + tableId; "https://www.google.com/fusiontables/DataSource?docid=" + tableId;
} }
} }