Clone of https://sourceforge.net/projects/simplehtmldom/ with updated examples and notes