Files
FreshRSS/docs
pe1uca bca9a5586e Hook to modify the list of feeds to actualize (#8655)
* Add FeedsListBeforeActualize hook.

Closes #8650
Implement new hook to allow extensions to modify the list of feeds to actualize.  

How to test the feature manually:

1. Add several feeds from a single site (e.g. reddit and YT).  
2. Add feeds to other sites.  
3. Add and enable the extension https://github.com/pe1uca/xExtension-Declumping  
4. Call `php app/actualize_script.php` to update feeds with a different order.  

A log like this one is needed to properly see the behavior.  
```php
foreach ($feeds as $key => $value) {
    syslog(LOG_INFO, "$key: {$value->name()} ({$value->url()})");
}
```

Sort in alphabetical order.

* Implement call to hook

* Remove duplicate return

* Fix PHPStan error

* Update documentation

* Sanitize hook response

* Markdown cleaning

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2026-04-02 09:21:18 +02:00
..
2020-10-03 13:42:18 +02:00
2025-12-11 19:30:06 +01:00
2024-05-15 08:58:10 +02:00

This is the documentation deployed by GitHub Pages.

To build and serve locally, first install the necessary packages:

bundle install

Then serve:

bundle exec jekyll serve -H 127.0.0.1 --watch --incremental

The documentation should be reachable at http://127.0.0.1:4000/FreshRSS/.