summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/weblog-database.sql
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2011-11-12 14:33:35 +0100
committerDavid A. Madore <david+git@madore.org>2011-11-12 14:33:35 +0100
commit07f2f3c30a6e0bc811e436925dfdfcf5befdecb7 (patch)
tree823deb363f8c7449a2028bc5171bf46d7f6218eb /org/madore/damlengine/weblog-database.sql
parent71dc0d53fcefea70ce978d305fba653cc2180a3b (diff)
downloaddamlengine-07f2f3c30a6e0bc811e436925dfdfcf5befdecb7.tar.gz
damlengine-07f2f3c30a6e0bc811e436925dfdfcf5befdecb7.tar.bz2
damlengine-07f2f3c30a6e0bc811e436925dfdfcf5befdecb7.zip
Entry single pages: handle permalinks gracefully, populate with attribute.
* A single page is generated from the single-page attribute on <entry> element (stored in database as do_single_page). * Permalink refers to the single page. Same from weblog index. Other links are subject to debate (e.g., what about internal links? now we link to single page when link has a supplement part, but this is debatable).
Diffstat (limited to 'org/madore/damlengine/weblog-database.sql')
-rw-r--r--org/madore/damlengine/weblog-database.sql5
1 files changed, 3 insertions, 2 deletions
diff --git a/org/madore/damlengine/weblog-database.sql b/org/madore/damlengine/weblog-database.sql
index ab4146d..0cfd282 100644
--- a/org/madore/damlengine/weblog-database.sql
+++ b/org/madore/damlengine/weblog-database.sql
@@ -7,8 +7,9 @@ CREATE TABLE entries (
lang text ,
title text ,
title_xml xml ,
- content xml NOT NULL,
- sha1 text NOT NULL
+ content xml NOT NULL ,
+ sha1 text NOT NULL ,
+ do_single_page text
) ;
CREATE INDEX entries_edate_key ON entries ( edate ) ;
CREATE TABLE incat (