| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Java variables accordingly.
The SQL command is:
ALTER TABLE entries RENAME do_single_page TO special_name ;
|
|
|
|
|
|
|
|
|
| |
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 ) ;
|
|
|
|
|
|
|
|
|
|
| |
* 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).
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|