summaryrefslogtreecommitdiff
path: root/TODO
diff options
context:
space:
mode:
authorNick White <hg@njw.me.uk>2011-07-21 22:52:14 +0100
committerNick White <hg@njw.me.uk>2011-07-21 22:52:14 +0100
commit2792ba2ddfbf7ece7b960faf1ec28c022e9c566e (patch)
tree2cfc1f83c7930dd747bdd36e9fe190de8f80f54a /TODO
parent2c87bf5e7c229e7c7c85bb6bc0cae03e989ad388 (diff)
Separate util.c, use page codes, remove die()
Diffstat (limited to 'TODO')
-rw-r--r--TODO27
1 files changed, 24 insertions, 3 deletions
diff --git a/TODO b/TODO
index 2ee5e68..ff35451 100644
--- a/TODO
+++ b/TODO
@@ -1,11 +1,32 @@
-use order to be able to use real page numbers (getpagecode)
- to find this advance through click3 letter by letter until either } (none found) or strcmp "order"
+make sure i'm checking all lib calls that could fail
+make sure all arrays are used within bounds
+
+
+getgbooktxt (different program as it gets from html pages, which getgbook doesn't any more)
+
+getabook
+
+getbnbook
+
+openlibrary.org?
# once it is basically working #
+try supporting 3xx in get, if it can be done in a few lines
+ by getting Location line, freeing buf, and returning a new
+ iteration.
+
+add https support to get
+
to be fast and efficient it's best to crank through all the json 1st, filling in an array of page structs as we go
this requires slightly fuller json support
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
+write helper scripts like trymissing
+
+write some little tests
+
+have file extension be determined by file type, rather than assuming png
+
+think about whether default functionality should be dl all, rather than -a