summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/WeblogSummary.java
Commit message (Collapse)AuthorAgeFilesLines
* Rename the "do_single_page" database column to "special_name", and update ↵David A. Madore2014-10-121-6/+6
| | | | | | | Java variables accordingly. The SQL command is: ALTER TABLE entries RENAME do_single_page TO special_name ;
* Separate the "has_cut" property from "do_single_page".David A. Madore2014-10-121-3/+6
| | | | | | | | | Note: the following SQL should be used to upgrade the database: ALTER TABLE entries ADD COLUMN has_cut boolean NOT NULL DEFAULT FALSE ; UPDATE entries SET has_cut = (array_length(xpath('.//d:cut-here', content, ARRAY[ARRAY['d', 'http://www.madore.org/~david/NS/daml/']]), 1) NOTNULL) ; -- Check that the following returns nothing: SELECT edate , id FROM entries WHERE has_cut != ( do_single_page NOTNULL ) ;
* Don't allow cached weblog summary to age more than five minutes.David A. Madore2014-10-121-1/+3
|
* Fix stupid thinko (test was backwards!).David A. Madore2014-10-121-1/+1
|
* Add a "dynamic context" global state, and make WeblogSummary stale when too old.David A. Madore2014-10-091-2/+5
|
* Introduce at least a semblance of thread-safety.David A. Madore2014-10-051-1/+1
|
* Support for d:wrefcat attribute to create links inside a category.David A. Madore2013-04-061-1/+17
|
* Entry single pages: handle permalinks gracefully, populate with attribute.David A. Madore2011-11-121-3/+7
| | | | | | | | | | * 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).
* Handling of weblog index (including killing nested a elements).David A. Madore2011-08-281-7/+12
|
* (Preliminary) handling of weblog entry selection and summary.David A. Madore2011-08-281-0/+53