itzbund / gsb-rss
Provide your data as RSS feed and import data from RSS feeds
Requires
- php: ^8.3
- itzbund/gsb-core: ^3.0@rc || dev-main || dev-t3v13
- itzbund/gsb-solr: ^1.0@rc || dev-main || dev-t3v13
- typo3/cms-core: ^12.4 || ^13.4
Requires (Dev)
- ergebnis/composer-normalize: ^2.28
- helmich/typo3-typoscript-lint: ^3.3.0
- phpmd/phpmd: ^2.13
- ssch/typo3-rector: ^2.0 || ^3.5
- typo3/coding-standards: ^0.7 || ^0.8
- typo3/testing-framework: ^8.1
- v2.0.0-beta.4
- v2.0.0-beta.3
- v2.0.0-beta.2
- v2.0.0-beta.1
- dev-main / 1.x-dev
- v1.2.1
- v1.2.1-rc.1
- v1.2.0
- v1.2.0-rc.10
- v1.2.0-rc.9
- v1.2.0-rc.8
- v1.2.0-rc.7
- v1.2.0-rc.6
- v1.2.0-rc.5
- v1.2.0-rc.4
- v1.2.0-rc.3
- v1.2.0-rc.2
- v1.2.0-rc.1
- v1.1.4
- v1.1.3
- v1.1.2
- v1.1.1
- v1.1.1-rc.6
- v1.1.1-rc.5
- v1.1.1-rc.4
- v1.1.1-rc.3
- v1.1.1-rc.2
- v1.1.1-rc.1
- v1.1.0
- v1.1.0-rc.5
- v1.1.0-rc.4
- v1.1.0-rc.3
- v1.1.0-rc.2
- v1.1.0-rc.1
- v1.0.1-rc.2
- v1.0.1-rc.1
- v1.0.0
- v1.0.0-rc.3
- v1.0.0-rc.2
- v1.0.0-rc.1
- dev-next
- dev-release
- dev-t3v13
This package is auto-updated.
Last update: 2025-09-12 06:24:50 UTC
README
GSB 11 Extension gsb_rss
About
This extension makes it possible to provide RSS feeds based on the search. filtered search result lists can be provided as rss feeds
Installation
The best way to install this extension is to start with the GSB Sitepackage Kickstarter extension.
Quick installation without GSB Sitepackage Kickstarter
In a composer-based TYPO3 installation you can install the extension EXT:gsb_rss
via composer:
composer config -g gitlab-domains gitlab.opencode.de && \
composer config -g repositories.gsb-rss vcs https://gitlab.opencode.de/bmi/government-site-builder-11/extensions/gsb_rss
composer require itzbund/gsb-rss
Feature flags
Feature flags are configured in the .env
or the local-dev/.ddev/docker-compose.environment.yaml
file on ddev machine. To add a feature flag, use the following syntax:
# Feature flag for the specific tickets. Set them to true to activate the features.
- GSB11_FEATURE_1234_ENHANCED_PHP_PERFORMANCE=%const(bool:true)%
In this example, the feature flag GSB11_FEATURE_1234_ENHANCED_PHP_PERFORMANCE
is set to true
. To disable the feature, change the value to false
or delete
the setting.
Feature Flag Truth Table
This table illustrates the behavior of feature flags in various states.
Feature Flag State | Evaluated Value | Description |
---|---|---|
featureFlag = true | true | The feature is explicitly enabled. |
featureFlag = false | false | The feature is explicitly disabled. |
featureFlag = '' | false | An empty value is treated as false . |
featureFlag not exist | false | A non-existent flag defaults to false . |
Curent feature flags of gsb_rss
Feature flag | Description |
---|---|
GSB11_FEATURE_695_RSS_FEED | Enable RSS feed |
Usage in PHP Code
To use a feature flag in your PHP code, you can check the flag's value in the global TYPO3 configuration. Here's an example:
if (GeneralUtility::makeInstance(Features::class)->isFeatureEnabled('GSB11_FEATURE_1234_ENHANCED_PHP_PERFORMANCE')) {
// Only if the feature flag is set to true the feature is activated
// Feature-specific code goes here
}
In this example, the feature-specific code will only execute if the feature flag GSB11_FEATURE_1234_ENHANCED_PHP_PERFORMANCE
is set to true
.
Usage in Fluid Templates
You can also use feature flags in your Fluid templates with a custom ViewHelper. First, ensure you include the namespace for the ViewHelper:
{namespace gsb=ITZBund\GsbCore\ViewHelpers}
Then, use the featureFlag
ViewHelper to conditionally render content based on the feature flag:
<f:if condition="{gsb:featureFlag(featureKey: 'GSB11_FEATURE_1234_ENHANCED_PHP_PERFORMANCE')}">
<!-- Feature-specific content goes here -->
</f:if>
Usage
Nothing to do.
Contribute
As with TYPO3, we encourage you to join the project by submitting changes. Development of the GSB 11 happens mainly in the GSB 11 TYPO3 extension repositories.
To get started, have a look at our detailed contribution walkthrough.