Follow

Idea: extensible redirects.

The [[agora]] already redirects anagora.org/go/foo to the URL labelled with [[go]] in anagora.org/node/foo.

The proposal is that it should do this for any block with a URL. E.g.: anagora.org/garden/flancian should redirect to github.com/flancian/garden as per the content of anagora.org/node/flancian.

Extension to this extension: if the argument (object to the predicate) in the block is not a URL, a hook can be registered to process the action.

@vera @arghzero @aly right, in the sense that if you have a block that looks like this in [[vera]]:

- [[bleh]] example.org

anagora.org/bleh/vera would redirect to example.org.

@vera @arghzero @aly at the same time it would be easy to add filtering, as in:

anagora.org/node/vera/bleh

Loads the 'vera' node but highlights the [[bleh]] blocks; or perhaps by default shows only those.

@vera @arghzero @aly extending, this scheme could be adopted to do queries a la xpath/graphql? guessing.

Sign in to participate in the conversation
social.coop

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!