look_up_link


Description:

[ Version ( since = "0.1.1" ) ]
public unowned Link look_up_link (string rel)

Looks up a link by relation type from the list of links in the entry.

If the link has one of the standard Atom relation types, use one of the defined rel values, instead of a static string. e.g. LINK_EDIT or LINK_SELF .

In the rare event of requiring a list of links with the same rel value, use look_up_links.

Parameters:

this

a Entry

rel

the value of the rel attribute of the desired link

Returns:

a Link, or null if one was not found