| #
867da04d |
| 11-Apr-2026 |
Andreas Gohr <andi@splitbrain.org> |
Less ubiquitous feed caching. addresses #4574
Instead of creating caches for each and every requested feed, only the recent feed is still cached.
The number of items is clamped to conf[recent]*5.
Less ubiquitous feed caching. addresses #4574
Instead of creating caches for each and every requested feed, only the recent feed is still cached.
The number of items is clamped to conf[recent]*5.
Plugins can influence the caching behavior via the existing FEED_OPTS_POSTPROCESS event by setting cache_allow to true and optionally adding their own cache key in cache_key
Additionally the per-namespace feed autodiscovery link from <head> pointing to list-mode feeds has been removed.
show more ...
|
| #
7e23bd08 |
| 11-Feb-2024 |
Andreas Gohr <andi@splitbrain.org> |
use correct FeedOptions methods. fixes #4203
This makes feed.php use the correct methods for setting the feed type and content-type header. It also adds the missing type definition for RSS 1.0
|
| #
72c714a3 |
| 26-Jan-2024 |
splitbrain <splitbrain@users.noreply.github.com> |
Rector and PHPCS fixes
|
| #
a94c17ee |
| 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
style fixes
|
| #
1136941d |
| 26-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
feed: set tagline as subtitle. fixes #2239
|
| #
fe9d054b |
| 15-Jan-2024 |
Andreas Gohr <andi@splitbrain.org> |
Feed creation refactoring
This breaks up the humongous functions from feed.php into multiple classes. To keep compatibility with existing Plugin events, the basic principle of how the feed is assemb
Feed creation refactoring
This breaks up the humongous functions from feed.php into multiple classes. To keep compatibility with existing Plugin events, the basic principle of how the feed is assembled has not been changed:
* depending on the given mode and other options lose arrays of items are gathered * these items are then converted (again based on the various options) into proper FeedItems * the FeedItems are then added to the Feed
The conversion from loosely typed item data to something more structured is now done by the FeedItemProcessor classes. Some very basic tests have been added. It does not cover erverything but covers more than before (which was nothing).
Manual testing before merging this is highly recommended. I am not confident that I ported over everything correctly.
No new features have been added, but especially media support could and should be improved in the future.
show more ...
|