]>
gitweb.michael.orlitzky.com - dead/lwn-epub.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Michael Orlitzky [Mon, 20 Aug 2012 19:48:11 +0000 (15:48 -0400)]
Return-style fix.
Michael Orlitzky [Mon, 20 Aug 2012 19:44:25 +0000 (15:44 -0400)]
Print an error before usage if we can't parse the page.
Michael Orlitzky [Mon, 20 Aug 2012 19:43:26 +0000 (15:43 -0400)]
Switch from a FilePath to a CookieJar in the config.
Michael Orlitzky [Mon, 20 Aug 2012 19:42:39 +0000 (15:42 -0400)]
Add http-conduit and http-types dependencies.
Remove the curl dependencies.
Michael Orlitzky [Sat, 14 Jul 2012 03:38:31 +0000 (23:38 -0400)]
Replace double newlines with "<br /><br />" in <pre> tags.
Supply a stylesheet (based on the default) to writeEPUB.
Set white-space: pre-line for <pre> elements.
Michael Orlitzky [Sat, 14 Jul 2012 03:02:03 +0000 (23:02 -0400)]
Fix the duplicated full story body bug.
Michael Orlitzky [Sat, 14 Jul 2012 02:46:01 +0000 (22:46 -0400)]
If we don't have the contents of a particular full story, drop its paragraph.
Michael Orlitzky [Sat, 14 Jul 2012 02:43:46 +0000 (22:43 -0400)]
Remove full story paragraphs if we aren't going to use them.
Michael Orlitzky [Fri, 13 Jul 2012 03:26:36 +0000 (23:26 -0400)]
Use an exact match for the "Full Story" link text.
Michael Orlitzky [Fri, 13 Jul 2012 02:36:28 +0000 (22:36 -0400)]
Fix the --full-story handling.
Michael Orlitzky [Fri, 13 Jul 2012 00:29:44 +0000 (20:29 -0400)]
Don't download full stories if we aren't going to use them.
Michael Orlitzky [Thu, 12 Jul 2012 23:47:30 +0000 (19:47 -0400)]
Add a --full-stories option which may or may not work.
Michael Orlitzky [Thu, 12 Jul 2012 20:31:48 +0000 (16:31 -0400)]
Remove a debug putStrLn.
Michael Orlitzky [Mon, 9 Jul 2012 03:31:37 +0000 (23:31 -0400)]
Use parallel-io instead of mapM to download images and full stories.
Michael Orlitzky [Mon, 9 Jul 2012 03:24:34 +0000 (23:24 -0400)]
Only fetch login cookies once.
Implement the full story downloading (still buggy).
Reorganize many of the XML functions.
Michael Orlitzky [Sun, 8 Jul 2012 23:17:29 +0000 (19:17 -0400)]
Move the pure-xml functions into the LWN.XHTML module.
Michael Orlitzky [Sun, 8 Jul 2012 21:25:34 +0000 (17:25 -0400)]
Move the wrapper div inside the ArticlePage to_xhtml function.
Add an XML class and implement to_xml for Articles.
Michael Orlitzky [Sat, 7 Jul 2012 16:32:00 +0000 (12:32 -0400)]
Move the main processing functions into the LWN.Page module.
Michael Orlitzky [Sat, 30 Jun 2012 16:39:07 +0000 (12:39 -0400)]
Whitespace cleanup.
Michael Orlitzky [Sat, 30 Jun 2012 16:37:00 +0000 (12:37 -0400)]
Source reorganization and cleanup.
Michael Orlitzky [Sat, 30 Jun 2012 16:14:56 +0000 (12:14 -0400)]
Add a trailing newline to the Misc module.
Michael Orlitzky [Sat, 30 Jun 2012 16:14:15 +0000 (12:14 -0400)]
Clean up some types now that I know what I'm doing.
Michael Orlitzky [Fri, 29 Jun 2012 05:30:29 +0000 (01:30 -0400)]
Final cleanups to get the download working.
Fix current/bigpage URL handling.
Add a test for current/bigpage URLs.
Michael Orlitzky [Fri, 29 Jun 2012 03:00:08 +0000 (23:00 -0400)]
Move some IO out of the HTTP module.
Michael Orlitzky [Fri, 29 Jun 2012 02:32:25 +0000 (22:32 -0400)]
Trivial whitespace cleanup.
Michael Orlitzky [Thu, 28 Jun 2012 21:14:42 +0000 (17:14 -0400)]
Add trailing slashes to URLs.
Spit out some debug info.
Michael Orlitzky [Thu, 28 Jun 2012 21:13:39 +0000 (17:13 -0400)]
Change the program name to 'lwn-epub' in the CommandLine module. Probably had it the other way for a reason that I will soon discover.
Michael Orlitzky [Thu, 28 Jun 2012 21:13:14 +0000 (17:13 -0400)]
Use 'find' to locate all source files in the makefile.
Michael Orlitzky [Thu, 28 Jun 2012 21:12:49 +0000 (17:12 -0400)]
Don't crash if the config file doesn't exist.
Michael Orlitzky [Thu, 28 Jun 2012 21:11:55 +0000 (17:11 -0400)]
Add the add_trailing_slash function and tests.
Michael Orlitzky [Thu, 28 Jun 2012 20:11:20 +0000 (16:11 -0400)]
Attempt to implement article downloading.
Michael Orlitzky [Thu, 28 Jun 2012 19:38:52 +0000 (15:38 -0400)]
Add some tests for the article URL construction.
Michael Orlitzky [Thu, 28 Jun 2012 01:16:39 +0000 (21:16 -0400)]
Add config file parsing.
Michael Orlitzky [Wed, 27 Jun 2012 21:00:48 +0000 (17:00 -0400)]
Implement image download and replacement.
Michael Orlitzky [Wed, 27 Jun 2012 20:59:14 +0000 (16:59 -0400)]
Always show help if parsing fails.
Don't output "Done."
Michael Orlitzky [Wed, 27 Jun 2012 15:30:38 +0000 (11:30 -0400)]
Fix up the absolute URI functions/tests.
Michael Orlitzky [Wed, 27 Jun 2012 13:53:07 +0000 (09:53 -0400)]
Begin working on image replacemenent.
Michael Orlitzky [Tue, 26 Jun 2012 23:52:27 +0000 (19:52 -0400)]
Implement URL filename parsing (with tests) and the save_image function.
Michael Orlitzky [Tue, 26 Jun 2012 23:52:11 +0000 (19:52 -0400)]
Add download-curl dependency for saving images.
Michael Orlitzky [Tue, 26 Jun 2012 20:24:38 +0000 (16:24 -0400)]
Add curl-fu for logging in and retrieving pages.
Michael Orlitzky [Tue, 26 Jun 2012 17:35:31 +0000 (13:35 -0400)]
Combine a few tests.
Michael Orlitzky [Tue, 26 Jun 2012 06:11:41 +0000 (02:11 -0400)]
Add indentation.
Michael Orlitzky [Tue, 26 Jun 2012 06:11:23 +0000 (02:11 -0400)]
Add link-to-span preprocessing.
Add a test for the link preprocessing.
Michael Orlitzky [Mon, 25 Jun 2012 21:37:27 +0000 (17:37 -0400)]
Begin working on determining the article argument type.
Michael Orlitzky [Mon, 25 Jun 2012 21:35:59 +0000 (17:35 -0400)]
Create a test suite and add `make test` target.
Add a new LWN.URI module and tests.
Michael Orlitzky [Mon, 25 Jun 2012 02:37:49 +0000 (22:37 -0400)]
Combine ArticlePage and FullPage into one Page type.
Refactor the Epublishable class into the new Page type.
Remove images before parsing rather than while parsing a full page.
Add an output file option.
Michael Orlitzky [Sun, 24 Jun 2012 15:54:52 +0000 (11:54 -0400)]
Use cmdargs to parse the one command-line argument.
Michael Orlitzky [Sun, 24 Jun 2012 03:47:24 +0000 (23:47 -0400)]
Go through a good bit of nonsense to get it successfully parsing our three test cases.
Michael Orlitzky [Sat, 23 Jun 2012 22:08:03 +0000 (18:08 -0400)]
Begin work on the full page code.
Michael Orlitzky [Sat, 23 Jun 2012 18:26:27 +0000 (14:26 -0400)]
Switch from epub to pandoc for epub creation.
Michael Orlitzky [Sat, 23 Jun 2012 05:01:02 +0000 (01:01 -0400)]
Add a first draft using HXT, HandsomeSoup, and the Haskell epub library.
Michael Orlitzky [Fri, 22 Jun 2012 21:06:11 +0000 (17:06 -0400)]
Add a dependency on tagsoup.
Start throwing junk into Main.
Michael Orlitzky [Fri, 22 Jun 2012 20:40:21 +0000 (16:40 -0400)]
Add a .gitignore for the dist directory.
Michael Orlitzky [Fri, 22 Jun 2012 20:38:48 +0000 (16:38 -0400)]
Initial commit. Hello, world.