diff --git a/blockroll.php b/blockroll.php index 1f963b8..a19e3fd 100644 --- a/blockroll.php +++ b/blockroll.php @@ -3,7 +3,7 @@ * Plugin Name: Blogroll & Podroll Block * Plugin URI: https://github.com/pfefferle/wordpress-blockroll * Description: Share the blogs and podcasts you follow, and let other people subscribe to your list. - * Version: 2.1.0 + * Version: 2.1.1 * Requires at least: 6.8 * Requires PHP: 7.4 * Author: Matthias Pfefferle diff --git a/docs/developers.md b/docs/developers.md index 6cabb5f..4ce72cc 100644 --- a/docs/developers.md +++ b/docs/developers.md @@ -45,8 +45,10 @@ readers with a 404: by its HTML anchor. `group` is a query var of its own rather than a value of `opml`, so `{page}.opml?group={anchor}` works as well. An anchor no block has falls back to the whole page. -* `/?opml` is a directory that lists those per-page OPMLs as ``, - so a reader references them instead of keeping a copy. +* `/?opml` is a directory that lists each listed blogroll as ``, + so a reader references it instead of keeping a copy. On pages with several listed + blogrolls, each entry uses its group OPML URL and its name followed by the page title. + A single listed blogroll keeps the page OPML URL and title. Unlisted blogrolls are excluded. * `/.well-known/recommendations.opml` is the same directory under a well-known address. That path has no page behind it, so it does get a rewrite rule, flushed on activation. @@ -191,7 +193,7 @@ wordpress-blockroll/ │ └── class-import-controller.php # POST blockroll/v1/import ├── templates/ │ ├── opml.php # OPML of one blogroll page -│ └── opml-directory.php # directory of all blogroll pages +│ └── opml-directory.php # directory of all listed blogrolls ├── src/blogroll/ │ ├── block.json # block metadata and attributes │ ├── render.php # PHP frontend rendering diff --git a/readme.md b/readme.md index 8af5d27..a711f16 100644 --- a/readme.md +++ b/readme.md @@ -5,7 +5,7 @@ - Tags: blogroll, podroll, opml, links, feeds - Requires at least: 6.8 - Tested up to: 7.1 -- Stable tag: 2.1.0 +- Stable tag: 2.1.1 - Requires PHP: 7.4 - License: GPL-2.0-or-later - License URI: https://www.gnu.org/licenses/gpl-2.0.html @@ -133,6 +133,12 @@ routes are described in the Project and support maintained on github at [pfefferle/wordpress-blockroll](https://github.com/pfefferle/wordpress-blockroll). +### 2.1.1 + +* The site-wide OPML index now lists each listed blogroll separately, with its own name and subscription address, instead of combining all lists on a page into one entry. Unlisted blogrolls stay out of the index. +* The OPML page now explains what a subscription list is and how to import it into a feed reader. +* Updated development dependencies. + ### 2.1.0 * Sorting and paging mean one list now. On a page with several blogrolls, sorting one no longer sorts the others, and paging one no longer pages them. The links say which list they mean, with the name every list has anyway: `?blockroll-sort=name&group=podcasts`. Links from before this version still sort and page every list on the page. Reported in #2.