aboutsummaryrefslogtreecommitdiff
path: root/docs/fr/developers
diff options
context:
space:
mode:
authorGravatar Frans de Jonge <fransdejonge@gmail.com> 2020-02-29 19:13:02 +0100
committerGravatar GitHub <noreply@github.com> 2020-02-29 19:13:02 +0100
commit8b1ccdac42b5e354a5048b3316d56fce0b5ca194 (patch)
tree5a238a59a86d5d87239015c9cb347e03b696e475 /docs/fr/developers
parent0f94402b7e8b7e25ee605f830b7c7becbe78ba8b (diff)
[i18n] Add documentation for new hooks (#2815)
See <https://github.com/FreshRSS/FreshRSS/pull/2704#issuecomment-592950971>.
Diffstat (limited to 'docs/fr/developers')
-rw-r--r--docs/fr/developers/03_Backend/05_Extensions.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/fr/developers/03_Backend/05_Extensions.md b/docs/fr/developers/03_Backend/05_Extensions.md
index 1b340505f..1f7687b47 100644
--- a/docs/fr/developers/03_Backend/05_Extensions.md
+++ b/docs/fr/developers/03_Backend/05_Extensions.md
@@ -521,6 +521,10 @@ class HelloWorldExtension extends Minz_Extension
The following events are available:
+* `check_url_before_add` (`function($url) -> Url | null`): will be executed
+ every time a URL is added. The URL itself will be passed as
+ parameter. This way a website known to have feeds which doesn't advertise
+ it in the header can still be automatically supported.
* `entry_before_display` (`function($entry) -> Entry | null`): will be
executed every time an entry is rendered. The entry itself (instance of
FreshRSS\_Entry) will be passed as parameter.
@@ -528,6 +532,9 @@ The following events are available:
executed when a feed is refreshed and new entries will be imported into
the database. The new entry (instance of FreshRSS\_Entry) will be passed
as parameter.
+* `feed_before_actualize` (`function($feed) -> Feed | null`): will be
+ executed when a feed is updated. The feed (instance of FreshRSS\_Feed)
+ will be passed as parameter.
* `feed_before_insert` (`function($feed) -> Feed | null`): will be executed
when a new feed is imported into the database. The new feed (instance of
FreshRSS\_Feed) will be passed as parameter.