Bookmark and Collect Dan Abramov blog posts

Whenever Dan Abramov publishes a new blog post, bookmark it on Margin and add to a collection

site.standard.document
Lexicon
site.standard.document
Operations
Record created

Steps (5)

Conditiongate
  • Continue only if event.did equals did:plc:fpruhuo22xkm5o7ttr2ktxdo - Match the DID of danabra.mov
VariableCollectionURI
Value
Hidden
Note
ATURI for the Margin Collection of destination
Fetch recordpublication- Fetch the publiction to get its URL
Lookup
{{event.commit.record.site}}

Bookmark on MarginAction 1action1

Page URL
{{publication.record.url}}{{event.commit.record.path}}
Description
{{event.commit.record.description}}

Create a recordAction 2action2- Add bookmark to Margin Collection

Target Collection
at.margin.collectionItem
Record Template
{
  "createdAt": "{{now}}",
  "annotation": "{{action1.uri}}",
  "collection": "{{CollectionURI}}"
}