That could be a problem with the specific RSS feed or some bug in my code. RSS is really under-specified, so there's no way a small snippet like this could handle all the variants that are out there. Your best bet is find another RSS library that handles everything gracefully.