Remove the current actor mapping proposal #4

Closed
linos wants to merge 3 commits from main into remove-actor-mapping-proposal

View file

@ -27,7 +27,7 @@ The following terms are used:
## Content related ## Content related
- **post type:** Post type and custom post types within WordPress - **post type:** Post type and custom post types within WordPress
- **Object Type:** ActivityPub [object type](https://www.w3.org/TR/activitystreams-vocabulary/#object types) - **Object Type:** ActivityPub [object type](https://www.w3.org/TR/activitystreams-vocabulary/#object-types)
- **Transformers:** a piece of code that converts items of a particular WordPress post type to an ActivityPub object of (a) specified type(s). For example a transformer that can transform: - **Transformers:** a piece of code that converts items of a particular WordPress post type to an ActivityPub object of (a) specified type(s). For example a transformer that can transform:
- `post` to a `Note` - `post` to a `Note`
- `post` to a `Article` - `post` to a `Article`
@ -111,7 +111,7 @@ available for a given post type are greyed out in the user interface:
## Backend ## Backend
Currently, only one hard-coded transformer exists in [`includes/transformer/class post.php`](https://github.com/Automattic/wordpress-activitypub/blob/master/includes/transformer/class post.php). Currently, only one hard-coded transformer exists in [`includes/transformer/class post.php`](https://github.com/Automattic/wordpress-activitypub/blob/master/includes/transformer/class-post.php).
```php ```php
/** /**
@ -207,6 +207,7 @@ Other WordPress actor types might have valid use cases, like actors for categori
We keep in mind that every post type shall only ever send as a `Create` Activity once by one single actor. We keep in mind that every post type shall only ever send as a `Create` Activity once by one single actor.
**User Interface:** **User Interface:**
| | users | tribe_organizers | custom | blog | category | | | users | tribe_organizers | custom | blog | category |
| -----------------|:-----:|:----------------:|:------:|:-----:|:--------:| | -----------------|:-----:|:----------------:|:------:|:-----:|:--------:|
| **post** | C | O | O | A | A | | **post** | C | O | O | A | A |