Displaying posts
Displaying the paginated list of posts
A post is identified as the kind 1 event or a kind 6 event (which is a reference/repost of an actual kind 1 post)
note
kind 1 and kind 6 events require extra processing before displaying
- Repost Header (only if it was built from a
kind 6)- Display Name
content.display_nameof the kind0event associated with the initialkind 6one
- Display Name
- Author Header
- Display Name
content.display_nameof the kind0event
- Affiliations
- Verified Badge
- Username
content.nameof the kind0event
- Profile Picture
content.picture(this is the actual URL) of the kind0event
- Post Creating time
created_atof the kind1event
- Display Name
- Text
- The
contentfield of a kind1message represents the text of the post.noteIf the text contains media (images, videos, and other files) then those are defined individually in
imetatags.noteIf the text contains hyperlinks/references to any other internal or external resources then those are defined in a standardized convention.
noteIf the text contains hashtags then those are identified by the
ttag.
- The
- Repost/Quote information
- The post that is quoted is identified by the
qtag in the kind1event - The post that is reposted is identified by the
etag of the kind6event
- The post that is quoted is identified by the
- Reply/Comment Count
- The
contentfield of akind 6400event- matched by its
[ "i", "<kind 1 event id>", "event", "", "replies" ]tag --details--
- matched by its
- The
- Quote and Repost Count
- The sum of:
contentfield of akind 6400event- matched by its
[ "i", "<kind 1 event id>", "event", "", "reposts" ]tag --details--
- matched by its
contentfield of akind 6400event- matched by its
[ "i", "<kind 1 event id>", "event", "", "quotes" ]tag --details--
- matched by its
- The sum of:
- Reaction Count
- The
contentfield of akind 6400event- matched by its
[ "i", "<kind 1 event id>", "event", "", "reactions" ]tag --details--
- matched by its
- The
- Tips amount (in $Ice)