From 8833643928f69df99ae3394a53aa2855f7a02000 Mon Sep 17 00:00:00 2001 From: Nick White Date: Sun, 17 Jul 2011 00:03:36 +0100 Subject: Busywork neatening --- TODO | 5 +++++ config.mk | 2 +- getgbook.c | 7 ------- util.c | 1 - 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/TODO b/TODO index 2ee5e68..903ab00 100644 --- a/TODO +++ b/TODO @@ -9,3 +9,8 @@ to be fast and efficient it's best to crank through all the json 1st, filling in could consider making a json reading module, ala confoo, to make ad-hoc memory structures from json to be super fast we could have 2 threads, one filling the pages structs and one consuming them. this would complicate the code rather, though + +NOTE: there's now a new api that returns json. +it requires https, which we don't yet support. +https://www.googleapis.com/books/v1/volumes?q=isbn:1589235126 +https://www.googleapis.com/books/v1/volumes/jglfL_eVG4cC diff --git a/config.mk b/config.mk index 4b143fe..5be8319 100644 --- a/config.mk +++ b/config.mk @@ -6,7 +6,7 @@ PREFIX = /usr/local # flags CFLAGS = -ansi -pedantic -Wall -Wextra -Werror -g -D_POSIX_C_SOURCE=200112L -DVERSION=\"$(VERSION)\" -LDFLAGS = -static +LDFLAGS = -static #-s # compiler and linker CC = musl-gcc diff --git a/getgbook.c b/getgbook.c index a698694..22fd646 100644 --- a/getgbook.c +++ b/getgbook.c @@ -1,11 +1,4 @@ /* See COPYING file for copyright, license and warranty details. */ - -/* NOTE: there's now a new api that returns json. - * it requires https, which we don't yet support. - * https://www.googleapis.com/books/v1/volumes?q=isbn:1589235126 - * https://www.googleapis.com/books/v1/volumes/jglfL_eVG4cC */ - - #include #include #include diff --git a/util.c b/util.c index 46dcf16..2cb7c99 100644 --- a/util.c +++ b/util.c @@ -1,5 +1,4 @@ /* See COPYING file for copyright, license and warranty details. */ - #include #include #include -- cgit v1.2.3