rules: dreamwidth journals that use entry-content

The community rule matches only div.usercontent; journal styles vary and
diziet's (which arrives via Planet Debian) uses div.entry-content, so those
posts fell through to Readability. The upstream file's own comment notes it
needs converting to a wildcard.

Found by the stale-rule diagnostic after a full re-import.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011sSJdftQx5bW5HZHgUKF3i
This commit is contained in:
Michal
2026-08-25 13:21:29 +01:00
parent 8a89653565
commit 0504f6cc87

View File

@@ -0,0 +1,13 @@
# The community rule only matches div.usercontent. Dreamwidth journal styles
# vary, and diziet's (which reaches us via Planet Debian) renders the post into
# div.entry-content instead, so extraction fell through to Readability.
body: //div[contains(concat(' ', normalize-space(@class), ' '), ' usercontent ')]
body: //div[contains(concat(' ', normalize-space(@class), ' '), ' entry-content ')]
title: //div[contains(@id, 'entrysubj')]
strip_id_or_class: currents
strip_id_or_class: comment
strip_id_or_class: module-content
test_url: https://diziet.dreamwidth.org/21442.html