开发者 |
maymay
meitar |
---|---|
更新时间 | 2020年5月14日 12:51 |
捐献地址: | 去捐款 |
PHP版本: | 4.4 及以上 |
WordPress版本: | 4.7.1 |
版权: | GPL-3.0 |
版权网址: | 版权信息 |
Standard
, Aside
, and Status
post formats become Tumblr's Text
post typeImage
post format becomes Tumblr's Photo
post typeVideo
post format becomes Tumblr's Video
post typeAudio
post format becomes Tumblr's Audio
post typeQuote
post format becomes Tumblr's Quote
post typeLink
post format becomes Tumblr's Link
post typeChat
post format becomes Tumblr's Chat
post typeGallery
post format becomes Tumblr's Photoset
post type (sadly this is not yet implemented, but maybe one day soon!!)Servers no longer serve, they possess. We should call them possessors.--Ward Cunningham 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.
oauth_client_class
for some core functions. Most systems have the required packages installed already, but if you notice any errors upon plugin activation, first check to ensure your system's PHP include path is set correctly. The lib
directory and its required files look like this:
lib
├── OAuthWP.php
├── OAuthWP_Tumblr.php
├── TumblrCrosspostrAPIClient.php
├── httpclient
│ ├── LICENSE.txt
│ └── http.php
└── oauth_api
├── LICENSE
├── oauth_client.php
└── oauth_configuration.json
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 Tumblr Crosspostr project's issue tracker.
If images are not posting correctly please check that your WordPress blog is not using HTTPS. The Tumblr API does not support HTTPS image sources via the API.tumblr_crosspostr_save_post_types
- Filter an array of custom post type names to process when Tumblr Crosspostr is invoked in the save_post
WordPress action.tumblr_crosspostr_meta_box_post_types
- Filter an array of custom post type names for which to show the Tumblr Crosspostr post editing meta box.tumblr_crosspostr_prepared_post
- Filter the $prepared_post
object immediately before it gets crossposted to Tumblrtumblr_crosspostr_reblog_key
- Prints the Tumblr Reblog Key for a given post.Yes. WordPress's tags are also crossposted to Tumblr. If you'd like to keep your WordPress tags separate from your Tumblr tags, be certain you've enabled the "Do not send post tags to Tumblr" 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 Tumblr crossposts.
Yes. By default, Tumblr Crosspostr will set itself up so that your WordPress blog's posts are attributed as the "Source" for each of your crossposts. Moreover, in each of your posts, you can enter a "Content source" URL in exactly the way Tumblr's own post editor lets you attribute sources, which will be entered as the "Content source" meta field on your Tumblr posts. You can even turn this feature off entirely if you're using Tumblr Crosspostr "secretly," as the back-end to a more elaborate publishing platform might do.
Yes. Go edit the desired post, verify the crosspost option is set to Yes
, and update the post. Tumblr Crosspostr will keep the original post date. Note that sometimes it seems to take Tumblr a few minutes to reflect many new changes, so you may want to use Tumblr's "mega editor" to verify that your post really made it over to Tumblr.
If you edit or delete a post, changes will appear on or disappear from Tumblr accordingly.
Yes. Tumblr Crosspostr respects the WordPress post visibility setting and supports cross-posting private posts to Tumblr. Editing the visibility setting of your WordPress post will update your Tumblr cross-post with the new setting, as well.
Yes. By default, Tumblr Crosspostr only crossposts post
post 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 Tumblr Crosspostr by implementing the tumblr_crosspostr_save_post_types
, tumblr_crosspostr_meta_box_post_types
, and tumblr_crosspostr_prepared_post
filter hooks. See Other Notes for coding details.
This plugin has been translated into the following languages:
fr_FR
)Tumblr Crosspostr will still work even if your theme doesn't support the Post Formats feature. However, consider asking your theme developer to update your theme code so that it supports Post Formats itself for other plugins to use, too.
If you feel comfortable doing this yourself, then in most cases, this is literally a one-line change. Simply use the add_theme_support() function in your theme's functions.php
file:
add_theme_support('post-formats', array('link', 'image', 'quote', 'video', 'audio', 'chat''));
And if you choose to do this yourself, consider getting in touch with your theme's developer to let them know how easy it was! We devs love to hear this kind of stuff. :)
Unfortunately, Tumblr does not provide a programmatic "export" feature, so there is no way to push posts out from Tumblr. This is known as a "data silo" and it's always enforced in the interest of corporate control so that humans are turned into dollars. Think Facebook, for example: you can easily put stuff into Facebook, but it's much harder to get that same stuff out. This is the exact opposite of WordPress in every way, both philosophically and technologically. Tumblr, in this case, is like Facebook. It, too, allows you to easily put stuff into it, but it's very hard to take stuff back out. Tumblr Crosspostr's Tumblr Sync feature was built to work despite this harsh reality. One of the limitations is that Tumblr Crosspostr Sync can not detect when you have published a new post on Tumblr (because Tumblr never notifies your WordPress blog that this has happened). Instead, it must periodically check your Tumblr blog on its own. It polls your Tumblr blog once every twenty four hours, and then does its best to identify which posts are new. This usually works quite well, but it does mean that it can take up to 24 hours for posts created on Tumblr to show up on your WordPress website. This is another reason why creating posts on WordPress is better than creating posts on Tumblr. If you'd like to see a world without arbitrary and unnecessary limitations that only serve corporate overseers like this, consider encouraging your friends to join and support free software platforms like WordPress, Diaspora, and other systems that let you own your own data.
/user/info
API endpoint.
0.8.7
native_inline_images
to avoid the "External image" display on the Tumblr Dash. (Props @jeraimee.)<!-- more -->
link to Tumblr's equivalent.rel-syndication
IndieWeb pattern as implemented by the recommended Syndication Links plugin.rel-syndication
is 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 Tumblr Crosspostr's rel-syndication
to 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.tumblr_crosspostr_save_post_types
filter hook to programmatically add custom post types to be processed by Tumblr Crosspostr during WordPress's save_post
action.tumblr_crosspostr_meta_box_post_types
filter hook to programmatically add or remove the Tumblr Crosspostr post editing meta box from certain post types.tumblr_crosspostr_prepared_post
filter hook to programmatically alter the $prepared_post
object immediately before it is crossposted to Tumblr.readme.txt
file length limitations. For historical change log information, please refer to the plugin source code repository.