Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • N node-ostatus
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Administrator
  • node-ostatus
  • Wiki
  • Activitystreams

Activitystreams · Changes

Page history
Updated Atom activitystreams (markdown) authored Mar 06, 2011 by eschnou's avatar eschnou
Hide whitespace changes
Inline Side-by-side
Showing with 0 additions and 0 deletions
+0 -0
  • Activitystreams.md Activitystreams.md +0 -0
  • No files found.
Activitystreams.md 0 → 100644
View page @ a59c5f61
ActivityStreams is a format for syndicating social activities around the web. It started as an extension to Atom, but now also provide a JSON serialization of activities.
**Spec:** <http://activitystrea.ms/>
## fromUrl(url, callback)
Attempt to retrieve an Atom feed from the given URL and returns a JSON serialization of the parsed feed to the callback.
**Note:** The current version only provides mapping for some basic elements. More work need to be done.
__TODO: Add an example__
## fromXml(xml, callback)
Parse a string containing an XML representation of an Atom feed and returns a JSON serialization of the parsed feed to the callback.
**Note:** The current version only provides mapping for some basic elements. More work need to be done.
__TODO: Add an example__
## render(hostname, activities, profile, callback)
Produces an Atom feed XML from the provided input. In practice, it uses the input to render the updates.xml.mu template. The activities argument is an array of JSON serialized activities. The profile is a JSON version of the user HCard.
\ No newline at end of file
Clone repository
  • Activitystreams
  • Hcard
  • Home
  • Profile.js
  • Pubsubhubbub
  • Salmon
  • Status.js
  • Webfinger.js
  • Webfinger