Closed heitorbarbieri closed 6 years ago
Exemplo atual de uso do elemento "link":
"link" : { "hreflang" : "en", "title" : "Malaria vector control policy recommendations and their applicability to product evaluation: information note", "rel" : "alternate", "type" : "html", "href" : "http://www.who.int/iris/handle/10665/255337"
Implementado
De acordo com a documentação (Infobuuton) do elemento "link":
A pointer to a Web document that contains the feed. Includes the following attributes: href, rel, hreflang, title, length.
De acordo com a documentação do Atom:
This document defines five initial values for the Registry of Link Relations:
The value "alternate" signifies that the IRI in the value of the href attribute identifies an alternate version of the resource described by the containing element.
The value "related" signifies that the IRI in the value of the href attribute identifies a resource related to the resource described by the containing element. For example, the feed for a site that discusses the performance of the search engine at "http://search.example.com" might contain, as a child of atom:feed:
An identical link might appear as a child of any atom:entry whose content contains a discussion of that same search engine.
The value "self" signifies that the IRI in the value of the href attribute identifies a resource equivalent to the containing element.
The value "enclosure" signifies that the IRI in the value of the href attribute identifies a related resource that is potentially large in size and might require special handling. For atom:link elements with rel="enclosure", the length attribute SHOULD be provided.
The value "via" signifies that the IRI in the value of the href attribute identifies a resource that is the source of the information provided in the containing element.