diff options
author | redmatrix <git@macgirvin.com> | 2016-03-16 18:00:13 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-03-16 18:00:13 -0700 |
commit | 38eb79705e4de252f29e56543de8a287132b488e (patch) | |
tree | 4f9a638d10820d820166778c851cf63c984fb4b3 /doc | |
parent | 4188419b30ca1ceba597ad336f751f1b01d161a3 (diff) | |
download | volse-hubzilla-38eb79705e4de252f29e56543de8a287132b488e.tar.gz volse-hubzilla-38eb79705e4de252f29e56543de8a287132b488e.tar.bz2 volse-hubzilla-38eb79705e4de252f29e56543de8a287132b488e.zip |
lots of work on federated channel discovery
Diffstat (limited to 'doc')
-rw-r--r-- | doc/hook/discover_by_webbie.bb | 1 | ||||
-rw-r--r-- | doc/hook/discover_channel_webfinger.bb | 14 | ||||
-rw-r--r-- | doc/hooklist.bb | 2 |
3 files changed, 15 insertions, 2 deletions
diff --git a/doc/hook/discover_by_webbie.bb b/doc/hook/discover_by_webbie.bb deleted file mode 100644 index f9228932e..000000000 --- a/doc/hook/discover_by_webbie.bb +++ /dev/null @@ -1 +0,0 @@ -[h2]discover_by_webbie[/h2] diff --git a/doc/hook/discover_channel_webfinger.bb b/doc/hook/discover_channel_webfinger.bb new file mode 100644 index 000000000..b0eb5f2c4 --- /dev/null +++ b/doc/hook/discover_channel_webfinger.bb @@ -0,0 +1,14 @@ +[h2]discover_channel_webfinger[/h2] + +Called after performing channel discovery using RFC7033 webfinger and where the channel is not recognised as zot. + +Passed an array: + + address: URL or address that is being discovered + success: set to true if the plugin discovers something + webfinger: array of webfinger links (output of webfinger_rfc7033()) + + + if your plugin indicates success you are expected to generate and populate an xchan (and hubloc) record prior to returning. + +
\ No newline at end of file diff --git a/doc/hooklist.bb b/doc/hooklist.bb index 9172628a0..bae641585 100644 --- a/doc/hooklist.bb +++ b/doc/hooklist.bb @@ -127,7 +127,7 @@ Hooks allow plugins/addons to "hook into" the code at many points and alter the [zrl=[baseurl]/help/hook/directory_item]directory_item[/zrl] Called when generating a directory listing for display -[zrl=[baseurl]/help/hook/discover_by_webbie]discover_by_webbie[/zrl] +[zrl=[baseurl]/help/hook/discover_channel_webfinger]discover_channel_webfinger[/zrl] Called when performing a webfinger lookup [zrl=[baseurl]/help/hook/display_item]display_item[/zrl] |