complete rewrite of comment scraper, caching features still missing

This commit is contained in:
2019-10-16 18:52:43 +02:00
parent e678442198
commit 6ae152a3d1
6 changed files with 161 additions and 1152 deletions

View File

@@ -38,11 +38,11 @@ $(document).ready(function() {
}
});
if (parseInt(root) > 0) {
$("#reference").append("<a href='https://mastodon.social/users/bjoern/statuses/" + root + "'>Join the discussion on Mastodon!</a>");
$("#reference").append("<a href='https://mastodon.social/users/mxmehl/statuses/" + root + "'>Join the discussion on Mastodon!</a>");
} else {
$("#comments").empty();
$("#statistics").empty();
$("#reference").append("Comments are handled by my <a href='https://mastodon.social/@bjoern'>Mastodon account</a>. Sadly this article wasn't published at Mastodon. Feel free to <a href='https://www.schiessle.org/contact/'>send me a mail</a> if you want to share your thoughts regarding this topic.");
$("#reference").append("Comments are handled by my <a href='https://mastodon.social/@mxmehl'>Mastodon account</a>. Sadly this article wasn't published at Mastodon. Feel free to <a href='https://mehl.mx/contact/'>send me a mail</a> if you want to share your thoughts regarding this topic.");
}
}