History log of /dokuwiki/_test/tests/Feed/FeedPageProcessorTest.php (Results 1 – 2 of 2)
Revision Date Author Comments
# 482bf1d5 26-Jan-2024 Andreas Gohr <andi@splitbrain.org>

fix FeedPageProcessorTest on Github

It seems that the dataProvider generator runs before the rest of the
test suite, resulting in a wrong modification timestamp being read.

It's unclear why this ha

fix FeedPageProcessorTest on Github

It seems that the dataProvider generator runs before the rest of the
test suite, resulting in a wrong modification timestamp being read.

It's unclear why this happens on Github only.

show more ...


# 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 ...