Add self-configuration feature

This commit is contained in:
Wieland Schöbl
2020-08-17 20:22:27 +02:00
parent e58f4dc0c5
commit 5969a2f221
10 changed files with 222 additions and 51 deletions

View File

@@ -10,8 +10,6 @@ object SiteWatcher {
var newestBlog: BlogPostPreview? = null
fun hasNewBlogPost(): Boolean {
Admin.silent("Updating...")
try {
val doc = Jsoup.connect(BLOG_INDEX_URL).get()
val newBlog = BlogPostParser.getFistBlog(doc)