Constants¶
View¶
The following options are located under the following path:
plugin.tx_feeddisplay_pi1.view
Template root path¶
- templateRootPath¶
 - Type
 string
- Default
 empty
- Path
 plugin.tx_feeddisplay_pi1.view
In addition to the default path
EXT:feed_display/Resources/Private/Templates/, this constant can be used to define a custom template root path to overwrite individual fluid files as needed.
Settings¶
The following options are located under the following path:
plugin.tx_feeddisplay_pi1.settings
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
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)
Override Flexform Settings if empty¶
- overrideFlexformSettingsIfEmpty¶
 - 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.settings
Comma separated list of settings to be overridden by TypoScript if the plugin settings value is either empty or 0.
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_quantityinternally becomesget_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)
This leads to the following SimplePid function call:
get_channel_tags("http://www.itunes.com/dtds/podcast-1.0.dtd", "image");
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.