From e603a0fa8f47f003de6afe96a04d4ceed32d59df Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 30 Oct 2007 09:36:14 +0100 Subject: [PATCH] shamelessly pimp tt-rss devblog in default install --- functions.php | 6 +++++- schema/ttrss_schema_pgsql.sql | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 45c17ec2..791a4191 100644 --- a/functions.php +++ b/functions.php @@ -1511,7 +1511,11 @@ db_query($link, "insert into ttrss_labels (owner_uid,sql_exp,description) values ('$uid','last_read is null and unread = false', 'Updated articles')"); - + + db_query($link, "insert into ttrss_feeds (owner_uid,title,feed_url) + values ('$uid', 'Tiny Tiny RSS: Dev. Blog', + 'http://bah.org.ru/archives/category/tt-rss/feed')"); + db_query($link, "insert into ttrss_feeds (owner_uid,title,feed_url) values ('$uid', 'Tiny Tiny RSS: New Releases', 'http://tt-rss.spb.ru/releases.rss')"); diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql index c75e210f..419b94f4 100644 --- a/schema/ttrss_schema_pgsql.sql +++ b/schema/ttrss_schema_pgsql.sql @@ -70,6 +70,9 @@ create table ttrss_feeds (id serial not null primary key, create index ttrss_feeds_owner_uid_index on ttrss_feeds(owner_uid); +insert into ttrss_feeds (owner_uid, title, feed_url) values + (1, 'Tiny Tiny RSS: Dev. Blog', 'http://bah.org.ru/archives/category/tt-rss/feed'); + insert into ttrss_feeds (owner_uid, title, feed_url) values (1, 'Tiny Tiny RSS: New Releases', 'http://tt-rss.spb.ru/releases.rss'); -- 2.39.5