Linux 软件免费装
Banner图

Montecchiani Book Catalog

开发者 mirkomontecchiani
更新时间 2026年10月26日 21:32
PHP版本: 7.2 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

books library isbn bookshelf book catalog

下载

1.3.1

详情介绍:

Montecchiani Book Catalog adds a dedicated Book content type to WordPress and displays your books anywhere on your site with the [mbcat_books] shortcode: a responsive 1–5 column grid of covers with an overlay that reveals the book details on hover, on focus or on tap. Every book stores its own details (author, publisher, publication year, number of pages, language, ISBN and an optional shop link), can be organised with the Genres taxonomy, and is automatically described with Schema.org Book structured data (JSON-LD) so search engines can show rich results. ISBN autofill Type an ISBN in the book editor and click Autofill from ISBN. The plugin queries the Google Books and Open Library catalogs and fills in the empty fields only — title, author, publisher, year, pages, language and description — never overwriting anything you already wrote. If a cover is found you can import it into the Media Library and set it as the featured image with one click. Main features External services This plugin can query two third-party book databases in order to autofill book details from an ISBN. Every request is made from your server, only inside the WordPress admin, and only when a logged-in editor clicks the "Autofill from ISBN" button or the "Use as cover" button. Nothing is ever sent from the public side of your site, no request is made automatically or in the background, and no personal data about you or your visitors is transmitted. Google Books API — endpoint: https://www.googleapis.com/books/v1/volumes What is sent, and when: the ISBN you typed, each time you click "Autofill from ISBN" (unless you disabled this source in the settings) and, if the cached result of that lookup has expired in the meantime, again when you click "Use as cover". If you entered an optional Google Books API key in the plugin settings, that key is sent with the request too. Every request also carries a User-Agent header identifying the plugin and its version (Montecchiani-Book-Catalog/1.3.1); your site URL is not sent. When the answer includes a cover, your server also downloads its small thumbnail (a few kilobytes) from the address returned by the API, on books.google.com or its file host books.googleusercontent.com, and embeds it in the editor as a preview: the editor page itself never loads anything from Google. If you then click "Use as cover", the cover image file is downloaded from the same address by your server and stored permanently in your site's Media Library. Terms of Service: https://developers.google.com/books/terms and https://policies.google.com/terms Privacy Policy: https://policies.google.com/privacy Open Library API (Internet Archive) — endpoint: https://openlibrary.org/api/books What is sent, and when: the ISBN you typed, each time you click "Autofill from ISBN" (unless you disabled this source in the settings) and, if the cached result of that lookup has expired in the meantime, again when you click "Use as cover". Every request also carries a User-Agent header identifying the plugin and its version (Montecchiani-Book-Catalog/1.3.1); your site URL is not sent. When the answer includes a cover, your server also downloads its small thumbnail (a few kilobytes) from the address returned by the API, on covers.openlibrary.org (which may redirect to archive.org, the Internet Archive's file server), and embeds it in the editor as a preview: the editor page itself never loads anything from Open Library. If you then click "Use as cover", the cover image file is downloaded from the same address by your server and stored permanently in your site's Media Library. Terms of Use: https://archive.org/about/terms.php Privacy Policy: https://archive.org/about/terms.php Please note that cover images downloaded from these services are third-party content: it is your responsibility to check that you are allowed to publish them on your site. You can choose which of the two services is used — or use only one of them — in Book Catalog → Settings → ISBN Autofill. Lookup results and cover previews are cached on your own server for 12 hours so that repeated lookups do not generate new outgoing requests.

安装:

  1. Upload the montecchiani-book-catalog folder to /wp-content/plugins/, or install the plugin through the Plugins → Add New screen in WordPress.
  2. Activate the plugin through the Plugins menu.
  3. Go to Book Catalog → Add New Book to create your first book.
  4. Add the [mbcat_books] shortcode to any page, post or block where you want the catalog.
  5. Optionally review Book Catalog → Settings to set the default author, the number of columns and the ISBN data source.

屏幕截图:

  • Autofill from ISBN in the book editor: one click fills the empty fields from Google
  • The books list in the admin, with the cover, author, year, ISBN and genre columns,
  • The settings page: default author, number of columns, which databases to query for the

升级注意事项:

1.3.0 The plugin is now Montecchiani Book Catalog and the shortcode is renamed: replace [books] and [wpbc_books] in your pages and posts with [mbcat_books]. Your books, genres and settings are untouched. 1.2.0 Fixes cover import from Google Books, ordering by year or author, the Default Author setting, the uninstall cleanup and multisite activation. Recommended for everyone.

常见问题:

How do I display the catalog?

Add the [mbcat_books] shortcode to a page or post. Available attributes:

  • columns — number of columns, from 1 to 5 (defaults to the value in the settings)
  • hitem — show only this many books, with a "Show All Books" button underneath
  • orderby — date, title, year, author, rand, menu_order or modified
  • order — ASC or DESC
  • genre — one or more genre slugs, comma separated
Example: [mbcat_books hitem="6" columns="3" orderby="title" order="ASC" genre="fantasy,thriller"]

Does the ISBN autofill overwrite what I already typed?

No. Only empty fields are filled in. The title and the description are only set when the post title and the editor are still empty.

Do I need a Google Books API key?

No. Google Books answers without a key. A key only raises the request quota, which matters if you import a large number of books in a short time. You can add one in Book Catalog → Settings.

Why did the cover import fail?

Not every ISBN has a cover scan in either database, and some records only carry a low resolution thumbnail. Try the other data source in the settings, or set the featured image manually. Importing a cover requires a user who is allowed to upload files to the Media Library.

Where does the plugin send my data?

Only the ISBN you type is sent, and only to the services you enabled in the settings. See the "External services" section above for the full details.

What happens to my books if I delete the plugin?

By default nothing is deleted: your books, genres and covers stay in the database. If you want a full cleanup, tick Delete Data on Uninstall in Book Catalog → Settings before deleting the plugin.

Can I show more than 500 books at once?

A single request renders at most 500 books, so a very large catalog cannot exhaust the PHP memory limit. Developers can raise the limit with the mbcat_max_books_per_request filter.

Which languages is the plugin available in?

English out of the box. Translations are delivered through translate.wordpress.org: French, Spanish, Italian and Japanese are being added there, and WordPress downloads a translation automatically as soon as it is available for your site's language, with no configuration. Any other language can be contributed on the plugin's translation project: https://translate.wordpress.org/projects/wp-plugins/montecchiani-book-catalog/

更新日志:

1.3.1 1.3.0 1.2.0 1.1.0 1.0.0