.. include:: /Includes.rst.txt .. _used-properties: ========================================== Overview of properties in use by feed type ========================================== .. contents:: Table of Contents :local: :php:`Brotkrueml\FeedGenerator\Contract\AuthorInterface` ======================================================== See: :any:`Brotkrueml\\FeedGenerator\\Contract\\AuthorInterface` .. list-table:: :widths: 25 25 25 25 :header-rows: 1 * - Interface method - Atom tag - JSON property - RSS tag * - :php:`getEmail()` - :xml:`` - — - — * - :php:`getName()` - :xml:`` - `author.name` - :xml:`` * - :php:`getUri()` - :xml:`` - `author.url` - :xml:`` :php:`Brotkrueml\FeedGenerator\Contract\CategoryInterface` ========================================================== See: :any:`Brotkrueml\\FeedGenerator\\Contract\\CategoryInterface` .. list-table:: :widths: 25 25 25 25 :header-rows: 1 * - Interface method - Atom tag - JSON property - RSS tag * - :php:`getLabel()` - :xml:`` - — - — * - :php:`getScheme()` - :xml:`` - — - :xml:`` * - :php:`getTerm()` - :xml:`` - — - :xml:`` :php:`Brotkrueml\FeedGenerator\Contract\FeedInterface` ====================================================== See: :any:`Brotkrueml\\FeedGenerator\\Contract\\FeedInterface` .. list-table:: :widths: 25 25 25 25 :header-rows: 1 * - Interface method - Atom tag - JSON property - RSS tag * - :php:`getAuthors()` - :xml:`` - `author` - :xml:`` * - :php:`getCopyright()` - :xml:`` - — - :xml:`` * - :php:`getDatePublished()` - — - — - :xml:`` * - :php:`getDateModified()` - :xml:`` - — - — * - :php:`getDescription()` - :xml:`` - `description` - :xml:`` * - :php:`getId()` - :xml:`` - — - — * - :php:`getImage()` - :xml:`` - — - :xml:`` * - :php:`getItems()` - :xml:`` - `items` - :xml:`` * - :php:`getLastBuildDate()` - — - — - :xml:`` * - :php:`getLanguage()` - :xml:`` - — - :xml:`` * - :php:`getLink()` - :xml:`` - `home_page_url` - :xml:`` * - :php:`getTitle()` - :xml:`` - `title` - :xml:`<title>` :php:`Brotkrueml\FeedGenerator\Contract\ImageInterface` ======================================================= See: :any:`Brotkrueml\\FeedGenerator\\Contract\\ImageInterface` .. list-table:: :widths: 25 25 25 25 :header-rows: 1 * - Interface method - Atom tag - JSON property - RSS tag * - :php:`getDescription()` - — - — - :xml:`<feed><image><description>` * - :php:`getHeight()` - — - — - :xml:`<feed><image><height>` * - :php:`getLink()` - — - — - :xml:`<feed><image><link>` * - :php:`getTitle()` - — - — - :xml:`<feed><image><title>` * - :php:`getUri()` - :xml:`<feed><logo>` - — - :xml:`<feed><image><url>` * - :php:`getWidth()` - — - — - :xml:`<feed><image><width>` :php:`Brotkrueml\FeedGenerator\Contract\ItemInterface` ====================================================== See: :any:`Brotkrueml\\FeedGenerator\\Contract\\ItemInterface` .. list-table:: :widths: 25 25 25 25 :header-rows: 1 * - Interface method - Atom tag - JSON property - RSS tag * - :php:`getAttachments()` - — - `attachments` - :xml:`<enclosure type="..." length="..." url="..."/>` (only one) * - :php:`getAuthors()` - :xml:`<author>` - `authors` - :xml:`<dc:creator>` * - :php:`getCategories()` - :xml:`<category term="..." scheme="..." label="..."/>` - `tags` - :xml:`<category>` * - :php:`getContent()` - :xml:`<content>` - `content_html` - :xml:`<content:encoded>` * - :php:`getDatePublished()` - :xml:`<published>` - `date_published` - :xml:`<pubDate>` * - :php:`getDateModified()` - :xml:`<updated>` - `date_modified` - — * - :php:`getDescription()` - :xml:`<summary>` - `summary` - :xml:`<description>` * - :php:`getId()` - :xml:`<id>` - `id` - :xml:`<guid isPermaLink="false">` * - :php:`getLink()` - :xml:`<link rel="alternate" type="text/html" href="..."/>` - `url` - :xml:`<link>` * - :php:`getTitle()` - :xml:`<title>` - `title` - :xml:`<title>`