... Here you can see/try it live https://www.schiessle.org/articles/2016/02/12/the-next-generation-of-code-hosting-platforms/
@bjoern Why is the comments counter still at 0, but Balu write a post?
@funqr Good catch, Thanks! I will check it.
@funqr Just checked it. The API returns '0' and also on Mastodon the reply count is '0', see https://mastodon.social/@bjoern/100148499376257587 Seems to be a Mastodon bug?
@bjoern This is super neat, and I love the way you've integrated the share buttons (I need to sit down with my own website sometime soon and update it) but note: the icon doesn't show up on the article and I don't think I'm seeing all of the replies :)
@eleanor Which icons do you mean (maybe you have a screenshot?) and do you have a example of a reply which should be there but doesn't show up? Looks everything good here, as far as I can tell.
@eleanor Ah, the avatar. That's strange. I tried it with different browsers, in private mode, etc it always works here. The image comes directly from the Mastodon server. Maybe a browser caching issue on your side? Can you check the URL of the broken avatar. This should be the URL https://files.mastodon.social/accounts/avatars/000/364/781/original/336a118dcb40ff63.jpeg
@bjoern It works fine at work but not at home. Not sure why that would be.
This looks really cool. I don't know PHP—what all are you doing server-side? Do you think it'd be possible to do it all with client-side JS? It seems like it should be possible, though it might be a little slow (and I guess you'd lose your comments if the instance were down…)
Might play around with that one day.
Do you plan to integrate this code in a WP plugin? If not, I am interested to have a try for doing that.
@tom79 as I don't use WordPress I will probably not turn it in a WordPress plugin. But it should be straight forward. Additionally you probably need to make some URLs/strings configurable which I hard coded in order to get it finished quickly yesterday and provide a small configuration page for WordPress. Would be awesome if you would try it. Let me know when you did it! 🙂
Ok. Thanks, I will try to build this plugin :)
@tom79 Let me know if you need any help. I'm happy to give feedback, explain my code, etc of needed.
It reminds me of utteranc.es.
@algorev I know it. There are quite some interesting approaches to bring comments to static webpages. Why I decided against this particular solution: I don't wan to ask my visitors to signup at a centralized and proprietary service to add a comment. I prefer to advertise free, decentralized, federated and open solution. 🙂
@bjoern cool stuff! No more disqus for comments on static pages!
@bjoern Cool! Was talking just a few days ago about wanting something of this sort.
Server run by the main developers of the project It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!