=== Support for the Social Profile Exchange Protocol (SPXP) ===
Contributors: heyfolksapp
Tags: spxp, social, social network, feed, decentralized
Requires at least: 4.7
Tested up to: 7.0
Stable tag: 1.3
Requires PHP: 8.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Exposes your blog via the Social Profile Exchange Protocol so your friends can follow your updates using any SPXP client, like the HeyFolks app.

== Description ==

The Social Profile Exchange Protocol (SPXP) defines how independent clients and servers can exchange information about social profiles,
focusing on privacy, security and individual sovereignty.
It aims to create a social media network consisting of independent actors rather than being controlled by a single entity.

This plugin makes your wordpress instance available via this protocol so that people can start following your blog posts with
any SPXP client of their liking, like the [Hey Folks app](https://HeyFolks.app/).

You can set the profile picture and a longer "About" text in the settings and tweak how posts on our Blog are presented via SPXP.

This plugin is not yet available for multisite installations.

You can follow the development and contribute PRs on [GitHub](https://github.com/heyfolksapp/wordpress-hfa-spxp)

== Get Involved ==

Development happens on GitHub:
https://github.com/heyfolksapp/wordpress-hfa-spxp

You can browse the code, suggest a feature, file an issue or contribute directly by raising a pull request.

== Installation ==

As usual: Copy the `/hfa-spxp` folder to `/wp-content/plugins` of your wordpress instance, activate the plugin and then adjust it
to your liking on the SPXP settings page.

Once activated, it exposes your blog via SPXP under the `/spxp` endpoint. If your blog lives at `https://example.com/myblog`, then
your SPXP profile URI would be `https://example.com/myblog/spxp`.

== Screenshots ==

1. Settings of your SPXP profile

== Changelog ==

= 1.3 =
* Added SPXP `video` post type: posts with a video attachment and a featured image now appear as `video` in the feed with `media` and `preview` fields
* Refactored post-building logic into focused helper methods for easier maintenance

= 1.2 =
* Updated minimum PHP requirement to 8.2
* Updated tested WordPress version to 7.0
* Fixed PHP 8.x compatibility warnings (undefined array key access)
* Added nonce verification to settings AJAX handler
* Fixed settings values not being sanitized on save
* Code quality improvements: method visibility, unicode JSON output

= 1.1 =
* Fixed image posts
* Fixed bug with deleted image assets

= 1.0 =
* Initial version

== Upgrade Notice ==

= 1.0 =
Initial version.