function LoadPage(URL,start,newstart,finish) { temp = new Stream; try { page = new Stream; page.append(new Stream(URL)); if (page.size == 0) return ""; page.rewind(); temp.writeln(""); page.readUntil(start); temp.write(newstart); page.readUntil(finish,temp); // page.close(); temp.writeln("
"); } catch (err) {writeln(err);} return temp.toString(); } out = new Stream('comics.html','wt'); out.writeln(""); writeln("Sluggy Freelance"); out.writeln(LoadPage("http://www.sluggy.com",'Sluggy Freelance © ','<img alt=')); writeln("Schlock"); out.writeln(LoadPage("http://www.schlockmercenary.com/",'','','').replace(/\/comics/i,'http://www.schlockmercenary.com/comics')); //out.writeln('Schlock') writeln("Dilbert"); out.writeln(LoadPage("http://umweb2.unitedmedia.com/comics/dilbert/",'SRC="/comics/dilbert/archive/','
'); //LoadPage("http://www.brunothebandit.com"); writeln("PVP"); out.writeln(LoadPage("http://www.pvponline.com/",'IMG SRC="archive/','PVP') //out.writeln(LoadPage("http://www.pvponline.com/",'PVP') writeln("Doonesbury"); out.writeln(LoadPage("http://www.uclick.com/client/wpc/db/",'','','')); out.writeln("") writeln("Non Sequitur"); out.writeln(LoadPage("http://www.uclick.com/client/wpc/nq/",'','','')); out.writeln("") writeln("9 Chickweed lane"); out.writeln(LoadPage("http://www.chickweed.com/",'')); //out.writeln('Chickweed') writeln("Get Fuzzy"); out.writeln(LoadPage("http://www.unitedmedia.com/comics/getfuzzy/",'')); writeln("Sinfest"); out.writeln(LoadPage("http://www.sinfest.net/",'comic')); //out.writeln('Sinfest') writeln("PhD"); out.writeln(LoadPage("http://phd.stanford.edu/comics.cfm",'')); writeln("Bruno"); out.writeln(LoadPage("http://www.brunothebandit.com/",'comic')); //out.writeln('Bruno') out.writeln(""); jsShellExec("comics.html");