Repository navigation
feat(english): add Miumiu's musings source - #2860
Conversation
Adds a standalone plugin for miumiu596.wordpress.com, a WordPress.com blog of translated Chinese romance novels. Novels, covers and synopses come from the blog's index page; chapters are collected from its public post list and ordered by the chapter number in their titles.
[Low impact] The PR adds one standalone reading source without changing other plugin workflows. The PR appears safe to merge, with a non-blocking mismatch between chapter-title matching and name cleanup. Findings
SummaryAdds Miumiu's musings as an English source.
One non-blocking concern: the title matcher and name cleanup code disagree on two supported abbreviations. Reviews (1) · Last reviewed commit: "feat(english): add Miumiu's musings sour..." · Reviewed by Greptile |
| slug: 'if-you-dont-go-to-hell-who-will', | ||
| heading: /go\s*to\s*hell/i, | ||
| categories: ['IYDGTH', 'If you'], | ||
| title: /go\s*to\s*hell|if?y?dg?th/i, |
There was a problem hiding this comment.
Some chapter abbreviations are missed
NOVELS does not recognize ifygth or iydgh, although TAGS lists both as chapter-title abbreviations. If a chapter uses either abbreviation and lacks a matching category, novelOf returns an empty string and the chapter is skipped. Use the same abbreviation list for matching and name cleanup so the two cannot drift.
There was a problem hiding this comment.
Valid finding, thanks. The title matchers and the name cleanup now both come from one shared abbreviation list, so ifygth and iydgh are recognised for uncategorised posts too (commit aed5fd3, pushed by the pipeline). The five novels still list 93 / 20 / 80 / 19 / 37 chapters.
Build the title matchers and the name cleanup from one shared abbreviation list so ifygth and iydgh are recognised for uncategorised posts too.
Summary
Adds a standalone English source for Miumiu's musings (https://miumiu596.wordpress.com), a small WordPress.com blog of translated Chinese romance novels.
/index/page lists the five novels (Rolling love, Same Place but not same bed, Nuptial Chamber Next Door, Loving you is too difficult, If You Don't Go To Hell, Who Will?) with covers and synopses; status (Completed / Ongoing) is read from each heading. Loving you is too difficult has no cover on the site, so it uses the default cover.public-api.wordpress.com, same approach as the existingmaehwasupplugin). Posts are matched to a novel by their blog category, falling back to words in the title for uncategorised posts. They are ordered by the number in the title, because some novels were not posted in reading order (If You Don't Go To Hell, Who Will? chapters 1-19 were posted after chapter 32). Observed counts: Rolling love 93, Same Place but not same bed 20 (the blog has no Prologue/Chapter 1 post for it), Nuptial Chamber Next Door 80, Loving you is too difficult 19, If You Don't Go To Hell, Who Will? 37..entry-contentof the dated chapter post, with ad/sharing blocks and empty paragraphs removed.firsttrytranslations).public/static/src/en/miumiu/icon.png(a generated letter icon; the site has no icon of its own).Fixes #269
Testing
npm run build:fullexits 0.npm run check:plugin -- plugins/english/miumiu.ts: popularNovels PASS (5 novels), searchNovels PASS, parseNovel PASS (93 chapters), parseChapter PASS.npx eslintandnpx prettier --checkon the new plugin are clean.Screenshots
These screenshots come from the repository's plugin playground (headless Chromium, live site data), not the LNReader app.
Notes
This change was written and tested by an AI coding agent (Claude) and reviewed by an automated pipeline only. No human has reviewed it yet, and it was not tested in the LNReader app.