vojtechruz / vojtechruzicka-blog

Source code for blog vojtechruzicka.com
13 stars 10 forks source link

Disqus takes a long time to load #2

Closed VincentTam closed 1 year ago

VincentTam commented 5 years ago

Hi, I've read your post about Staticman. Disqus comments at the bottom can't be loaded in my browser. I'm using qutebrowser on Ubuntu 18.04.

Screenshot from 2019-07-01 11-01-58

vojtechruz commented 5 years ago

Thanks for reporting, I'll look into this.

VincentTam commented 5 years ago

Thanks for response. Have you thought of migrating from Disqus? Here's some articles about its shortcomings.

  1. https://victorzhou.com/blog/replacing-disqus/
  2. https://old.reddit.com/r/programming/comments/b9022a/switching_off_of_disqus_reduced_my_page_weight_by/

You may try static comments for static blog comments. Comments are stored as YML files inside your repo, so that you completely own the comment. With a static blog generator, these YML files can be converted into HTML elements under your posts, so that the comments are SEO-friendly.

To illustrate this, let me use an MR for a static comment received on my Framagit+Beautiful Hugo+Staticman demo site.

Field Content
replyThread
replyID
replyName
comment Essai : $n!\underset{+\infty}{\sim}\left(\frac{n}{e}\right)^n\sqrt{2\pi n}$.
Ok ? :smiley:
name François Coulombeau
email 137743b032171d66c4caa2be6b0884c3
website
date 2019-02-28T22:44:08.269Z

This is rendered as
screenshot for rendered comment
Image URL: http://imgur.com/KRTtJLXl.png
in my page.

vojtechruz commented 5 years ago

Thanks for more info. Yes, i definitely want to get rid of disqus once I have some free time. Probably staticman.

vojtechruz commented 1 year ago

Disqus is now removed, will be replacing with new system soon.

vojtechruz commented 1 year ago

Added new commenting system using Giscus