topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Thursday March 28, 2024, 10:13 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: xkcdDownloader  (Read 8446 times)

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
xkcdDownloader
« on: September 13, 2010, 05:47 PM »
Hi All

Today I have spent some time looking for a tool which would allow me to download all xkcd episodes and… found nothing suitable (lot of wget related scripts).

So I have decided to quickly code small downloading tool for such purpose. Here it is attached.

Note that it requires newest .NET framework.

For now it downloads all episodes from 1st to 792nd. If someone likes it I may provide basic parameters support.

P.S. It also writes strips titles into descript.ion file (usable in Total Commander's comments view).

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,896
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Re: xkcdDownloader
« Reply #1 on: September 13, 2010, 06:02 PM »
Cool!
Maybe someone wants to make a MultiPhotoQuotes screensaver image pack for it?

CWuestefeld

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 1,009
    • View Profile
    • Donate to Member
Re: xkcdDownloader
« Reply #2 on: September 14, 2010, 12:04 PM »
That's cool. I've got a suggestion:

Store the image's ALT text into file as well. Sometimes this is as funny as the comic itself.

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: xkcdDownloader
« Reply #3 on: September 14, 2010, 01:58 PM »
Store the image's ALT text into file as well. Sometimes this is as funny as the comic itself.
Both texts (title and alt) are stored inside descript.ion file but I am working on writing it within image. Unfortunately, it will take time I suffer the lack of.

"Work in progress..."
16_monty_python.jpg


f0dder

  • Charter Honorary Member
  • Joined in 2005
  • ***
  • Posts: 9,153
  • [Well, THAT escalated quickly!]
    • View Profile
    • f0dder's place
    • Read more about this member.
    • Donate to Member
Re: xkcdDownloader
« Reply #4 on: September 15, 2010, 10:15 AM »
Alt text is definitely important, a lot of the strips get their main comic value from it :)

If you go about modifying the image, you should probably put source URL (http://xkcd.com/xxxx, not the http://imgs.xkcd.com one) there as well.
- carpe noctem

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: xkcdDownloader
« Reply #5 on: September 16, 2010, 03:00 AM »
xkcd is included in Comical by Joseph Cox on:
http://software.boot...ck.co.uk/?id=comical
http://www.bootblock.co.uk/home/

Freeware and well working.  :up:

clik thumb:

2010-09-16_100233-969.gifxkcdDownloader

« Last Edit: September 16, 2010, 03:02 AM by Curt »

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,566
    • View Profile
    • Donate to Member
Re: xkcdDownloader
« Reply #6 on: September 16, 2010, 05:53 AM »
Your xkcd downloader works really well :-) I was able to import>Copy the xkcd/app directory's images into Comical without any problems. Comical will itself "merely" search for and download updates to collections, not download entire collections.
 :up:

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,466
    • View Profile
    • Donate to Member
Re: xkcdDownloader
« Reply #7 on: September 16, 2010, 08:23 PM »
found nothing suitable (lot of wget related scripts).
-fenixproductions (September 13, 2010, 05:47 PM)
As some of us here  :D also have wget.exe, maybe you could provide some of those wget-related scripts, so we could mash up something on our own?

fenixproductions

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,186
    • View Profile
    • Donate to Member
Re: xkcdDownloader
« Reply #8 on: September 17, 2010, 04:53 PM »
@Tuxman
Just googled and went throught about 5 results pages, i.e.:
http://snippets.dzon....com/posts/show/4658
http://forums.xkcd.c...php?f=11&t=17563

I had tried to get some of these to work on my Windows machine and finally realised that coding in C# will take me much less time than Linux-like solutions.

Tuxman

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 2,466
    • View Profile
    • Donate to Member
Re: xkcdDownloader
« Reply #9 on: September 18, 2010, 07:48 AM »
Depends on what software you already have. ;)