Diasposter posts to Diaspora whenever you hit the “Publish” button. It can import Disapora comments to your original WordPress posts. It even uploads your WordPress post images as native Diaspora photos.
Transform your WordPress website into a back-end for Diaspora. Create original posts using WordPress, but publish them to Diaspora. Synchronize with your Diaspora comments. Always have a portable copy (a running backup) of all your original content, plus its Diaspora discussion thread.
Diasposter implements a simple API to keep posts in sync as much as possible; when you delete your WordPress post, your Diaspora post is removed, too. Comments on your Diaspora posts appear on your WordPress posts. Deleting a comment from your WordPress post deletes it from your Diaspora post, too. Featured images (aka “post thumbnails”) and other photos in your WordPress media library can be uploaded directly into Diaspora posts to be hosted on your pod.
Diasposter is very lightweight. It just requires you to connect to your Diaspora account from the plugin options screen. After that, you’re ready to cross-post!
- Secure: Unlike many other Diaspora tools, Diasposter never writes your login cookie to disk, strictly enforces encrypted connections between your blog and your Diaspora pod, and encrypts your password inside WordPress, so your Diaspora access credentials are kept as safe as you keep your WordPress database. This is especially important on Shared Hosting plans where many other customers have access to your server’s filesystem!
- Easy to use: Seamlessly translates WordPress formatting to beautiful Diaspora posts, with full support for post formats, featured images, post titles, automatic and manual excerpts, tags, custom post types, and more.
- Feature-rich: Numerous additional options let you provide custom linkbacks, broadcast your Diaspora post on any social media services integrated with your pod (like Twitter, Tumblr, Facebook, and WordPress), set global preferences and per-post settings, and more.
Diasposter makes use of Post Formats to automatically choose the most appropriate formatting for your Diaspora post. This means:
Linkpost format becomes a Diaspora post whose title is a link to the first link in your post.
Gallerypost formats become Diaspora posts wherein each
<img>in your post is uploaded directly into your Diaspora post, making a beautiful slideshow on Diaspora.
Statuspost formats are crossposted exactly as you enter them. (They are left untouched.)
Other options enable tweaking additional metadata from your WordPres entry (notably tags and geo-location data), and more. Diasposter is also IndieWeb-friendly, with built-in support for the
Donations for my WordPress plugins make up a chunk of my income. If you continue to enjoy this plugin, please consider making a donation. 🙂 Thank you for your support!
Servers no longer serve, they possess. We should call them possessors.
Learn more about how you can use this plugin to own your own data in conjunction with the “Bring Your Own Content” self-hosted Web publishing virtual appliance.
Maintaining this plugin is a labor of love. However, if you like it, please consider making a donation for your use of the plugin, purchasing one of Meitar’s web development books or, better yet, contributing directly to Meitar’s Cyberbusking fund. (Publishing royalties ain’t exactly the lucrative income it used to be, y’know?) Your support is appreciated!
Diasposter provides the following hooks for plugin and theme authors:
diasposter_save_post_types– Filter an array of custom post type names to process when Diasposter is invoked in the
diasposter_meta_box_post_types– Filter an array of custom post type names for which to show the Diasposter post editing meta box.
diasposter_prepared_post– Filter the
$diaspora_bodystring immediately before it gets crossposted to Diaspora.
diasposter_services_array– Filter the array of configured service integrations. Adding values like
- Download the plugin file.
- Unzip the file into your
- Go to your WordPress administration panel and activate the plugin.
- Go to Diasposter Settings (from the Settings menu) and either create or enter your Diaspora account settings. Then click “Save Changes.”
- Start posting!!!
See also the Screenshots section for a visual walk through of this process.
Installation notes and troubleshooting
Diasposter makes use of the cURL PHP extension and expects PHP 5.3 or greater.
It’s also possible that your system administrator will apply updates to one or more of the core system packages this plugin uses without your knowledge. If this happens, and the updated packages contain backward-incompatible changes, the plugin may begin to issue errors. Should this occur, please file a bug report on the Diasposter project’s issue tracker.
Can I specify a post’s tags?
Yes. WordPress’s tags are also crossposted to Diaspora. If you’d like to keep your WordPress tags separate from your Diaspora tags, be certain you’ve enabled the “Do not send post tags to Diaspora” setting.
Additionally, the “Automatically add these tags to all crossposts” setting lets you enter a comma-separated list of tags that will always be applied to your Diaspora crossposts.
Does Diasposter properly attribute content sources?
Yes. By default, Diasposter will set itself up so that your WordPress blog’s posts are attributed as the source for each of your crossposts with a link back to the original post on your site.
Can I send older WordPress posts to Diaspora?
Yes. Go edit the desired post, verify the crosspost option is set to
Yes, and update the post.
What if I edit a post that has been cross-posted?
If you delete a post that you have previously crossposted, Diasposter will delete it from Diaspora accordingly. Unfortunately, Diaspora provides no mechanism for editing a post after it has been published, so you will need to delete and recreate your post if you want to make changes on Diaspora.
Can I cross-post Private posts from WordPress to Diaspora?
Not yet, but this is a planned feature. Feel free to offer suggestions or patches at the Diasposter project issue tracker.
Can I choose which Diaspora aspects to share with?
Yes. For each post you make, you can select either “Public” or “All Aspects” or any combination of your other aspects. The sharing rules obey the same rules as the Diaspora* bookmarklet. This means:
- If “All Aspects” is selected, all other selected aspects are ignored.
- If “Public” is selected, but “All Aspects” is not selected, then your post will be shared publicly.
- If neither of the previous two options are selected, you may mix-and-match any number of your personal aspects.
Can I cross-post custom post types?
Yes. By default, Diasposter only crossposts
postpost types, but you can enable or disable other post types from the plugin’s settings screen.
If you’re a plugin developer, you can easily make your custom post types work well with Diasposter by implementing the
diasposter_prepared_postfilter hooks. See Other Notes for coding details.
Why don’t I see the option to send a tweet automatically even after I set the auto-tweet/auto-post option?
Make sure you have correctly configured your desired service integration for your Diaspora* account on your Diaspora* pod. Usually, this is available by selecting the “Services” tab from your pod’s account setting page (such as at
https://your-diaspora-pod.com/services). Only the services that you have enabled will be available for you to use in the Diasposter post editing meta box.
Why aren’t my Diaspora* posts showing my location even with “Send post location?” checked?
You need a plugin that collects post location data before you have any data to share. If you have not installed such a plugin, then there is simply no location data to send to Diaspora*. Neither Diasposter nor WordPress itself collects this information, but numerous other plugins can.
If you have installed a geolocation plugin for WordPress but the location data is still not showing up, it is likely because the other plugin does not save location data in a standard format that other plugins (like Diasposter) can access. Diasposter adheres to the WordPress Geodata standard for location information, and expects other plugins to behave accordingly. Try using a more well-behaved plugin instead.
Is Diasposter available in languages other than English?
Yes! This plugin has been translated into the following languages:
- Dutch (
- Thanks, André! 😀
With your help it can be translated into even more! To contribute a translation of this plugin into your language, please sign up as a translator on Diasposter’s Transifex project page.
- Dutch (
What if my theme doesn’t support Post Formats?
Don’t worry, Diasposter will still work even if your theme doesn’t support the Post Formats feature. 🙂
بررسیای برای این افزونه یافت نشد.
توسعه دهندگان و همکاران
“Diasposter” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.مشارکت کنندگان
ترجمه “Diasposter” به زبان شما.
علاقه مند به توسعه هستید؟
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- Bugfix: Fix failed log in attempts on some Diaspora pods.
- The currently connected Diaspora user account name is now shown on the settings screen.
- Error messages for certain issues that caused silent failures are now reported to user.
- Admin notices are now user-dismissible.
- Compatible with WordPress 4.2.2.
- Feature: Support
rel-syndicationIndieWeb pattern as implemented by the recommended Syndication Links plugin.
rel-syndicationis an IndieWeb best practice recommendation that provides a way to automatically link to crossposted copies (called “POSSE’d copies” in the jargon) of your posts to improve the discoverability and usability of your posts. For Diasposter’s
rel-syndicationto work, you must also install a compatible WordPress syndication links plugin, such as the Syndication Links plugin, but the absence of such a plugin will not cause any problems, either.
- Feature: “Link” post formats are now supported. When you cross-post a link post, the first hyperlink (
<a href="...">element) in your post will be used as the cross-posted post’s link and title.
- Usability: New Dutch (
nl_NL) translation available. (Thanks, André Koot!)
- Want Diasposter in your language? Join a Diasposter translation team!
- Feature: “Image” and “Gallery” post formats now automatically detect
<img>tags in WordPress post content and directly upload the images themselves to your Diaspora* post. This makes it easy to create beautiful photoset posts on Diaspora simply by inserting images into your WordPress post.
- Bugfix: Improved comment synchronization.
- Sync’ed comments are now stored as HTML as WordPress expects, not Markdown.
- Fixed a bug that caused only one comment to be sync’ed per sync subroutine invocation.
- Feature: Comment synchronization automatically detects new comments on your crossposted entries and copies them back to your WordPress post.
- If you delete a comment on your WordPress post that was originally posted on your Diaspora* cross-post, the comment is also deleted from your Diaspora* post.
- This feature is experimental. It uses a “lazy Salmon-like detection” scheme and is not yet fully tested. Please backup your WordPress database before you enable this feature.
- Feature: WordPress Featured Images (aka “post thumbnails”) now become Diaspora* photos. Simply set a Featured Image in your WordPress post to upload it as an image and associate it with your Diaspora* post.
- Usability: Per-post settings now remember their value in between editing different post drafts.
- Feature: Diaspora* pod settings are now cached for ten minutes by default. Optionally, you can configure how long to keep the cache for in the plugin options.
- Bugfix: Diasposter no longer shows warnings when no service integrations are configured for your account on your Diaspora* pod.
- Feature: Post location sharing can send WordPress geodata metadata to Diaspora*. Toggle this on or off for each post by using the new “Send post location?” option.
- Feature: Service integrations for Twitter, Tumblr, WordPress, and Facebook let you control the auto-post for services you have connected to from your Diaspora* pod.
- Initial release.