Constants
View
The following options are located under the following path:
plugin.
Template root path
templateRootPath
-
- type
-
string
- Default
-
empty
- Path
-
plugin.tx_feeddisplay_pi1.view
In addition to the default path
EXT:, this constant can be used to define a custom template root path to overwrite individual fluid files as needed.feed_ display/ Resources/ Private/ Templates/
Partial root path
partialRootPath
-
- type
-
string
- Default
-
empty
- Path
-
plugin.tx_feeddisplay_pi1.view
In addition to the default path
EXT:, this constant can be used to define a custom partial root path to overwrite individual fluid files as needed.feed_ display/ Resources/ Private/ Partials/
Layout root path
layoutRootPath
-
- type
-
string
- Default
-
empty
- Path
-
plugin.tx_feeddisplay_pi1.view
In addition to the default path
EXT:, this constant can be used to define a custom layout root path to overwrite individual fluid files as needed.feed_ display/ Resources/ Private/ Layouts/
Settings
The following options are located under the following path:
plugin.
Use these settings if you want to define values globally for all Feed Display Plugin content elements.
Feed URL
feedUrl
-
- type
-
string
- Default
- Path
-
plugin.tx_feeddisplay_pi1.settings
URL that is fetched by the service.
Remote
httpandhttpsfeeds are requested via TYPO3's HTTP client stack, so TYPO3 proxy and related outbound HTTP settings apply automatically. Local file paths use SimplePie's default transport.
Maximum items
maxFeedCount
-
- type
-
int
- Default
-
10
- Path
-
plugin.tx_feeddisplay_pi1.settings
Maximum feed items to show
Maximum content length
maxContentLength
-
- type
-
int
- Default
-
500
- Path
-
plugin.tx_feeddisplay_pi1.settings
Crop the characters of the feed content to the configured length
Maximum header length
maxHeaderLength
-
- type
-
int
- Default
-
80
- Path
-
plugin.tx_feeddisplay_pi1.settings
Crop the characters of the feed header to the configured length
Maximum logo width
logoMaxWidth
-
- type
-
int
- Default
-
empty
- Path
-
plugin.tx_feeddisplay_pi1.settings
Maximum width of the feeds logo image
Maximum logo height
logoMaxHeight
-
- type
-
int
- Default
-
empty
- Path
-
plugin.tx_feeddisplay_pi1.settings
Maximum height of the feeds logo image
Maximum feed icon width
feedIconMaxWidth
-
- type
-
int
- Default
-
26
- Path
-
plugin.tx_feeddisplay_pi1.settings
Maximum width of the feeds icon image
Maximum feed icon height
feedIconMaxHeight
-
- type
-
int
- Default
-
26
- Path
-
plugin.tx_feeddisplay_pi1.settings
Maximum height of the feeds icon image
Date format
dateFormat
-
- type
-
DateTime
- Default
-
%d. %B %Y
- Path
-
plugin.tx_feeddisplay_pi1.settings
Use PHP's strftime() function to define the format for dates.
Strip tags
stripTags
-
- type
-
boolean
- Default
-
1
- Path
-
plugin.tx_feeddisplay_pi1.settings
Remove HTML tags from the feed content
Link target
linkTarget
-
- type
-
string
- Default
-
_blank
- Path
-
plugin.tx_feeddisplay_pi1.settings
Target attribute to define the feed link behavior
Possible values:
- _blank
- Opens in a new window or tab
- _self
- Opens in the same frame as it was clicked
- _parent
- Opens in the parent frame
- _top
- Opens in the full body of the window
Error message
errorMessage
-
- type
-
string
- Default
-
empty
- Path
-
plugin.tx_feeddisplay_pi1.settings
This message is displayed if no feed items could be fetched
Cache duration
cacheDuration
-
- type
-
int
- Default
-
3600
- Path
-
plugin.tx_feeddisplay_pi1.settings
Time in seconds in which the data is to be read from the cache until the next renewal of the cache. (0 = no cache)
Get Fields
getFields
-
- type
-
Array
- Default
-
empty
- Path
-
plugin.tx_feeddisplay_pi1.settings
Fields to get from feed and feed items.
Please see the options below.
Get Fields: Feed
getFields.feed
-
- type
-
list of strings, separated by comma
- Default
-
author, authors, contributor, contributors, copyright, description, encoding, favicon, items, item_quantity, language, link, links, permalink, title, type, subscribe_url, latitude, longitude, image_height, image_link, image_title, image_url, image_width, all_discovered_feeds, base
- Path
-
plugin.tx_feeddisplay_pi1.settings
Comma-separated list of fields to be read from the feed by SimplePie and made available as variables in Fluid.
Please see the SimplePie feed reference to find out which values can be used here. The Feed Display Extension transforms each entry of the list into a getter function name.
For example
item_internally becomesquantity get_.item_ quantity () Some SimplePie methods expect parameters. For this reason, up to three parameters can be passed via a special syntax. Use the "|" symbol to append the parameters to the element name.
Example:
plugin.tx_feeddisplay_pi1.settings.getFields.feed := addToList(channel_tags | http://www.itunes.com/dtds/podcast-1.0.dtd | image)Copied!This leads to the following SimplePid function call:
get_channel_tags("http://www.itunes.com/dtds/podcast-1.0.dtd", "image");Copied!
Get Fields: Items
getFields.items
-
- type
-
list of strings, separated by comma
- Default
-
author, authors, categories, category, content, contributor, contributors, copyright, date|U, description, enclosure, enclosures, feed, id, link, links, local_date|, permalink, source, title, latitude, longitude, base
- Path
-
plugin.tx_feeddisplay_pi1.settings
Comma-separated list of fields to be read from the feed items by
Please see the SimplePie feed item reference to find out which values can be used here. The Feed Display Extension transforms each entry of the list into a getter function name.
For example
authorinternally becomesget_.author () As in getFields.feed up to three parameters are supported.
Ignore Flexform Settings if empty
ignoreFlexFormSettingsIfEmpty
-
- type
-
list of strings, separated by comma
- Default
-
feedUrl, maxFeedCount, maxContentLength, maxHeaderLength, logoMaxWidth, logoMaxHeight, feedIconMaxWidth, feedIconMaxHeight, dateFormat, stripTags, linkTarget, errorMessage, cacheDuration, getFields.feed, getFields.items
- Path
-
plugin.tx_feeddisplay_pi1
Comma separated list of settings to be overridden by TypoScript if the plugin settings value is either empty or 0.
Attention
This property has been introduced as a native property for Extbase-based frontend plugins since TYPO3 v12 and replaces the previous custom property
plugin..tx_ feeddisplay_ pi1. settings. override Flexform Settings If Empty See also ignoreFlexFormSettingsIfEmpty.