const alternateLinks = postLinks.filter(link => link.$.rel === 'alternate').map(link => link.$.href);