if a url appears to be xml (by the first few chars of the content), parse it as xml rather than html. if a url cant be parsed/processed, print out an error message and skip to the next url