URL:		http://www.plastic.com/
Name:		Plastic
Description:	Recycling the web in real time

Levels:		2

ContentsStart:  begin index block
ContentsEnd:    begin portalmap block

StoryURL:	/article.*
StoryStart:     begin story block
StoryEnd:       begin footer block

# strip out the "login" and "related links" tables, they're irrelevant offline!
#
StoryHTMLPreProcess: {
  s,Plastic Login.* begin comment block,</B></FONT></TD></TR></TABLE>,s;
}

# copied from slashdot site: set a sane comment preference
# in Plastic's case, this seems to be 1 so far. Maybe up to 3 later...
#
URLProcess: {
  # fix story URLs; trim out all comment settings and use our own.
  s{^(http://www.plastic.com/article.pl\?sid=\d+/\d+/\d+/\d+).*}
        {$1\&mode=nested\&threshold=1}g;
        
  if (!/^http:\/\/www.plastic.com\/$/ && !/mode=nested\&threshold=1/) {
    undef $_;           # has to include these two; block it if it does not
  }
}

StoryHeadline: <TITLE>Plastic \| (.*?)</TITLE>

