Annotation of comics/comics.conf, revision 1.20

1.1       nick        1: #  This file is a CSV of what to download
1.16      nick        2: #
1.20    ! nick        3: #  $Id: comics.conf,v 1.19 2018/01/26 13:05:27 nick Exp $
1.17      nick        4: #  $Log: comics.conf,v $
1.20    ! nick        5: #  Revision 1.19  2018/01/26 13:05:27  nick
        !             6: #  Added a new config option to remove all newline from the resulting index.html
        !             7: #  file.  This allows for easier parsing for certain comics.  I then updated
        !             8: #  the URLs to search for and enabled the newline removal for a handful
        !             9: #  of uComics.
        !            10: #
        !            11: #  I believe I've also properly fixed the Comic Config version displayed on
        !            12: #  the webpage itself.
        !            13: #
1.19      nick       14: #  Revision 1.18  2017/08/17 12:32:42  nick
                     15: #  Updated For Better or For Worse URL change.
                     16: #
1.18      nick       17: #  Revision 1.17  2017/01/16 13:53:10  nick
                     18: #  Fixed ucomic due to website change.
                     19: #
1.17      nick       20: #  Revision 1.16  2015/10/22 12:58:44  nick
                     21: #  Added the ability for Sunday only comics.  Stonesoup is no longer weekdays, this has been added to Sunday only.  I also added Foxtrot Classics for weekdays and Foxtrot for Sundays.
                     22: #
1.1       nick       23: # 
                     24: #  This will be placed in to a hash like this:
                     25: #
1.10      nick       26: #      "userfriendly" => {
                     27: #          url     =>      "http://www.userfriendly.org/",
                     28: #          search  =>      ".*Latest Strip.*(\/cartoons\/archives\/.*gif|png|jpg).*",
                     29: #          mode    =>      "1",
                     30: #          fullName=>      "User Friendly",
                     31: #          ext     =>      "gif",
                     32: #          order   =>     "1",
1.20    ! nick       33: #          Sunday_only     => "1",
1.19      nick       34: #          remove_newlines => "0",
1.10      nick       35: #      },
                     36: #  Note: error should always be 0, and ext can be left blank.  The script
                     37: #  will try to determine what it is but will fallback to whatever is in 
                     38: #  there by default if it can't get it.
1.1       nick       39: 
                     40: base_directory = /home/httpd/html/daily/work
                     41: index_directory = indexes
                     42: image_directory = images
                     43: 
1.20    ! nick       44: cyanideandhappiness,http://explosm.net/comics/latest/,.*erty=\"og:image\" content=\"(.*)\">.*,1,Cyanide & Happiness,gif,0,0,1
        !            45: 
1.19      nick       46: forbetterorforworse,http://www.ucomics.com/forbetterorforworse,.*og:image.*(htt.*assets.amuniversal.*)\" ,1,For Better or For Worse,gif,1,0,1
1.17      nick       47: 
1.19      nick       48: foxtrot,http://www.ucomics.com/foxtrot,.*og:image.*(htt.*assets.amuniversal.*)\" ,1,FoxTrot,gif,1,1,1
1.20    ! nick       49: foxtrotclassics,http://www.ucomics.com/foxtrotclassics,.*og:image.*(htt.*assets.amuniversal.*)\" ,1,FoxTrot Classics,gif,0,0,1
1.16      nick       50: dilbert,http://www.dilbert.com/strip/__YEAR__-__MON__-__DAY__,<meta property=\"og:image\" content=\"(.*?)\"\/>,1,Dilbert,gif,1,0
                     51: sallyforth,http://sallyforth.com,<meta property=\"og:image\" content=\"(.*?)\"\/>,1,Sally Forth,gif,0,0
                     52: bizarro,http://www.arcamax.com/thefunnies/bizarro/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Bizarro,gif,0,0
                     53: pbs,http://www.arcamax.com/thefunnies/pearlsbeforeswine/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Pearls Before Swine,gif,0,0
                     54: questionable_content,http://questionablecontent.net/,<img src=\"(http:\/\/www.questionablecontent.net\/comics\/.*.[png|gif])\">.*,1,Questionable Content,gif,1,0
                     55: babyblues,http://www.arcamax.com/thefunnies/babyblues/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Baby Blues,gif,0,0
                     56: luann,http://www.arcamax.com/thefunnies/luann/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Luann,gif,0,0
                     57: andycapp,http://www.arcamax.com/thefunnies/andycapp/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Andy Capp,gif,0,0
1.19      nick       58: stonesoup,http://www.ucomics.com/stonesoup/,.*og:image.*(htt.*assets.amuniversal.*)\" ,1,StoneSoup,gif,1,1,1
1.16      nick       59: xkcd,http://xkcd.com,.*embedding\): (.*\.png).*,1,xkcd,png,1,0
                     60: questionable_content,http://questionablecontent.net/,<img src=\"(http:\/\/www.questionablecontent.net\/comics\/.*.[png|gif])\">.*,1,Questionable Content,gif,0,0
                     61: the_lockhorns,http://www.arcamax.com/thefunnies/thelockhorns/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,The Lockhorns,gif,0,0
                     62: zits,http://www.arcamax.com/thefunnies/zits/,data-zoom-image=\"(.*/newspics/.*/\d+\.(?:gif|jpg))\".*src,1,Zits,gif,0,0
1.10      nick       63: 
                     64: #### OLD COMICS ####
                     65: #dilbert,http://www.dilbert.com,.*textarea class=\"STR_EmbedCode\".*<img src=\"(.*gif|jpg)\" border.*,1,Dilbert,gif,1
                     66: #userfriendly,http://www.userfriendly.org/,.*Latest Strip.*(\/cartoons\/archives\/.*gif|png|jpg).*,1,User Friendly,gif
                     67: #penny_arcade,http://penny-arcade.com/comic,.\s*<img src=\"(.*com\/photos.*)\" alt.*,1,Penny Arcade,png
1.9       nick       68: #blondie,http://www.arcamax.com/thefunnies/blondie/,img src=\"(.*/newspics/.*gif)\",1,Blondie,gif,0
                     69: #wizard_of_id,http://www.arcamax.com/thefunnies/wizardofid/,img src=\"(.*/newspics/.*gif)\",1,Wizard Of Id,gif,0
1.10      nick       70: #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>