|
|
@@ -588,22 +588,6 @@ $out = $feed->export('atom');
|
|
|
</row>
|
|
|
|
|
|
<row>
|
|
|
- <entry><methodname>setFeedLinks()</methodname></entry>
|
|
|
-
|
|
|
- <entry>
|
|
|
- Add a link to an <acronym>XML</acronym> feed, whether the feed being
|
|
|
- generated or an alternate <acronym>URI</acronym> pointing to the same
|
|
|
- feed but in a different format. At a minimum, it is recommended to
|
|
|
- include a link to the feed being generated so it has an identifiable
|
|
|
- final <acronym>URI</acronym> allowing a client to track its location
|
|
|
- changes without necessitating constant redirects. The parameter is an
|
|
|
- array of arrays, where each sub-array contains the keys "type" and
|
|
|
- "uri". The type should be one of "atom", "rss", or "rdf". If a type is
|
|
|
- omitted, it defaults to the type used when rendering the feed.
|
|
|
- </entry>
|
|
|
- </row>
|
|
|
-
|
|
|
- <row>
|
|
|
<entry><methodname>addAuthors()</methodname></entry>
|
|
|
|
|
|
<entry>
|
|
|
@@ -683,6 +667,17 @@ $out = $feed->export('atom');
|
|
|
</row>
|
|
|
|
|
|
<row>
|
|
|
+ <entry><methodname>setEnclosure()</methodname></entry>
|
|
|
+
|
|
|
+ <entry>
|
|
|
+ Adds an enclosure to the entry. The array parameter may contain the
|
|
|
+ keys 'uri', 'type' and 'length'. Only 'uri' is required for Atom, though the
|
|
|
+ others must also be provided or <acronym>RSS</acronym> rendering
|
|
|
+ (where they are required) will throw an Exception.
|
|
|
+ </entry>
|
|
|
+ </row>
|
|
|
+
|
|
|
+ <row>
|
|
|
<entry><methodname>setCommentLink()</methodname></entry>
|
|
|
|
|
|
<entry>
|