MellonScholarlyCommunication / Solid-Notifications

Ideas and projects about processing Linked Data Notifications within Solid
2 stars 0 forks source link

Create a utility to send notifications to an inbox #1

Open RubenVerborgh opened 4 years ago

RubenVerborgh commented 4 years ago

I suggest the creation of a JavaScript/TypeScript utility for sending LDNs. Here is a suggested plan of action:

Dexagod commented 3 years ago

Some questions

"@context": "https://www.w3.org/ns/activitystreams",
"summary": "Alice sent a notification to Bob, with Carol in CC and Dennis in BCC",
"actor": { 
  "@id": http://alice.example.org",
  "@type": "Person" // (Or Service, ... in the case of a service. See link down below. This can be set in the config file)
"object": { WRAPPED NOTIFICATION } ,
"target": "http://bob.example.org",
"cc: [ "http://carol.example.org" ]
"bcc": [ "http://dennis.example.org" ]

see the available actor types in activitystreams 2.0```

"@context": "https://www.w3.org/ns/activitystreams",
"actor": http://alice.example.org",
"object": { WRAPPED NOTIFICATION } ,
"target": "http://bob.example.org",