more details on actor/dispatch relation
This commit is contained in:
parent
f3f50ce12c
commit
0f0fcda233
1 changed files with 7 additions and 7 deletions
|
@ -170,16 +170,16 @@ Note that depending on which options are enabled, the method of federating via A
|
||||||
- If both are enabled the `blog`-actor will announce (boosting) the posts of the
|
- If both are enabled the `blog`-actor will announce (boosting) the posts of the
|
||||||
`author`-actors.
|
`author`-actors.
|
||||||
|
|
||||||
Currently the whole logic controlling this is written within the `Activity_Dispatcher` [class](https://github.com/Automattic/wordpress-activitypub/blob/master/includes/class-activity-dispatcher.php#L21).
|
Currently the whole logic controlling this is written within the `Activity_Dispatcher` [class](https://github.com/Automattic/wordpress-activitypub/blob/master/includes/class-activity-dispatcher.php#L21) which is currently triggered only within the `Scheduler` [class](https://github.com/Automattic/wordpress-activitypub/blob/master/includes/class-scheduler.php#L14-L15).
|
||||||
|
|
||||||
|
|
||||||
## Possibilities
|
## Possibilities
|
||||||
ActivityPub knows several [actor types](https://www.w3.org/TR/activitystreams-core/#actors):
|
ActivityPub knows several [actor types](https://www.w3.org/TR/activitystreams-core/#actors):
|
||||||
- Application
|
- `Application`
|
||||||
- Group
|
- `Group`
|
||||||
- Organization
|
- `Organization`
|
||||||
- Person
|
- `Person`
|
||||||
- Service
|
- `Service`
|
||||||
|
|
||||||
The specifications allow for a lot of flexibility in their use. As WordPress websites serve a variety of tasks and goals, providing more detailed capabilities and options in this area **may prove challenging to accomplish in a user-friendly manner**.
|
The specifications allow for a lot of flexibility in their use. As WordPress websites serve a variety of tasks and goals, providing more detailed capabilities and options in this area **may prove challenging to accomplish in a user-friendly manner**.
|
||||||
|
|
||||||
|
@ -198,7 +198,7 @@ Other WordPress actor types might have valid use cases, like actors for categori
|
||||||
### Problems
|
### Problems
|
||||||
|
|
||||||
- Overall complexity may lead to programming and usage errors.
|
- Overall complexity may lead to programming and usage errors.
|
||||||
- Naming collisions become more likely.
|
- Naming collisions become more likely. See below.
|
||||||
- Who is the `actor`, who is the `attributedTo`, who is just sending an `Announce` of a post?
|
- Who is the `actor`, who is the `attributedTo`, who is just sending an `Announce` of a post?
|
||||||
|
|
||||||
## Proposed starting point for evaluating use cases
|
## Proposed starting point for evaluating use cases
|
||||||
|
|
Loading…
Reference in a new issue