!636 !modern main { psvm { S s = load("tinybrain.blog.de"); L tok = htmlcoarsetok(s); for (int i = 0; i+1 < tok.size(); i += 2) { String t = tok.get(i); if (tok.get(i+1).equals("
")) { int j = i+1; while (j < tok.size() && !tok.get(j).equals("
")) j += 2; i = j+1; continue; } if (t.indexOf("Computer!") < 0) continue; print("!!! " + t); if (tok.get(i+3).equals("
")) { int j = i+3; while (j < tok.size() && !tok.get(j).equals("
")) j += 2; new StringBuilder buf; for (i = i+4; i < j; i += 2) buf.append(tok.get(i) + "\n"); String code = buf.toString(); code = code.replace("<", "<"); code = code.replace(">", ">"); code = code.replace("\n\n", "\n"); print("Code:\n" + indent(" ", code)); } } } static S load(String bla) ctex { return loadPage(bla); } }