# the_onion.site
# includes all stories on far left, but not the images.
# includes Statshot and Infographic images

URL: http://www.theonion.com/
Name: The Onion
Levels: 3
IssueLinksStart: <FRAMESET
IssueLinksEnd: <NOFRAMES>

UseTableSmarts: 0

ContentsStart: <!-- Side-News Content End Begin -->
ContentsEnd: <!-- STATshot Link End -->
ContentsURL: http://www.theonion.com/onion\d+/index\d*\.html

ContentsHTMLPreProcess: {
  s/<.-- News Archives Begin -->.*?<.-- News-In-Brief Begin -->//gs;
}

StoryStart: Header End --> 
StoryEnd: Footer Begin -->
StoryURL: .*\.html
# there's a link button in the left column, along with all the archives
StorySkipURL: http://www.theonion.com/(info/onion_link.html|archive/.*)
# comment out these 2 lines to exclude the statshot and infographic images
ImageURL: .*statshot.*\.gif
ImageURL: .*infograph.*\.gif

MinPages: 2
