Brotkrueml\FeedGenerator\Contract\FeedInterface¶
- interface Brotkrueml\FeedGenerator\Contract\FeedInterface¶
Interface for a feed.
- getId()¶
Get a unique identifier associated with this feed. Used in Atom only.
- Return type
string
- getTitle()¶
Get the title of the feed.
- Return type
string
- getDescription()¶
Get the text description of the feed.
- Return type
string
- getLink()¶
Get 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).
- Return type
string
- getAuthors()¶
Get the data for authors.
- Return type
- getDatePublished()¶
Get the date on which this feed was published. Used in RSS only.
- Return type
DateTimeInterface
- getDateModified()¶
Get the date on which this feed was last modified. Used in Atom only.
- Return type
DateTimeInterface
- getLastBuildDate()¶
Get the date on which this feed was last build. Used in RSS only.
- Return type
DateTimeInterface
- getLanguage()¶
Get the language of the feed. Used in Atom and RSS.
- Return type
string
- getCopyright()¶
Get a copyright notice associated with the feed. Used in Atom and RSS.
- Return type
string
- getImage()¶
Get an image. Used in Atom and RSS.
- Return type
- getCategories()¶
- Return type
- getItems()¶
Get the items of the feed.
- Return type
- getStyleSheet()¶
Get the path for an XSL stylesheet. Used in Atom and RSS.
The path should be prefixed with "EXT:".
- Return type
string