Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blockroll.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 5 additions & 3 deletions docs/developers.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<outline type="include">`,
so a reader references them instead of keeping a copy.
* `/?opml` is a directory that lists each listed blogroll as `<outline type="include">`,
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.

Expand Down Expand Up @@ -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
Expand Down
8 changes: 7 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
Loading