{"id":398310,"date":"2026-12-04T19:14:21","date_gmt":"2026-12-04T19:14:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/socialspec\/"},"modified":"2026-12-04T19:14:05","modified_gmt":"2026-12-04T19:14:05","slug":"socialspec","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/socialspec\/","author":130940,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.2","requires":"6.7","requires_php":"8.1","requires_plugins":null,"header_name":"SocialSpec","header_author":"Matthias Pfefferle","header_description":"Publishes the SocialSpec APIs (FollowSpec, AboutSpec, ContactSpec) at \/.well-known\/.","last_updated":"2026-12-04 19:14:05","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/notiz.blog\/donate\/","header_plugin_uri":"https:\/\/github.com\/socialspec\/wordpress-socialspec","header_author_uri":"https:\/\/notiz.blog\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":39,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"pfefferle","date":"2026-12-04 19:14:05","revision":3845103}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3845120,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3845120,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3845120,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[1674,360,13176,297689,54762],"plugin_category":[42],"plugin_contributors":[77968],"plugin_business_model":[],"class_list":["post-398310","plugin","type-plugin","status-publish","hentry","plugin_tags-about","plugin_tags-contact","plugin_tags-opml","plugin_tags-socialspec","plugin_tags-well-known","plugin_category-contact-forms","plugin_contributors-pfefferle","plugin_committers-pfefferle"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/socialspec\/assets\/icon.svg?rev=3845120","icon":"https:\/\/ps.w.org\/socialspec\/assets\/icon.svg?rev=3845120","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Your site probably has an About page already, maybe a contact page and a list of blogs you like to read. People can read these pages, but apps can not. This plugin publishes the same information in simple files that every feed reader and social app can understand. It follows <a href=\"https:\/\/socialspec.org\/\">SocialSpec<\/a>, an open set of three small formats.<\/p>\n\n<p>A feed reader that knows SocialSpec can then show your site like a social profile: your posts, an \"About\" tab, a \"Following\" tab and a button to contact you.<\/p>\n\n<h3>What gets published<\/h3>\n\n<ul>\n<li><strong>About<\/strong> at <code>\/.well-known\/about.md<\/code>: the text of your About page, as <a href=\"https:\/\/aboutspec.org\/\">Markdown<\/a>.<\/li>\n<li><strong>Contact<\/strong> at <code>\/.well-known\/contact.vcf<\/code>: your name, website, short bio and picture, as a <a href=\"https:\/\/contactspec.org\/\">contact card (vCard)<\/a>.<\/li>\n<li><strong>Following<\/strong> at <code>\/.well-known\/following.opml<\/code>: the blogs and podcasts you follow, as an <a href=\"https:\/\/followspec.org\/\">OPML list<\/a>.<\/li>\n<\/ul>\n\n<p>The plugin uses what is already in WordPress. You do not have to write anything new.<\/p>\n\n<h3>Setup<\/h3>\n\n<ol>\n<li>Install and activate the plugin.<\/li>\n<li>Go to <strong>Settings \u2192 SocialSpec<\/strong>.<\/li>\n<li>Choose who represents the site. Pick a user for a personal site, or keep \"Nobody, use the site\" for a magazine or a company.<\/li>\n<li>Choose your About page, or keep \"Automatic\".<\/li>\n<li>Save, then open the links at the bottom of the page to check the result.<\/li>\n<\/ol>\n\n<h3>Where the About text comes from<\/h3>\n\n<p>The plugin looks for your About text in this order:<\/p>\n\n<ol>\n<li>The page you chose in <strong>Settings \u2192 SocialSpec<\/strong>.<\/li>\n<li>The page with the address <code>\/about<\/code>. Many personal sites have one, it is one of the common <a href=\"https:\/\/slashpages.net\/#about\">slash pages<\/a> like <code>\/now<\/code> or <code>\/uses<\/code>.<\/li>\n<li>The \"Biographical Info\" of the user who represents the site, from their profile.<\/li>\n<\/ol>\n\n<p>If none of these exists, there is no About file.<\/p>\n\n<h3>Where the contact card comes from<\/h3>\n\n<p>If you chose a user in the settings, the card shows their display name, first and last name, website, \"Biographical Info\" and profile picture. Otherwise it shows the site title, tagline and site icon.<\/p>\n\n<h3>Where the Following list comes from<\/h3>\n\n<p>WordPress has no list of blogs you follow, so other plugins add them. <strong>Settings \u2192 SocialSpec<\/strong> shows which plugins currently do. If you still use the old WordPress Link Manager, links with an RSS address are included too. Without any of these, the list is empty.<\/p>\n\n<p>Open the list in your browser and you see a readable page, with a \"Subscribe\" button for every feed. Feed readers ignore the script and read the list as before.<\/p>\n\n<h3>For developers<\/h3>\n\n<p>All three files and the core feeds (RSS, RSS2, RDF, Atom) are sent with <code>Access-Control-Allow-Origin: *<\/code>, so apps can load them from the browser.<\/p>\n\n<h4>Add the feeds you follow<\/h4>\n\n<pre><code>add_filter( 'socialspec_following', function ( array $outlines ): array {\n    $outlines[] = array(\n        'type'    =&gt; 'rss',\n        'text'    =&gt; 'Kottke',\n        'htmlUrl' =&gt; 'https:\/\/kottke.org\/',\n        'xmlUrl'  =&gt; 'https:\/\/feeds.kottke.org\/main',\n    );\n\n    return $outlines;\n} );\n<\/code><\/pre>\n\n<p>Each feed is an array of OPML outline attributes and needs an <code>xmlUrl<\/code>. Your plugin then shows up in <strong>Settings \u2192 SocialSpec<\/strong>.<\/p>\n\n<h4>Publish an email address<\/h4>\n\n<pre><code>add_filter( 'socialspec_vcard_properties', function ( array $properties, ?WP_User $user ): array {\n    $properties[] = array( 'EMAIL;TYPE=INTERNET,PREF', 'hi@example.com' );\n\n    return $properties;\n}, 10, 2 );\n<\/code><\/pre>\n\n<h4>Disable an endpoint<\/h4>\n\n<p>For example, if your plugin serves <code>\/.well-known\/following.opml<\/code> itself:<\/p>\n\n<pre><code>add_filter( 'socialspec_documents', function ( array $documents ): array {\n    unset( $documents['following.opml'] );\n\n    return $documents;\n} );\n<\/code><\/pre>\n\n<p>Add the filter before <code>init<\/code>, because the rewrite rule is built there. Flush the rewrite rules once afterwards, for example on activation of your plugin.<\/p>\n\n<h4>All filters and actions<\/h4>\n\n<ul>\n<li><code>socialspec_documents<\/code>: add, remove or replace documents (<code>Document<\/code> objects).<\/li>\n<li><code>socialspec_following<\/code>: the followed feeds, as OPML outline attributes.<\/li>\n<li><code>socialspec_following_opml_head<\/code> (action): print more elements into the <code>&lt;head&gt;<\/code> of the OPML, e.g. <code>&lt;ownerName&gt;<\/code>.<\/li>\n<li><code>socialspec_following_opml_body<\/code> (action): print more outlines into the <code>&lt;body&gt;<\/code> of the OPML, e.g. nested ones.<\/li>\n<li><code>socialspec_about_page<\/code>: the page published as <code>about.md<\/code>.<\/li>\n<li><code>socialspec_about_md<\/code>: the Markdown document. It also gets the source (page or user) and the rendered HTML, for example to use another Markdown converter.<\/li>\n<li><code>socialspec_vcard_properties<\/code>: the vCard properties and the user who represents the site.<\/li>\n<li><code>socialspec_vcard<\/code>: the vCard document.<\/li>\n<\/ul>\n\n<p>The settings are the options <code>socialspec_user<\/code> and <code>socialspec_about_page<\/code>. They are also available in the REST API.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"is%20my%20email%20address%20published%3F\"><h3>Is my email address published?<\/h3><\/dt>\n<dd><p>No. Neither the email address of a user nor the admin email of the site is published. A developer can add an address on purpose, see \"For developers\" below.<\/p><\/dd>\n<dt id=\"my%20about%20page%20has%20a%20different%20address.%20what%20now%3F\"><h3>My About page has a different address. What now?<\/h3><\/dt>\n<dd><p>Choose it in <strong>Settings \u2192 SocialSpec<\/strong>. The address does not matter then.<\/p><\/dd>\n<dt id=\"why%20is%20my%20following%20list%20empty%3F\"><h3>Why is my Following list empty?<\/h3><\/dt>\n<dd><p>No plugin adds the blogs you follow yet. <strong>Settings \u2192 SocialSpec<\/strong> shows which plugins add feeds to the list.<\/p><\/dd>\n<dt id=\"the%20links%20show%20a%20%22not%20found%22%20page%20of%20my%20server.\"><h3>The links show a \"Not Found\" page of my server.<\/h3><\/dt>\n<dd><p>Your server does not pass addresses that start with <code>\/.well-known\/<\/code> to WordPress. Ask your host to pass them on. The plugin then works with every permalink setting.<\/p><\/dd>\n<dt id=\"does%20it%20work%20if%20wordpress%20lives%20in%20a%20subfolder%3F\"><h3>Does it work if WordPress lives in a subfolder?<\/h3><\/dt>\n<dd><p>Only partly. SocialSpec expects the files at the root of your domain, like <code>https:\/\/example.com\/.well-known\/about.md<\/code>. If your site is at <code>https:\/\/example.com\/blog\/<\/code>, the files are at <code>https:\/\/example.com\/blog\/.well-known\/about.md<\/code>, and apps will probably not find them.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h3>1.0.0<\/h3>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Share who you are, how to reach you and what you follow with feed readers and social apps.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/398310","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=398310"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pfefferle"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=398310"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=398310"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=398310"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=398310"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=398310"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=398310"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}