Skip to content

Make sure links to messages work with OneBox #13

@plexus

Description

@plexus

Discourse (which Clojureverse runs on) uses the onebox Ruby gem to render links. If we can make sure that onebox renders our links, then that would be a really useful thing for Clojureverse.

For starters we could simply add oEmbed or Open Graph to the page, but individual messages are addressed with url fragments, which aren't visible to the server.

We could change that though, so each message has its own "proper" url. The main downside is that it blows up the address space, and thus the amount of caching needed.

We could also extend OneBox to parse these message links including the fragment, and pull out and render the right message (or thread). Not sure if we can get that upstream, but we could probably do it in a discourse plugin that we load separately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions