No internet connection
  1. Home
  2. Uncategorized

Embedded comments for http://www.kajmagnus.blog/new-embedded-comments/

By System @system
    2017-08-20 08:51:45.561Z
    • 203 comments

    There are 203 replies. Estimated reading time: 54 minutes

    1. T
      David @techstacker
        2019-01-23 16:47:13.504Z

        This comment system is so well done, right up there with Medium’s. Love that you can even use HTML for formatting!

        Definitely going to try to implement this in my Gatsby project.

        Thank you, Kaj!

        1. K@KajMagnus
            2019-01-24 19:34:43.366Z

            Ok :- ) You're on Gatsby 1, or Gatsby 2? The Gatsby plugin is for Gatsby 1 — haven't had time to look into Gatsby 2 yet. Where's your blog b.t.w., if I may ask? would be interesting to have a look

            1. TDavid @techstacker
                2019-01-27 12:39:07.671Z

                I actually just tested your plugin on Gatsby 2, and it works, right out of the box! So either that means that your plugin is highly compatible, or Gatsby is — or both :-)

                As for my use cases for your Talkyard plugin: I'm working on two projects, one is my blog techstacker.com, which I strongly consider moving to Gatsby.

                The other project is a Food Network app which needs to be highly scalable. Your Talkyard plugin would be excellent for it as far as the UX, but I'm a bit in limbo about using Gatsby for a site that might grow huge and fast — I think Nextjs might be a better fit for that one. But then again, the Gatsby team seems to be keen on improving scalability moving forward, so I'm not sure.

                What's your opinion about Nextjs, any thoughts of making your plugin compatible there as well? :)

                Once again, Talkyard is incredible, the more I use it the more I like it. Keep up the great work!

                1. K@KajMagnus
                    2019-01-27 16:42:05.961Z

                    Ok thanks, and thanks for the info about Gatsby 2, I'll add a note in the readme that someone has tested with G 2 and it worked :- )

                    Thanks for the link to the blog, ... interesting article about website vs web app. People often ask if I build a homepage, or a website, or an app, and ... I've started saying, nowadays, that I build a "discussion tool". Hmm, "platform" is another good word yes.

                    About Nextjs: I actually looked into Nextjs recently, having in mind to create an embedded comments plugin for Nextjs. I didn't find any quick-and-simple Nextjs getting started instructions with beautiful blog themes though, so I didn't continue building a plugin, at that time.

                    Not sure if it's possible to build a plugin for Nextjs? I got the impression that everyone seems to build their own website more or less from the ground and up, in Nextjs? And if everyone does things in his/her own way, ... would a plugin I created then work for everyone, or for just me, I was wondering. (Any thoughts about this?)

                    1. TDavid @techstacker
                        2019-01-28 10:17:08.335Z

                        Thank you for reading my article! Yeah I've gotten a good response on using “platform” as a way of simplifying the tech language :-)

                        click to show
                    2. In reply toKajMagnus:
                      DComment pending approval, posted 2023-08-26 03:06:19.361Z.
                    3. In reply totechstacker:
                      Tthedoc
                        2022-04-30 11:54:10.741Z

                        Hello just a reply

                        1. K@KajMagnus
                            2022-04-30 22:28:45.754Z

                            This is also just a reply, with some minor improvements, namely, it includes a dot. And ends with a question mark — don't you like question marks?

                            1. BComment pending approval, posted 2023-01-12 18:16:17.141Z.
                          • In reply totechstacker:
                            FComment pending approval, posted 2022-07-18 15:06:43.282Z.
                          • K
                            In reply tosystem:
                            @kejsaren
                              2020-10-19 16:47:35.329Z

                              Do you support Oauth?

                              1. K@KajMagnus
                                  2020-10-20 17:15:38.930Z

                                  Gmail, FB, Twitter, LinkedIn, GitHub supported currently. At the end of this week I have in mind to test deploy a bit OIDC support — and a bit later, custom OAuth2 providers will also be supported (as long as they're not too different from OIDC).

                                  What OAuth provider do you have in mind? (OAuth2, right? Not OAuth1?)

                                  You're looking for Single Sign-On for a blog? (Or newspaper? source code docs?)
                                  Or do you want to combine OAuth with other ways to sign up, too?

                                  (Looking at your @username it seems you're in / from Sweden? Me too :- ))

                                  1. K@kejsaren
                                      2020-10-20 18:53:37.513Z

                                      We are gonna use a Customer Data Platform to manage registered users / subscribers. And that platform needs to speak/integrate with Talkyard, which I think it can do through OAuth.
                                      Sorry, I am not the tech-expert on this, but if you refer me to any of your articles on this subject I can let a developer have a look and maybe get back with some questions.

                                      (om du vill kan vi höras per email/telefon; jag skulle tro att du är bekant med sajten det handlar om)

                                      1. K@KajMagnus
                                          2020-10-21 11:11:33.951Z

                                          I'll send you an email.

                                          I think if you say to a developer that I wonder if the site uses OIDC (OpenID Connect), maybe Keycloak or Microsoft Azure AD, or a custom OAuth2 implementation, then s/he will know what it is about, or s/he can websearch for the words and find out.

                                          Another way to integrate with Talkyard is via API and an API secret — one can combine both API (for e.g. upserting contents) and OAuth (for singing in).

                                        • In reply toKajMagnus:
                                          AComment pending approval, posted 2021-01-24 18:45:42.031Z.
                                      2. I
                                        In reply tosystem:
                                        @ios
                                          2017-08-20 08:51:45.639Z

                                          Test testing 123 123

                                          1. BBernard @bernard
                                              2017-10-27 05:59:55.158Z2019-09-12 05:44:39.845Z

                                              Trying to comment and curious about where Talkyard will position my comment. Also I'm wondering what's the formula for ordering.

                                              Bernard

                                              1. K@KajMagnus
                                                  2017-11-06 00:27:27.625Z

                                                  Hi Bernard, the comments are sorted by like votes, and also taking into account how many people actually read the comment. (There are Disagree votes too — but they won't move a comment downwards.)

                                                • In reply toios:
                                                  K@KajMagnus
                                                    2017-08-20 11:12:25.236Z

                                                    Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

                                                    1. A@Andr
                                                        2017-08-21 06:47:58.408Z

                                                        Android phone is the other than the other than the way to the other than the other day perhaps we would like the other than the other than yes that's what I have to say.

                                                        1. K@KajMagnus
                                                            2017-08-23 05:02:27.301Z

                                                            Lorem ipsum dolor sit amet Lorem ipsum dolor sit amet.

                                                            1. F@Feuerfuchs
                                                                2017-08-28 16:42:19.088Z

                                                                Test reply.

                                                            2. In reply toKajMagnus:
                                                              F@Feuerfuchs
                                                                2017-08-28 16:43:56.211Z

                                                                Test reply #2

                                                                1. GGlen @glen
                                                                    2019-08-20 07:15:31.655Z

                                                                    Test reply 3

                                                                    1. LLogan Abbott @loganabbott
                                                                        2020-02-11 03:36:39.307Z

                                                                        Test reply 4

                                                                  • In reply toios:
                                                                    CKrishna Tej @chkrishnatej
                                                                      2018-07-19 01:02:58.999Z

                                                                      Test of nested comments

                                                                      1. K@KajMagnus
                                                                          2018-07-20 00:35:38.183Z

                                                                          I hope the test worked out okay (?). Note that you can click the arrows, to jump to the parent comment. ... Then there'll be a Back button, so you can jump back to the comment you were reading previously. — If you have any ideas about things to change or improve, or sth else whatever, feel free to create a topic here: https://www.talkyard.io/forum/latest/support

                                                                        • In reply toios:
                                                                          Kkk @kkr
                                                                            2017-10-18 12:12:10.141Z

                                                                            test

                                                                            1. GAlexander Grafov @grafov
                                                                                2018-04-30 00:09:49.995Z

                                                                                just for test
                                                                                The last word above should be striked through, it seems MD formatting not fully supported yet. Ok, noted.

                                                                                1. K@KajMagnus
                                                                                    2018-04-30 09:51:52.804Z

                                                                                    Talkyard uses Commonmark, which doesn't currently support ~~strikeout~~ (unless one uses some Commonmark plugin for that).

                                                                                    Here's a discussion about adding strikeout: https://talk.commonmark.org/t/strikeout-threw-out-strikethrough-strikes-out-throughout/820/33
                                                                                    Codinghorror (Jeff Atwood) thinks people can use <s> instead. Hmm I don't know. Maybe I should add a ~~ plugin

                                                                              • C
                                                                                In reply tosystem:
                                                                                chopper
                                                                                  2018-07-25 10:33:22.995Z

                                                                                  I prefer to comment when it is completely anonymous. I still curious whether I'll be able to edit my anonymous post.

                                                                                  Yes, editing your own anon comment is possible. That's good. And where do I find system requirements? Will it feel OK with 512MB RAM on a cloud server?

                                                                                  1. Hhesamkaveh @hesamkaveh
                                                                                      2018-09-20 17:03:41.666Z

                                                                                      replying!

                                                                                      1. In reply tochopper:
                                                                                        K@KajMagnus
                                                                                          2018-07-26 03:05:33.380Z2018-07-27 09:10:39.167Z

                                                                                          System requirements and installation instructions: https://github.com/debiki/talkyard-prod-one. Here's Talkyard's blog comments homepage, there's SaaS hosting also: https://www.talkyard.io/blog-comments. If you want to get started quickly without installing, and then later on export comments to your own server, maybe that's something to consider.

                                                                                          About RAM and a cloud server: Ubuntu and 2 GB RAM currently (that's $10/mo at Vultr or DigitalOcean, Linode etc) — that's because there're 2 JVMs, one for the app server, and one for ElasticSearch. I'd like to tweak the JVM settings so that only 1 GB is needed.

                                                                                          1. Hhesamkaveh @hesamkaveh
                                                                                              2018-09-20 17:04:10.413Z

                                                                                              ok

                                                                                              1. Hhesamkaveh @hesamkaveh
                                                                                                  2018-09-20 17:04:19.251Z

                                                                                                  dd

                                                                                                  1. P@peq
                                                                                                      2020-02-15 10:48:24.826Z

                                                                                                      nested

                                                                                                      1. K@KajMagnus
                                                                                                          2020-02-15 12:29:54.890Z

                                                                                                          Even more nested. But there's a bug — the #comment-123 URL links no longer works. I'm going to fix that, now. — So probably won't be so easy for you to find & reply to this reply :- P

                                                                                                    • In reply toKajMagnus:
                                                                                                      HHendra
                                                                                                        2018-10-14 14:16:51.422Z

                                                                                                        Mangifico

                                                                                                        1. In reply toKajMagnus:
                                                                                                          SDaniel @swe666
                                                                                                            2019-06-22 02:15:20.691Z

                                                                                                            cool

                                                                                                          • In reply tochopper:
                                                                                                            Hhesamkaveh @hesamkaveh
                                                                                                              2018-09-20 17:04:03.395Z

                                                                                                              ahaaaa

                                                                                                              1. In reply tochopper:
                                                                                                                Nno
                                                                                                                  2018-10-05 08:00:03.130Z

                                                                                                                  interesting interesting interesting

                                                                                                                  1. In reply tochopper:
                                                                                                                    GGladiator
                                                                                                                      2018-10-23 15:42:15.880Z

                                                                                                                      Bout to implement this on my blog

                                                                                                                      1. In reply tochopper:
                                                                                                                        Wwhere the streets have no names
                                                                                                                          2019-09-12 15:46:29.699Z

                                                                                                                          Hmm
                                                                                                                          Hmm

                                                                                                                          1. K@KajMagnus
                                                                                                                              2019-09-14 10:10:21.209Z

                                                                                                                              I like that song (Where the streets have no names).

                                                                                                                            • In reply tochopper:
                                                                                                                              F2fggggg
                                                                                                                                2019-02-24 18:48:07.738Z

                                                                                                                                test

                                                                                                                                1. G2Comment pending approval, posted 2022-03-14 14:03:54.392Z.
                                                                                                                              • W2
                                                                                                                                In reply tosystem:
                                                                                                                                wat
                                                                                                                                  2019-06-21 15:25:25.685Z

                                                                                                                                  cool

                                                                                                                                  1. PPerger Balázs @pero
                                                                                                                                      2020-08-13 09:12:28.514Z

                                                                                                                                      teszt

                                                                                                                                      1. 7епта @7aaa7
                                                                                                                                          2020-10-04 04:46:47.653Z

                                                                                                                                          тест preformatted text bold text emphasized тест preformatted teст

                                                                                                                                      2. S
                                                                                                                                        In reply tosystem:
                                                                                                                                        Dmitry @spiridonov
                                                                                                                                          2017-08-20 14:57:16.946Z2017-08-21 00:43:07.700Z

                                                                                                                                          Take a look at the icon=)

                                                                                                                                          1. K@KajMagnus
                                                                                                                                              2017-08-20 15:55:31.106Z

                                                                                                                                              Hi Dmitry, nice that you found this blog post and thanks for trying this out :- ) ok yes I see the icon is cropped, 1 pixel is missing at the very left, thanks for mentioning this. ... It's because I set position left: -1 in order to make the letter-circles appear more vertically aligned with the horizontal bar above (the one with the text "X replies"). I've since removed left: -1, but haven't deployed the changes to the server yet.

                                                                                                                                            • L
                                                                                                                                              In reply tosystem:
                                                                                                                                              Tobias @Labir
                                                                                                                                                2017-08-20 18:38:50.570Z

                                                                                                                                                Tjenare Magnus, häftigt att få ta del. Du talade om detta redan på Tific...

                                                                                                                                                1. K@KajMagnus
                                                                                                                                                    2017-08-21 00:46:33.561Z

                                                                                                                                                    Hej Tobias! Kul att höra av från dig :- ) Ja detta är faktiskt samma datorprogram, som det jag började bygga på Tific. Dock, de första åren byggde jag något som ingen var intresserad av (jag fokuserade på en layout i ett 2D-träd och horisontell scrollning). Till slut gav jag upp, och hittade ett jobb igen. I Oslo :- ) Nu bor jag i Stockholm dock. Sänder dig ett meddelande på Facebook :- )

                                                                                                                                                    1. DDMT @DMT
                                                                                                                                                        2018-03-05 10:45:59.249Z

                                                                                                                                                        Talkyard ser väldig bra ut om jag ska vara ärlig. Material design och rent av stiligt.
                                                                                                                                                        Själv har jag varit en del av Flarum communityn och översatt deras forum till svenska m.m.
                                                                                                                                                        Jag hade gärna velat välja Talkyard som forum för den sida jag håller på med men märkte väldigt snabbt att installationen till localhost för test eller till sida (köpt av one.com och godaddy) är överdrivet krånglig och tidskrävande i jämförelse med andra forum.
                                                                                                                                                        Är detta något ni kommer satsa på att göra betydligt enklare i framtiden? Finns forumet även i andra språk, t.ex svenska?
                                                                                                                                                        Har läst igenom er sida men hittar ingen community där man kan komma med förslag eller få hjälp.
                                                                                                                                                        Vore bra om det var lite tydligare. Och text-format delen är väldigt limiterad, försökte skriva in en if-sats och se om man kunde få texten att se mer tydlgare ut för kod än text men det gick inte.

                                                                                                                                                        1. K@KajMagnus
                                                                                                                                                            2018-03-08 06:15:53.025Z

                                                                                                                                                            Hej DMT! Okej kul att du gillar hur Talkyard ser ut :- ) Vad ska ditt forum handla om?

                                                                                                                                                            Intressant att installationen är krånglig. Är det något särskilt steg du tänker på, eller helt enkelt att det är många olika steg?

                                                                                                                                                            Jag skulle gärna förenkla installationen. Någon har föreslagit ett skript som automatiskt installear Docker, konfigurerar Ubuntu och allting, så man inte behöver köra flera små-skript själv. Då kanske de typ 10 stegen kan kortas ner till bara 5 steg. Fast detta kommer nog dröja ett tag. Jag är rädd att skriptet själv skulle innehålla någon bugg, och fler abstraktionslager —> svårare att felsöka :- /

                                                                                                                                                            Talkyard är just nu bara på Engelska. Någon gång längre fram ska jag lägga till stöd för fler språk.

                                                                                                                                                            Ang. community: Jag såg att du postade i https://www.talkyard.io/forum/latest — ok, så du hittade rätt plats till slut :- )

                                                                                                                                                            Hur gjorde du när du skrev if-satsen? Takyard använder Commonmark, http://commonmark.org. Man kan indentera 4 spaces, eller skriva tre backquotes i rad: ``` före och efter kod-snutten, så blir det monospace-källkods-formattering. Exempel:

                                                                                                                                                            if (itRainsOutside) {
                                                                                                                                                              stayHomeFromWork()
                                                                                                                                                            }
                                                                                                                                                            
                                                                                                                                                            1. DDMT @DMT
                                                                                                                                                                2018-03-08 09:04:02.018Z

                                                                                                                                                                Hej @KajMagnus, kan inte berätta just nu vad mitt forum handlar om, men jag har kollat igenom varenda forumsprogram som finns därute och ärl

                                                                                                                                                                click to show
                                                                                                                                                        2. G
                                                                                                                                                          In reply tosystem:
                                                                                                                                                          Alexander Grafov @grafov
                                                                                                                                                            2018-04-29 23:42:40.891Z

                                                                                                                                                            It looks promising. Could it use another authorization scheme not only Github?

                                                                                                                                                            1. K@KajMagnus
                                                                                                                                                                2018-04-30 09:54:42.154Z

                                                                                                                                                                Gmail, Facebook, Twitter and Github signup & login are supported right now. If I've written somewhere that only GitHub is supported, plz tell me and I can edit & fix that :- ) (or did you have something else in mind? with authorization scheme?)

                                                                                                                                                              • T
                                                                                                                                                                In reply tosystem:
                                                                                                                                                                toto @toto
                                                                                                                                                                  2018-10-27 17:14:29.358Z

                                                                                                                                                                  seems to work fine :)

                                                                                                                                                                  1. Ttoto @toto
                                                                                                                                                                      2018-10-27 17:16:12.296Z

                                                                                                                                                                      Why is my post in the middle ... between 2 olds posts ???

                                                                                                                                                                      1. K@KajMagnus
                                                                                                                                                                          2018-10-28 03:38:05.143Z

                                                                                                                                                                          That's because I Bury-voted the posts below, because the're test comments — so they get moved to the bottom of the page.

                                                                                                                                                                          Whilst your comment says something meaningful (it asks about its placement).

                                                                                                                                                                          The blog author can use hidden Bury votes, to move "Thanks" and "Me too" like comments, downwards, so that the readers will see the more interesting and meaningful comments instead. Whilst the people who posted those "Thanks" and "Me too" etc comments, won't see that there's a Bury vote, so they won't feel sad about that. Nothing wrong with saying "Thanks" or posting test comments here — and at the same time, not so interesting for others to read. :- ) (There're Like votes too but ... maybe one don't want to Like vote everything.)

                                                                                                                                                                      2. J
                                                                                                                                                                        In reply tosystem:
                                                                                                                                                                        Justin C @jtchaschowy
                                                                                                                                                                          2019-02-19 02:30:19.327Z

                                                                                                                                                                          Thank you for everything

                                                                                                                                                                          1. T
                                                                                                                                                                            In reply tosystem:
                                                                                                                                                                            ThyrixYang @ThyrixYang
                                                                                                                                                                              2019-04-13 08:30:13.502Z

                                                                                                                                                                              test

                                                                                                                                                                              1. K@KajMagnus
                                                                                                                                                                                  2019-04-13 13:26:22.513Z

                                                                                                                                                                                  Did it work? B.t.w. where are you located (in which country) if I may ask?

                                                                                                                                                                                  1. TThyrixYang @ThyrixYang
                                                                                                                                                                                      2019-04-13 13:50:38.680Z

                                                                                                                                                                                      worked just fine. I'm in China, so disqus is not available.

                                                                                                                                                                                      1. K@KajMagnus
                                                                                                                                                                                          2019-04-14 00:09:59.493Z

                                                                                                                                                                                          Oh, that's interesting, I didn't know Disqus isn't accessible from China.

                                                                                                                                                                                          if you have time, I'm curious about how you found Talkyard and ... if you have a blog and what is it about?

                                                                                                                                                                                          1. TThyrixYang @ThyrixYang
                                                                                                                                                                                              2019-04-14 03:45:39.061Z

                                                                                                                                                                                              If talkyard is as popular as disqus, I believe it will be blocked as well. Lol.

                                                                                                                                                                                              1. K@KajMagnus
                                                                                                                                                                                                  2019-04-14 15:43:39.180Z

                                                                                                                                                                                                  Yes that's what I started thinking as well. Ok, interesting to hear about via-Hugo and machine learning :- )

                                                                                                                                                                                                • In reply toKajMagnus:
                                                                                                                                                                                                  TThyrixYang @ThyrixYang
                                                                                                                                                                                                    2019-04-14 03:43:58.409Z

                                                                                                                                                                                                    I found talkyard in Hugo document. I plan to build a blog on machine learning research.

                                                                                                                                                                                            • B
                                                                                                                                                                                              In reply tosystem:
                                                                                                                                                                                              @brycewray
                                                                                                                                                                                                2019-04-26 16:49:50.910Z

                                                                                                                                                                                                Magnus, replying via macOS Safari and my GitHub login as per your request to see if I could log in. Looks like your solution works.

                                                                                                                                                                                                1. D
                                                                                                                                                                                                  In reply tosystem:
                                                                                                                                                                                                  @d13
                                                                                                                                                                                                    2019-05-30 20:25:01.922Z

                                                                                                                                                                                                    demo