Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Fix API reference to Writer->setFeedLinks() #43

Merged
merged 2 commits into from
Nov 1, 2017
Merged

Fix API reference to Writer->setFeedLinks() #43

merged 2 commits into from
Nov 1, 2017

Conversation

elazar
Copy link
Contributor

@elazar elazar commented Jun 18, 2017

setFeedLink() is the correct method

setFeedLink() is the correct method
@@ -210,7 +210,7 @@ Method | Description
`setTitle()` | Set the title of the feed.
`setDescription()` | Set the text description of the feed.
`setLink()` | Set a URI to the HTML website containing the same or similar information as this feed (i.e. if the feed is from a blog, it should provide the blog's URI where the HTML version of the entries can be read).
`setFeedLinks()` | Add a link to an XML feed, whether it is to the feed being generated, or an alternate URI 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 URI 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".
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elazar
Can you also check the table for Zend\Feed\Writer\Entry. There is the same wrong method included. Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done!

@weierophinney weierophinney merged commit 49630df into zendframework:master Nov 1, 2017
weierophinney added a commit that referenced this pull request Nov 1, 2017
Fix API reference to Writer->setFeedLinks()
weierophinney added a commit that referenced this pull request Nov 1, 2017
weierophinney added a commit that referenced this pull request Nov 1, 2017
@weierophinney
Copy link
Member

Thanks, @elazar!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants