Skip to content

Propagate profile h-card u-url text into link names #331

@snarfed

Description

@snarfed

For the profile metadata link fields (#323), we should pull the link text out of the parsed mf2 and use it in attachment.name when available instead of hard coding Link. And fall back to title if text isn't available.

Specifically, we'd look up each URL in the parsed mf2's rel-urls, eg:

    "rel-urls": {
        "https://twitter.com/intent/user?screen_name=t": {
            "title": "follow me on Twitter",
            "text": " Twitter @t",
            "rels": [
                "me"
            ]
        },
        "..."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions