定制 svenjuergens/simplepie-rss 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

svenjuergens/simplepie-rss

Composer 安装命令:

composer require svenjuergens/simplepie-rss

包简介

Show an RSS Feed with SimplePie inside TYPO3

README 文档

README

Latest Stable Version Packagist

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2021-07-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固