Wolfgang
Forum Replies Created
-
Forum: Plugins
In reply to: [Include Mastodon Feed] Formatting issueThank you for your appreciation! Glad it works now.
Forum: Plugins
In reply to: [Include Mastodon Feed] Formatting issueHi! I looked at your site and if you add this snippet to your custom CSS it should be fixed:
.include-mastodon-feed .status .content { float: none; }
The root cause is the theme stylesheet that applies “float: right” to the .content class.
Should have prefixed all the css classes, but hesitant as to not affect the existing installations.
Forum: Plugins
In reply to: [Include Mastodon Feed] Feed isn’t loadingHi! It seems as if you are missing this parameter in your shortcode:
instance="mastodon.nl"
Can you try to add it and let me know if it works?
Edit: or more likely you set the value of instance to your website domain. It should be mastodon.nl instead.
- This reply was modified 1 year, 7 months ago by Wolfgang.
Forum: Plugins
In reply to: [Include Mastodon Feed] Preserving the mastodon profile photo ratioYour theme has the following definition in your
main.css
.avatar {
width: 80px;
}If I change it to
width: auto
it immediately works. I would not recommend to change this very generic css definition though, as to not break your theme.A quick fix would be to add something like that at the end of your stylesheet:
.include-mastodon-feed .avatar {
width: auto;
}Either directly in your
main.css
or you can copy and paste the snippet in the backend inSettings -> Appearance -> Additional CSS
Forum: Plugins
In reply to: [Include Mastodon Feed] Preserving the mastodon profile photo ratioLooking forward to it!
Forum: Plugins
In reply to: [Include Mastodon Feed] Preserving the mastodon profile photo ratioI embedded your feed in my test environment and sent you a DM including a screenshot on Mastodon. It looks OK to me, but maybe I misunderstood your request.
If it does not look like my screenshot in your environment then most likely some CSS rule from your theme does interfere with the plugin. If you can send me the URL to any test page of yours I can debug it online and help you fix the issue. It should be a few lines of custom CSS that you can add to your WordPress settings.
Forum: Plugins
In reply to: [Include Mastodon Feed] Filter by post/edit date?I do love technical challenges and thinking about an approach would be to create a local php plugin file that acts as proxy for the api calls that also handles local caching.
The plugin code then just calls the local proxy file with the same params as it used to. Looping with min_id and max_id could be handled inside the proxy file so that the browser still only makes one single call.
Really like that this would move almost all API calls to the local server, but not sure if I’ll tackle that any time soon. Would prefer to keep the plugin simpler without any local caching for the time being.
Forum: Plugins
In reply to: [Include Mastodon Feed] Filter by post/edit date?/api/v1/accounts/:id/statuses
returns the last public 20 tweets of the given account. Filtering by hashtags or any content within those statuses is quite straight forward.This plugin focuses on one narrow use case: to fetch the latest posts of a single users public timeline, without the need for OAuth credentials/Auth tokens.
There is also https://github.com/stefanbohacek/fediverse-embeds-wordpress-plugin that fetches and stores data locally. It might be a better fit to build upon. The server-side approach would also make sure that not every visitor pulls the instance API too often.
Looking forward to hear about your PoC results.
Forum: Plugins
In reply to: [Include Mastodon Feed] Filter by post/edit date?Hi @aaribaud – thanks for your feedback. Can you describe the desired behavior in more detail?
The plugin uses the accounts/statuses API call which does not require authentication, but sadly does not support timestamps: https://docs.joinmastodon.org/methods/accounts/#statuses
It would be easy to implement a filter but the filter can only be applied to the latest posts and we are not able to fetch past posts by timestamp.Forum: Plugins
In reply to: [Include Mastodon Feed] Cannot handle (aninmated?) gifsVersion 1.9.2 – which fixes the issue – is now available through wordpress plugin update
Forum: Plugins
In reply to: [Include Mastodon Feed] Cannot handle (aninmated?) gifsOh wow. Can confirm that it definitely should not be like that. Will fix it within the next few days.
Forum: Reviews
In reply to: [Include Mastodon Feed] Excellent and easy to use!Thanks again for bringing this to my attention. Update 1.9.1 fixes this issue and is now available
Forum: Reviews
In reply to: [Include Mastodon Feed] Excellent and easy to use!Nevermind… and sorry for spamming your post here ??
There should be some posts showing up…. what I said is only true if your last posts all were conversation starters… which is not the case.Bugfix incoming
Forum: Reviews
In reply to: [Include Mastodon Feed] Excellent and easy to use!I grabbed the info I needed from your website. The problem is that the mastodon API only returns the last 20 (or less if you set a limit) statuses. Because you are excluding conversation starters and replies there are no posts that can be displayed. I’ll add some text if no posts are available though with the next release to indicate that to the website visitor.
Forum: Reviews
In reply to: [Include Mastodon Feed] Excellent and easy to use!Can you send me the shortcode you are using? You can DM me at
@[email protected]