changed function to take feed URLs as arguments