scope snippetsFromLoadedHTML. sbool #rowPrinted; // assumes withmd5=1 static L snippetsFromLoadedHTML(S html) { new L l; for (L row : dropFirst(new TableFinder(html).rows())) { if (!rowPrinted) { print("snippetsFromLoadedHTML: " + row); set rowPrinted; } new Snippet s; s.title = dropAllTags(htmldecode(row.get(0))); s.id = dropAllTags(row.get(1)); s.md5 = dropAllTags(row.get(2)); s.type = dropAllTags(row.get(3)); s.isPublic = isYes(row.get(6)); l.add(s); } ret l; } end scope