'Return all the links with the given ``rel`` attribute.  The
default relation is ``\'alternate\'``, and as specified for Atom
links with no ``rel`` attribute are assumed to mean alternate.'

def rel_links(self, rel='alternate'):

    if (rel is None):
        return self._atom_iter('link')
    return [el for el in self._atom_iter('link') if ((el.get('rel') == rel) or ((rel == 'alternate') and (not el.get('rel'))))]
