More specific protocol handlers

It seems that MisterMagister’s implementation was merged: Sailfish Community News, 11th March!

For more inspiration of how more advanced schemes could be impemented, you could look atUbuntu Touch’s(or UBPorts’) URL handler system:

It works with JSON files. An example taken from the Telegram application TELEports:

[
    {
        "protocol": "teleports"
    },
    {
        "protocol": "https",
        "domain-suffix": "t.me"
    },
    {
        "protocol": "https",
        "domain-suffix": "telegram.me"
    },
    {
        "protocol": "https",
        "domain-suffix": "telegram.dog"
    },
    {
        "protocol": "tg"
    }
]

I’ve not found the complete specification/description of what is supported in these JSON files yet.