improved changes to allow retrieval of alternate links in sitemaps, see #360