summaryrefslogtreecommitdiffstats
path: root/org/madore/damlengine/WeblogPopulate.java
Commit message (Collapse)AuthorAgeFilesLines
* Separate the "has_cut" property from "do_single_page".David A. Madore2014-10-121-8/+12
| | | | | | | | | 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 ) ;
* Entry single pages: handle permalinks gracefully, populate with attribute.David A. Madore2011-11-121-16/+21
| | | | | | | | | | * 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).
* Impose format for entry cdate attribute.David A. Madore2011-09-131-0/+11
|
* Allow the cdate attribute to override that in the database.David A. Madore2011-09-051-3/+16
|
* Also configure the parser for WeblogPopulate.David A. Madore2011-09-041-0/+4
|
* Eliminate use of DocumentBuilder (use DOM LS everywhere) + use validation to ↵David A. Madore2011-09-041-8/+9
| | | | | | | | | catch undefined entities. There seems to be no way to catch the undefined entity error (when it is considered a validation error, e.g., when the document has an external subset) other than by turning on validation. So we register an error handler to throw away useless validation errors.
* Wrap it all in a single command handler.David A. Madore2011-08-311-80/+74
|
* Allow the source file to force ctime on blog entries.David A. Madore2011-08-311-2/+18
|
* (Preliminary) handling of weblog entry selection and summary.David A. Madore2011-08-281-22/+4
|
* Quiet gcj warnings.David A. Madore2011-08-281-2/+0
|
* Preliminary code to populate a PostgreSQL database with weblog entries.David A. Madore2011-08-281-0/+152