Improved link selection

Improved link selection for atom feeds.