From: Andrew Dolgov Date: Tue, 30 Oct 2007 08:36:14 +0000 (+0100) Subject: shamelessly pimp tt-rss devblog in default install X-Git-Tag: 1.2.17~37 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=e603a0fa8f47f003de6afe96a04d4ceed32d59df;p=tt-rss.git shamelessly pimp tt-rss devblog in default install --- 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');