Overview of properties in use by feed type¶
Table of Contents
Brotkrueml\FeedGenerator\Contract\AuthorInterface
¶
See: Brotkrueml\FeedGenerator\Contract\AuthorInterface
Interface method | Atom tag | JSON property | RSS tag |
---|---|---|---|
getEmail() |
<author><email> |
— | — |
getName() |
<author><name> |
author.name |
<author> |
getUri() |
<author><uri> |
author.url |
<author> |
Brotkrueml\FeedGenerator\Contract\CategoryInterface
¶
See: Brotkrueml\FeedGenerator\Contract\CategoryInterface
Interface method | Atom tag | JSON property | RSS tag |
---|---|---|---|
getLabel() |
<category label="..."> |
— | — |
getScheme() |
<category scheme="..."> |
— | <category domain="..."> |
getTerm() |
<category term="..."> |
— | <category> |
Brotkrueml\FeedGenerator\Contract\FeedInterface
¶
See: Brotkrueml\FeedGenerator\Contract\FeedInterface
Interface method | Atom tag | JSON property | RSS tag |
---|---|---|---|
getAuthors() |
<author> |
author |
<dc:creator> |
getCopyright() |
<rights> |
— | <copyright> |
getDatePublished() |
— | — | <pubDate> |
getDateModified() |
<updated> |
— | — |
getDescription() |
<subtitle> |
description |
<description> |
getId() |
<id> |
— | — |
getImage() |
<logo> |
— | <image> |
getItems() |
<entry> |
items |
<item> |
getLastBuildDate() |
— | — | <lastBuildDate> |
getLanguage() |
<feed xml:lang="..."> |
— | <language> |
getLink() |
<link rel="alternate"> |
home_page_url |
<link> |
getTitle() |
<title> |
title |
<title> |
Brotkrueml\FeedGenerator\Contract\ImageInterface
¶
See: Brotkrueml\FeedGenerator\Contract\ImageInterface
Interface method | Atom tag | JSON property | RSS tag |
---|---|---|---|
getDescription() |
— | — | <feed><image><description> |
getHeight() |
— | — | <feed><image><height> |
getLink() |
— | — | <feed><image><link> |
getTitle() |
— | — | <feed><image><title> |
getUri() |
<feed><logo> |
— | <feed><image><url> |
getWidth() |
— | — | <feed><image><width> |
Brotkrueml\FeedGenerator\Contract\ItemInterface
¶
See: Brotkrueml\FeedGenerator\Contract\ItemInterface
Interface method | Atom tag | JSON property | RSS tag |
---|---|---|---|
getAttachments() |
— | attachments |
<enclosure type="..." length="..." url="..."/> (only one) |
getAuthors() |
<author> |
authors |
<dc:creator> |
getCategories() |
<category term="..." scheme="..." label="..."/> |
tags |
<category> |
getContent() |
<content> |
content_html |
<content:encoded> |
getDatePublished() |
<published> |
date_published |
<pubDate> |
getDateModified() |
<updated> |
date_modified |
— |
getDescription() |
<summary> |
summary |
<description> |
getId() |
<id> |
id |
<guid isPermaLink="false"> |
getLink() |
<link rel="alternate" type="text/html" href="..."/> |
url |
<link> |
getTitle() |
<title> |
title |
<title> |