shamelessly pimp tt-rss devblog in default install

This commit is contained in:
Andrew Dolgov 2007-10-30 09:36:14 +01:00
parent b27967acf3
commit e603a0fa8f
2 changed files with 8 additions and 1 deletions

View File

@ -1512,6 +1512,10 @@
db_query($link, "insert into ttrss_labels (owner_uid,sql_exp,description) db_query($link, "insert into ttrss_labels (owner_uid,sql_exp,description)
values ('$uid','last_read is null and unread = false', 'Updated articles')"); 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) db_query($link, "insert into ttrss_feeds (owner_uid,title,feed_url)
values ('$uid', 'Tiny Tiny RSS: New Releases', values ('$uid', 'Tiny Tiny RSS: New Releases',
'http://tt-rss.spb.ru/releases.rss')"); 'http://tt-rss.spb.ru/releases.rss')");

View File

@ -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); 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 insert into ttrss_feeds (owner_uid, title, feed_url) values
(1, 'Tiny Tiny RSS: New Releases', 'http://tt-rss.spb.ru/releases.rss'); (1, 'Tiny Tiny RSS: New Releases', 'http://tt-rss.spb.ru/releases.rss');