Activity Streams (format)

{{short description|File format}}

{{Infobox file format

| name = Activity Streams

| icon = Activity Streams icon.png

| logo =

| screenshot =

| extension = .json

| mime = application/activity+json

| type code =

| uniform type =

| owner =

| genre = Web syndication

| container for =

| contained by =

| extended from = JSON-LD

| extended to =

| standards = W3C Activity Streams

| url = {{URL|https://activitystrea.ms/}}

}}

Activity Streams is an open format specification for activity stream protocols, which are used to syndicate activities taken in social web applications and services, similar to those in Facebook's, Instagram's, and Twitter's.{{cite web

|url=http://www.computerworld.com/action/article.do?command%3DviewArticleBasic%26articleId%3D9132182%26intsrc%3Dnews_ts_head

|title=Facebook opens activity streams; offers API to developers

|access-date=2009-04-28

|url-status=dead

|archive-url=https://web.archive.org/web/20090430134956/http://www.computerworld.com/action/article.do?command=viewArticleBasic&articleId=9132182&intsrc=news_ts_head

|archive-date=2009-04-30

}} Facebook opens activity streams; offers API to developers

New Facebook app lets users see real-time streams running on desktops or cell phones

File:ActivityStreams.svg

The standard provides a general way to represent activities. For instance, the sentence "Jack added Hawaii to his list of places to visit" would be represented in ActivityStreams as actor:jack, verb:add, object:Hawaii, target:placestovisit.

Implementors of the Activity Streams draft include Gnip, Stream, Stream Framework, and Pump.io.

The largest open source library (based on watchers) is Stream Framework, the authors of Stream Framework also run getstream.io. In addition there is a trend of SOA (service-oriented architecture) where third parties power this type of functionality. {{citation needed|date=April 2017}}

GeoSPARQL provides OWL and RDFS alignments to the Activity Streams vocabulary.{{cite web |url=https://docs.ogc.org/is/22-047r1/22-047r1.html#_28864842-9099-4b71-b1d0-e5f6554de626 |title=OGC GeoSPARQL - A Geographic Query Language for RDF Data |author=OGC |date=2024-01-29 |website= |publisher= |access-date=2024-08-30 |quote=}}

Example

{

"@context": "https://www.w3.org/ns/activitystreams",

"summary": "A note",

"type": "Note",

"content": "My dog has fleas."

}

See also

References

{{reflist}}