def link_text(self):
s = '<STR_LIT>'<EOL>links_node = self.metadata.find('<STR_LIT>')<EOL>if links_node is None:<EOL><INDENT>return s<EOL><DEDENT>links = links_node.getchildren()<EOL>if links is None:<EOL><INDENT>return s<EOL><DEDENT>s += '<STR_LIT>'<EOL>for link in links:<EOL><INDENT>rel = link.attrib.get('<STR_LIT>', '<STR_LIT>')<EOL>href = link.attrib.get('<STR_LIT>')<EOL>text = link.text<EOL>lt = '<STR_LIT>'.format(rel=rel,<EOL>href='<STR_LIT>'.format(href) if href else '<STR_LIT>',<EOL>text=text)<EOL>s += lt<EOL><DEDENT>return s<EOL>
Get a text represention of the links node.

:return: