File:  [Local Repository] / comics / comics.conf
Revision 1.2: download - view: text, annotated - select for diffs
Thu Dec 20 16:18:59 2012 UTC (11 years, 10 months ago) by nick
Branches: MAIN
CVS tags: HEAD
Changes to XKCD's website required an update to this config.

#  This file is a CSV of what to download
# 
#  This will be placed in to a hash like this:
#
#                 "userfriendly" => {
#                                url     =>      "http://www.userfriendly.org/",
#                                search  =>      ".*Latest Strip.*(\/cartoons\/archives\/.*gif|png|jpg).*",
#                                mode    =>      "1",
#                                fullName=>      "User Friendly",
#                                ext     =>      "gif",
#                                order   =>	 "1",
#                           },
#  Note: error should always be 0, and ext can be left blank.  The script will try to determine what it is
#        but will fallback to whatever is in there by default if it can't get it.

base_directory = /home/httpd/html/daily/work
index_directory = indexes
image_directory = images

dilbert,http://www.dilbert.com,.*textarea class=\"STR_EmbedCode\".*<img src=\"(.*gif|jpg)\" border.*,1,Dilbert,gif
babyblues,http://www.babyblues.com,.*img src="(http:\/\/cserver.king-online.com\/.*Baby_Blues.*\d{4}(?:-\d\d?){2}).*,1,Baby Blues,gif
userfriendly,http://www.userfriendly.org/,.*Latest Strip.*(\/cartoons\/archives\/.*gif|png|jpg).*,1,User Friendly,gif
luann,http://www.gocomics.com/luann,.*Check out Luann.* src=\"(.*)\".*/>,1,Luann,jpg
fbofw,http://www.ucomics.com/fbofw,http://images.ucomics.com/comics/fb/__year__/fb__year2____mon2____day2__.__ext__,2,For Better or For Worse,gif
andycapp,http://www.gocomics.com/andy_capp/,.*Check out Andy.* src=\"(.*)\".*/>,1,Andy Capp,gif
stonesoup,http://www.ucomics.com/stonesoup,http://images.ucomics.com/comics/ss/__year__/ss__year2____mon2____day2__.__ext__,2,StoneSoup,gif
roseisrose,http://comics.com/rose_is_rose/,.*Check out Rose.* src=\"(.*)\".*/>,1,Rose is Rose,gif
xkcd,http://xkcd.com,.*embedding\): (.*\.png).*,1,xkcd,png

#----  Old Comica -----

#garfield,http://www.ucomics.com/garfield,http://picayune.uclick.com/comics/ga/__year__/ga__year2____mon2____day2__.__ext__,2,Garfield,gif
##wizeardofid,http://comics.com/wizard_of_id/,.*img src=\"(.*gif|jpg).*STR.AttachZoomHover.*,1,Wizard of ID,gif
##ziggy,http://www.ucomics.com/ziggy,http://images.ucomics.com/comics/zi/__year__/zi__year2____mon2____day2__.__ext__,2,Ziggy,gif
##momma,http://comics.com/momma/,.*img src=\"(.*gif|jpg).*STR.AttachZoomHover.*,1,Momma,gif
##peanuts,http://comics.com/peanuts/,.*img src=\"(.*gif|jpg).*STR.AttachZoomHover.*,1,Peanuts,gif
##zrandom,http://comics.com/,.*img src=\"(.*gif|jpg).*STR.AttachZoomHover.*,1,Random Comic of the Day,gif
#foxtrot,http://www.ucomics.com/foxtrot,http://images.ucomics.com/comics/ft/__year__/ft__year2____mon2____day2__.__ext__,2,Foxtrot,gif
#bc,http://www.comics.com/creators/bc/index.html,.*IMG SRC=\"(.*gif|jpg).*ALT.*Today.*Comic.*,1,B.C.,gif
# getfuzzy,http://www.comics.com/comics/getfuzzy/index.html,.*IMG SRC=\"(.*gif|jpg).*ALT.*Today.*Comic.*,1,Get Fuzzy,gif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>