svenjuergens/simplepie-rss
Composer 安装命令:
composer require svenjuergens/simplepie-rss
包简介
Show an RSS Feed with SimplePie inside TYPO3
README 文档
README
Display RSS feeds with the help of SimplePie in TYPO3.
Requirements
- TYPO3 v13.4 LTS or v14
- PHP 8.2+
Installation
composer require svenjuergens/simplepie-rss
Configuration
This extension ships a TYPO3 Site Set (svenjuergens/simplepie-rss).
Add it as dependency in your site configuration:
# config/sites/<identifier>/config.yaml dependencies: - svenjuergens/simplepie-rss
Then add the content element "SimplePie RSS" via the page module wizard and configure the feed URL, item limit and cache lifetime through the FlexForm.
Customising templates
Override the template paths via TypoScript:
plugin.tx_simplepierss.view {
layoutRootPaths.10 = EXT:mysitepackage/Resources/Private/ExtensionsOverwrite/simplepie_rss/Layouts/
templateRootPaths.10 = EXT:mysitepackage/Resources/Private/ExtensionsOverwrite/simplepie_rss/Templates/
}
Multiple template layouts
The FlexForm exposes a settings.templateLayout field. You can populate the
dropdown via Page TSconfig:
TCEFORM.tt_content.pi_flexform.simplepierss_simplepierssviewer.sDEF {
settings\.templateLayout {
addItems.secondLayout = my second Layout
addItems.thirdLayout = my third Layout
}
}
In your Fluid template branch on the selected layout:
<f:if condition="{settings.templateLayout} == 'secondLayout'"> ... </f:if>
统计信息
- 总下载量: 498
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2021-07-16