function parse(self,parser)
local body = parser:body()
local table = body:findChildOfClass("list-table")
if table == nil then return end
local titleNodes = table:findChildrenOfClass("subject")
if titleNodes == nil then return end
puts(titleNodes.count); -- it's will output nil
for i=0, titleNodes.count -1 do -- app will crushed, access nil object
local title = titleNodes:objectAtIndex(i)
local spanNode = title:findChildOfClass("f14px")
local anchorNode = spanNode:findChildTag("a")
end
end
* and parameter "parser" is a HTMLParser instance.