HTML tags for article¶
Here we analyze, which types
of HTML tags are allowed inside the content field of Article
type
objects. One should expect that a Note
, i.e.
Represents a short written work typically less than a single paragraph in length.
see here,
should not contain headings h1-h6
or embedded media, e.g. img
.
Sanitizing fields is desired behavior as seen in Section B.10 of ActivityPub.
Examples¶
Example 1¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/z22k-iPtzzs",
"published": "2025-01-14T15:52:54Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/ZKAVo0Cw4v8",
"published": "2025-01-14T15:52:54Z",
"content": "<b>bold</b>",
"cc": []
}
}
Example 2¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/BzV-P-n15jg",
"published": "2025-01-14T15:53:09Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/KE5U7inJYv0",
"published": "2025-01-14T15:53:09Z",
"content": "<strong>strong</strong>",
"cc": []
}
}
Example 3¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/5OVSfJ4mU6Y",
"published": "2025-01-14T15:53:24Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/jBpHqPH7ni4",
"published": "2025-01-14T15:53:24Z",
"content": "<i>italic</i>",
"cc": []
}
}
Example 4¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/1X5OTpac-AI",
"published": "2025-01-14T15:53:38Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/9Ze-YAM4SU8",
"published": "2025-01-14T15:53:38Z",
"content": "<i>italic with.</i> See <a href=\"https://codeberg.org/helge/funfedidev/issues/142\">Issue 142</a>",
"cc": []
}
}
Example 5¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/hP-97sIAcpA",
"published": "2025-01-14T15:53:53Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/NffNmAfZm-A",
"published": "2025-01-14T15:53:53Z",
"content": "<em>emphasis</em>",
"cc": []
}
}
Example 6¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/Jnv2hTKtXzs",
"published": "2025-01-14T15:54:08Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/4TcPRzyiI3M",
"published": "2025-01-14T15:54:08Z",
"content": "<del>old</del><ins>new</ins>",
"cc": []
}
}
Example 7¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/qlLXE_AHPcQ",
"published": "2025-01-14T15:54:22Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/dDMR8DXQcBg",
"published": "2025-01-14T15:54:22Z",
"content": "<s>stricken</s>",
"cc": []
}
}
Example 8¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/vL7NtUL_a1g",
"published": "2025-01-14T15:54:37Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/SEkJICmkRho",
"published": "2025-01-14T15:54:37Z",
"content": "<mark>mark</mark>",
"cc": []
}
}
Example 9¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/O83HZGeJwVE",
"published": "2025-01-14T15:54:52Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/tcGqEo1uOOI",
"published": "2025-01-14T15:54:52Z",
"content": "find <var>x</var> (a variable)",
"cc": []
}
}
Example 10¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/_hJsUgzcfw0",
"published": "2025-01-14T15:55:07Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/Ee8S9j4W09M",
"published": "2025-01-14T15:55:07Z",
"content": "<ol><li>ordered</li></ol>",
"cc": []
}
}
Example 11¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/ea_s7PSkfgw",
"published": "2025-01-14T15:55:22Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/b-ie7i1niWE",
"published": "2025-01-14T15:55:22Z",
"content": "<ul><li>unordered</li></ul>",
"cc": []
}
}
Example 12¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/Ys2vNcncfIM",
"published": "2025-01-14T15:55:37Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/taFDxfrZsco",
"published": "2025-01-14T15:55:37Z",
"content": "<h1>h1</h1>",
"cc": []
}
}
Example 13¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/r26Tea2aG-k",
"published": "2025-01-14T15:55:52Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/0Y_w6FE0jbo",
"published": "2025-01-14T15:55:52Z",
"content": "<h2>h2</h2>",
"cc": []
}
}
Example 14¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/Gp5uudAPc6s",
"published": "2025-01-14T15:56:07Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/jX_NgoI1hUU",
"published": "2025-01-14T15:56:07Z",
"content": "<h3>h3</h3>",
"cc": []
}
}
Example 15¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/UOEvVZagCn0",
"published": "2025-01-14T15:56:22Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/6DfOZWEEjp4",
"published": "2025-01-14T15:56:22Z",
"content": "<h4>h4</h4>",
"cc": []
}
}
Example 16¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/l3bwDeu3GD0",
"published": "2025-01-14T15:56:37Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/z5JZhnpasog",
"published": "2025-01-14T15:56:37Z",
"content": "<h5>h5</h5>",
"cc": []
}
}
Example 17¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/auJumv8unKw",
"published": "2025-01-14T15:56:52Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/oJXNfojYieU",
"published": "2025-01-14T15:56:52Z",
"content": "<h1>h1</h1><h2>h2</h2>",
"cc": []
}
}
Example 18¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/O2tc6HpNsPc",
"published": "2025-01-14T15:57:07Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/gULmTQPQvFA",
"published": "2025-01-14T15:57:07Z",
"content": "<code>code</code>",
"cc": []
}
}
Example 19¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/JOocSGZvRTo",
"published": "2025-01-14T15:57:22Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/gvmIwQWQl8k",
"published": "2025-01-14T15:57:22Z",
"content": "<pre>pre</pre>",
"cc": []
}
}
Example 20¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/0uLI5lZCWbI",
"published": "2025-01-14T15:57:37Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/opjMLO2OmpM",
"published": "2025-01-14T15:57:37Z",
"content": "line<br/>break",
"cc": []
}
}
Example 21¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/ZRQgTw5UQL8",
"published": "2025-01-14T15:57:52Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/omIOehzcGTI",
"published": "2025-01-14T15:57:52Z",
"content": "<p>paragraph</p>",
"cc": []
}
}
Example 22¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/QolH35h4nxw",
"published": "2025-01-14T15:58:07Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/Bah_NmE5a9k",
"published": "2025-01-14T15:58:07Z",
"content": "<small>small</small>",
"cc": []
}
}
Example 23¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/AL91zvRNZiY",
"published": "2025-01-14T15:58:22Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/eZwJIIW3-gY",
"published": "2025-01-14T15:58:22Z",
"content": "<sup>sup</sup>",
"cc": []
}
}
Example 24¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/wCFvvtFVCoY",
"published": "2025-01-14T15:58:37Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/jHjf-n1B30g",
"published": "2025-01-14T15:58:37Z",
"content": "<sub>sub</sub>",
"cc": []
}
}
Example 25¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/80OaxdznsQA",
"published": "2025-01-14T15:58:52Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/nj5eWAOqOmM",
"published": "2025-01-14T15:58:52Z",
"content": "<a href='https://funfedi.dev'>funfedi</a>",
"cc": []
}
}
Example 26¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/8v9faU22pCc",
"published": "2025-01-14T15:59:07Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/k-sMJZk2yTM",
"published": "2025-01-14T15:59:07Z",
"content": "<script>alert('hi');</script>",
"cc": []
}
}
Example 27¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/YgWGv0W0OO4",
"published": "2025-01-14T15:59:21Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/xiBh7ylMYIw",
"published": "2025-01-14T15:59:21Z",
"content": "<img src=\"http://pasture-one-actor/assets/nlnet.png\" alt=\"NLNET Logo\" />",
"cc": []
}
}
Example 28¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/gvDC8fRoDs0",
"published": "2025-01-14T15:59:36Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/5VUPVdFttoA",
"published": "2025-01-14T15:59:36Z",
"content": "wbr: Fernstra\u00dfen<wbr />bau<wbr />privat<wbr />finanzierungs<wbr />gesetz",
"cc": []
}
}
Example 29¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/mV13_jqAMMI",
"published": "2025-01-14T15:59:50Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/Y6KBlUWtzQI",
"published": "2025-01-14T15:59:50Z",
"content": "Audio <audio controls src=\"http://pasture-one-actor/assets/cow_moo.mp3\"></audio>",
"cc": []
}
}
Example 30¶
activity
{
"@context": [
"https://www.w3.org/ns/activitystreams",
{
"Hashtag": "as:Hashtag",
"sensitive": "as:sensitive"
}
],
"type": "Create",
"actor": "http://pasture-one-actor/actor",
"to": [
"http://mbin/u/oscar",
"https://www.w3.org/ns/activitystreams#Public"
],
"id": "http://pasture-one-actor/actor/ehB9ag4ZyPk",
"published": "2025-01-14T16:00:05Z",
"object": {
"type": "Article",
"attributedTo": "http://pasture-one-actor/actor",
"to": [
"https://www.w3.org/ns/activitystreams#Public",
"http://mbin/u/oscar"
],
"id": "http://pasture-one-actor/actor/0m3P4xa1sLk",
"published": "2025-01-14T16:00:05Z",
"content": "Video <video controls width=\"250\">\n <source src=\"http://pasture-one-actor/assets/cow_eating.mp4\" type=\"video/mp4\" />\n Video of a cow eating</video>",
"cc": []
}
}