Skip to content

Author h-card has same URL in twice #1372

@kevinmarks

Description

@kevinmarks

While trying to do this:

Parser a known post to jf2

I encountered this error:

2 copies of the same url in the author h-card, forcing child creation in jf2

Some other notes:

https://github.com/idno/Known/blob/7da22e2548d8df7fe1229ab30ca6c33f1dcda551/templates/default/entity/FeedItem.tpl.php#L26

and all the templates copy this

                <a class="p-name fn u-url url" href="<?= $item->getAuthorURL() ?>"><?= $item->getAuthorName() ?></a>
                <a class="u-url" href="<?= $item->getAuthorURL() ?>">
                    <!-- This is here to force the hand of your MF2 parser --></a>

What's the hand forcing about, and why do we have 2 copies of u-url ?

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