Skip to content

Fix wrong-edition book covers across the catalog - #20

Merged
sx4im merged 2 commits into
mainfrom
cursor/fix-wrong-edition-covers-7420
Jul 18, 2026
Merged

Fix wrong-edition book covers across the catalog#20
sx4im merged 2 commits into
mainfrom
cursor/fix-wrong-edition-covers-7420

Conversation

@sx4im

@sx4im sx4im commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

Many catalog entries showed covers for the wrong edition (not just the five titles fixed earlier). This PR rematches covers for numbered/year editions and restores real covers for published reference books.

Changes

  • Added scripts/rematch_edition_covers_strict.py to look up edition-matching covers via Open Library, Manning, and Goodreads (edition required in match).
  • Updated ~110 coverImage values in web/data/books.json for better edition alignment (e.g. Automate the Boring Stuff 3e, Eloquent JavaScript 4e, Spring in Action 6e, Learning Python 5e, Learning Java 5e, Think Java 2e).
  • web/lib/covers.ts: prefer an explicit http(s) coverImage over the shared reference SVG so Nutshell/Pocket Reference titles can show real covers.
  • Corrected Java Pocket Guide metadata to 4th Edition (latest published) with a matching cover.

Notes

  • True online docs/resources still use /covers/reference.svg.
  • A few obscure titles may still lack a verified edition cover; those remain on the reference SVG rather than a wrong-edition image.
Open in Web Open in Cursor 

Update coverImage URLs so Python for Everyone, Malik Java Programming,
both Core Java 13th volumes, and 100 C++ Mistakes match the editions
listed in the library.

Co-authored-by: Muhammad Saim Shafique <contact@saimshafique.com>
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
freecodebooks Ready Ready Preview, Comment Jul 18, 2026 5:48am

Replace many wrong-edition cover images using edition-strict Open Library,
Manning, and Goodreads lookups, restore real covers for published reference
titles, and fix known mismatches (Learning Python 5e, Learning Java 5e, etc.).

Co-authored-by: Muhammad Saim Shafique <contact@saimshafique.com>
@cursor cursor Bot changed the title Fix wrong-edition covers for five catalog titles Fix wrong-edition book covers across the catalog Jul 18, 2026
@sx4im
sx4im marked this pull request as ready for review July 18, 2026 05:56
@cursor

cursor Bot commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@sx4im
sx4im merged commit 5b41e06 into main Jul 18, 2026
3 checks passed
@sx4im
sx4im deleted the cursor/fix-wrong-edition-covers-7420 branch July 18, 2026 05:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants