File:
[Local Repository] /
comics /
comics.conf
Revision
1.10:
download - view:
text,
annotated -
select for diffs
Thu Feb 19 14:56:10 2015 UTC (9 years, 10 months ago) by
nick
Branches:
MAIN
CVS tags:
HEAD
Fixed a problem that forced everything to JPG. This would kill GIF animations, but would not display the gifs either because 'convert' appends an index number to the end of the file name for each from of the GIF animation. I fixed this to maintain GIF compatibilty as well as rewritting how the script fetches the size of the file. Additionally, I updated the configuration for Questionable Content to search for GIF or JPG, which is what triggered this entire update.
# 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
questionable_content,http://questionablecontent.net/,<img src=\"(http:\/\/www.questionablecontent.net\/comics\/.*.[png|gif])\">.*,1,Questionable Content,gif,0
dilbert,http://www.dilbert.com/strip/__YEAR__-__MON__-__DAY__,.*class=\"img-responsive img-comic.*src=\"(.*)" width.*,1,Dilbert,gif,1
babyblues,http://www.arcamax.com/thefunnies/babyblues/,img src=\"(.*/newspics/.*gif)\",1,Baby Blues,gif,0
luann,http://www.arcamax.com/thefunnies/luann/,img src=\"(.*/newspics/.*gif)\",1,Luann,gif,0
andycapp,http://www.arcamax.com/thefunnies/andycapp/,img src=\"(.*/newspics/.*gif)\",1,Andy Capp,gif,0
fbofw,http://www.ucomics.com/fbofw,.*strip\" src=\"(.*)\" width.*,1,For Better or For Worse,gif,1
stonesoup,http://www.ucomics.com/stonesoup/,.*strip\" src=\"(.*)\" width.*,1,StoneSoup,gif,1
xkcd,http://xkcd.com,.*embedding\): (.*\.png).*,1,xkcd,png,1
questionable_content,http://questionablecontent.net/,<img src=\"(http:\/\/www.questionablecontent.net\/comics\/.*.[png|gif])\">.*,1,Questionable Content,gif,0
the_lockhorns,http://www.arcamax.com/thefunnies/thelockhorns/,img src=\"(.*/newspics/.*gif)\",1,The Lockhorns,gif,0
zits,http://www.arcamax.com/thefunnies/zits/,img src=\"(.*/newspics/.*gif)\",1,Zits,gif,0
#### OLD COMICS ####
#dilbert,http://www.dilbert.com,.*textarea class=\"STR_EmbedCode\".*<img src=\"(.*gif|jpg)\" border.*,1,Dilbert,gif,1
#userfriendly,http://www.userfriendly.org/,.*Latest Strip.*(\/cartoons\/archives\/.*gif|png|jpg).*,1,User Friendly,gif
#penny_arcade,http://penny-arcade.com/comic,.\s*<img src=\"(.*com\/photos.*)\" alt.*,1,Penny Arcade,png
#blondie,http://www.arcamax.com/thefunnies/blondie/,img src=\"(.*/newspics/.*gif)\",1,Blondie,gif,0
#wizard_of_id,http://www.arcamax.com/thefunnies/wizardofid/,img src=\"(.*/newspics/.*gif)\",1,Wizard Of Id,gif,0
#hagar_the_horrible,http://www.arcamax.com/thefunnies/hagarthehorrible/,img src=\"(.*/newspics/.*gif)\",1,Hagar the Horrible,gif,0
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>