Merge pull request 'Merge forgotten changes from new-frontend' (#2) from new-frontend into main

Reviewed-on: https://git.nolog.cz/mdivecky/headline/pulls/2
This commit is contained in:
mdivecky 2023-08-17 12:26:15 +02:00
commit dee801a193
2 changed files with 3 additions and 1 deletions

View file

@ -33,6 +33,8 @@ db_con = sqlite3.connect("../data/diffs.db")
db = db_con.cursor() db = db_con.cursor()
db.executescript(""" db.executescript("""
PRAGMA journal_mode=WAL;
CREATE TABLE IF NOT EXISTS diffs ( CREATE TABLE IF NOT EXISTS diffs (
diff_id INTEGER PRIMARY KEY, diff_id INTEGER PRIMARY KEY,
article_id TEXT, article_id TEXT,

View file

@ -14,7 +14,7 @@
<div class="prose"> <div class="prose">
<p> <p>
Headliner is monitoring rss feeds of czech news websites for changes in Headliner is monitoring rss feeds of czech news websites for changes in
article headlines. Just because it might be interesting. article headlines. Just because it might be interesting. You can read more about it on <a href="https://www.zive.cz/clanky/mrknete-novinarum-pod-ruce-tenhle-web-vam-ukaze-jak-se-titulek-clanku-zmeni-treba-petkrat-za-hodinu/sc-3-a-223150/default.aspx">zive.cz</a> or <a href="https://a2larm.cz/2022/10/co-je-psano-neni-dano-online-media-meni-nazvy-clanku-i-nekolikrat-za-den/">a2larm.cz</a>.
</p> </p>
<p> <p>
Check out <a href="https://git.nolog.cz/mdivecky/headline">the source code</a>, Check out <a href="https://git.nolog.cz/mdivecky/headline">the source code</a>,