add mastodon and bluesky to microblog
")
")
{3,}`)
")
%s
",
", p.Source, p.ID))
posted: %s
", p.Timestamp.Format("2006-01-02 15:04")))
")
This commit is contained in:
parent
86f3ea76b3
commit
eca8acddff
3 changed files with 91 additions and 70 deletions
|
|
@ -176,7 +176,7 @@ func (c *PocketBaseClient) GetList(
|
|||
"perPage": {strconv.Itoa(pageSize)},
|
||||
"sort": {sort},
|
||||
"skipTotal": {"true"},
|
||||
"filter": {"source = \"nostr\""},
|
||||
"filter": {"source = \"nostr\" || source = \"mastodon\" || source = \"blue_sky\""},
|
||||
// TODO: add additional fields like image and tag?
|
||||
}
|
||||
apiURL := fmt.Sprintf("%s/api/collections/%s/records", c.host, collection)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue