• I have started a microblog based on IndieWeb on the page:

    https://micro.ansico.dk

    I have installed the following plugins in WordPress:
    – IndieWeb
    – ActivityPub
    – IndieAuth
    – Classic Editor
    – Microformat 2
    – Micropub
    – Post Kinds
    – Semantic Linkbacks
    – Simple location
    – Syndication links
    – Webfinger
    – Webmention
    – WebSub

    I have installed the theme SemPress.

    In the ActivityPub plugin I have set the following custom Post Content:

    <p>%title%</p>
    %content%
    <p>%permalink%</p>

    But when I create a new post using Indigenous as a note on this post:
    https://micro.ansico.dk/2022/11/30/10173/

    It is showed in Mastodon only with a link, not with the content? It works when I post as an article. How do I make sure that the content of the notes is also showed in the Fediverse?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Which specific Mastondon @user@instance is the content supposed to be appearing at?

    From your list of plugins it’s not completely clear what your goal is. Is it your intention to syndicate content from your site to a separate Mastodon instance (https://ansico.dk/@aphandersen for example), or are you trying to get your WordPress install to appear to be its own instance running ActivityPub (meaning you want your content mirrored at @andreas@micro.ansico.dk)?

    My guess is that perhaps your theme may be adding a faux title which doesn’t show on the post but that may be causing the issue in translating it across to the Mastodon and other clients?

    This likely isn’t an issue stemming from the IndieWeb plugin, but is more specific to support for the ActivityPub plugin. As a result, you may get a quicker answer/solution by posting your issue at https://github.com/pfefferle/wordpress-activitypub/issues

    Thinking on this further, you might recheck your settings at yoursite.com/wp-admin/options-general.php?page=activitypub, specifically those under the “Activity-Object-Type” heading. Which setting are you using there? If you are posting things with the meta-box setting for “article” or your post has a title, which would also potentially carry the semantic meaning that your post was an article, then you’d expect to see that behavior of only a displayed link on Mastodon as indicated there in the settings: “Mastodon for example shows the “Article” type as a simple link.”

    If this doesn’t fix it, then consider filing a bug on the github link in the prior message with your settings, what you’re seeing, and the expected behavior you wish to see.

    Thread Starter aphandersen

    (@aphandersen)

    Thank you for your help Chris. My goal is to get my WordPress install to appear to be its own instans, so I combine the great at writing at WordPress and communicating at the Fediverse.

    My settings at yoursite.com/wp-admin/options-general.php?page=activitypub is the following:
    * Post-Content set to Custom and:

    <p>%title%</p>
    %content%
    <p>%permalink%</p>

    So it should also include the content, not only the link

    * Activity-Object-Type set to Note (default). Is there a better option here?

    Everything works if I write directly in WordPress, but not when I use Indigenous to post on the site

    Plugin Author Matthias Pfefferle

    (@pfefferle)

    @dshanske is the micropub doing something special?

    Plugin Author David Shanske

    (@dshanske)

    @pfefferle The ActivityPub plugin adjusts presentation based on Post Formats, but doesn’t account for Post Kinds.

    I tried to account for that without submitting a PR using https://github.com/dshanske/indieweb-post-kinds/blob/trunk/includes/class-kind-plugins.php#L65 not long ago.

    But maybe I hurt your display. We should discuss better hooks for integration possibly?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Notes does not show correctly in Mastodon’ is closed to new replies.