fix for different types of feed url (Thanks Kirill Klimikseev)