consolidated tempFeedBaseUrl code