diff --git a/fep/b2b8/fep-b2b8.md b/fep/b2b8/fep-b2b8.md index ceeb02c..519cce0 100644 --- a/fep/b2b8/fep-b2b8.md +++ b/fep/b2b8/fep-b2b8.md @@ -179,7 +179,7 @@ The [generator](https://www.w3.org/TR/activitystreams-vocabulary/#dfn-generator) In AS2, the `preview` property provides an abbreviated version of the content of the object. Especially for microblogging applications, the `preview` property is a useful fallback for supporting unrecognized object types like `Article`. -For an article, the `preview` can be a `Note` that gives a well-formatted preview of the article content in its `content` property. For example, the `name`, `summary`, and a link to the `url` would be an appropriate representation. Additional navigation to other pages on the originating site, like category links, home page links, and other affordances like "favourite", "like", "bookmark" or other buttons should not be included. +For an article, the `preview` can be a `Note` that gives a well-formatted preview of the article content in its `content` property. For example, the `name` and `summary`. The preview content SHOULD NOT include a link to the HTML representation for the article. Additional navigation to other pages on the originating site, like category links, home page links, and other affordances like "favourite", "like", "bookmark" or other buttons should not be included. The `content` property of the `preview` should include a minimal set of HTML elements, as described in [ActivityPub Primer HTML](https://www.w3.org/wiki/ActivityPub/Primer/HTML). @@ -366,7 +366,7 @@ This section includes examples of long-form text objects. Note that for brevity, "preview": { "type": "Note", "attributedTo": "https://example.com/evan", - "content": "

Long-form text with preview

This is the summary for a long-form text with a preview.

Read more

", + "content": "

Long-form text with preview

This is the summary for a long-form text with a preview.

", "published": "2024-11-07T12:00:00Z", "attachment": { "type": "Link", @@ -431,6 +431,13 @@ An example of a long-form text object with a `sensitive` property displayed in a ![Article in stream, sensitive content](content-warning.drawio.svg) + +### In stream, with preview + +An example of a long-form text object with a `preview` property displayed in a social stream. Note that the consumer is responsible for displaying a link to the article's full content. + +![Article in stream, with preview](preview.drawio.svg) + ## References - James Snell, Evan Prodromou, [Activity Streams 2.0][AS2], 2017 diff --git a/fep/b2b8/preview.drawio.svg b/fep/b2b8/preview.drawio.svg new file mode 100644 index 0000000..6dd4bf2 --- /dev/null +++ b/fep/b2b8/preview.drawio.svg @@ -0,0 +1,4 @@ + + + +
Author Fullname
Author Fullname
@author@domain.example
@author@domain.example
1 Jan 1970
1 Jan 1970
Read more ->
Read more ->
icon of attributedTo
icon of attribut...
published
published
Likes (8)
Likes (8)
Shares (4)
Shares (4)
Replies (19)
Replies (19)
likes
likes
shares
shares
replies
replies
name of attributedTo
name of at...
Webfinger of attributedTo (derived)
Webfinger of attribute...
url
url
content of preview
content of preview


Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore...
Text is not SVG - cannot display
\ No newline at end of file