Skip to content

Basic Federation (Atom Feeds for Authors) #4

Description

@DeadSuperHero

So, time to do a little bit of planning. This is pretty new territory, but in principle it seems simple.

The OStatus2 Gem is what Mastodon uses for OStatus-based federation. Since it's Ruby-based, it will work with our Ruby on Rails app.

This issue seeks to explore and plan out the different aspects of this gem, and consider methods of implementation in Pine. The docs seem a bit cryptic, so figuring out the "correct Rails 4+ way" to do this will be less-than-obvious.

So we need to:

  • Construct an XML-based Atom Feed that features Articles (showing each Title and Body)
  • Make sure that each entry references the Article author (useful for multi-author publication feeds)
  • Create an hCard for Authors and possibly Publications
  • Do something with Salmon so that interaction is possible. This is perhaps the part I currently know least about

Concepts:

  • Every Author has their own feed, with stream entries that are the contents of articles.
  • Each Article should have comments, which are federated.
  • Entries should concatenate the title and body field, and truncate the result for the stream entry
  • A Publication might represent a collection of authors, and would need attribution for each individual article. Does this mean that

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions