const selfLinks = postLinks.filter(link => link.$.rel === 'self').map(link => link.$.href);