scrubxml() is a member of Site class, this looks as wrong.
Is a new function really necessary?
Data truncation when find() doesn't return a value >= 0 may be omitted too.