Linux 软件免费装
Banner图

Twitter posts to Blog

开发者 badbreze
sforsberg
sudocat
更新时间 2016年4月4日 17:18
捐献地址: 去捐款
WordPress版本: 4.4
版权: GPLv2 or later
版权网址: 版权信息

标签

twitter autopost

下载

0.1 0.3 0.4 0.5.1 0.6.1 0.6.2 0.6.3 1.0 1.1 1.11.23 1.11.25 1.3.5

详情介绍:

Source Available on GitHub Fork Me on GitHub https://github.com/badbreze/twitter-posts-to-blog.git With this plugin you can stream tweets to your blog, it's simply to use For my projects see http://www.divenock.com/projects/ Limitations Examples To Finds tweets... More? Want more functionality or some modifications? Ok tell me wath you want and i try to add or modify the plugin functions

安装:

Copy the plugin into the WordPress directory ( wp-content/plugins/ ) Activate plugin from admin control panel Create your twitter application here: https://dev.twitter.com/apps/new Once you have created you need to pick tookens from the app panel and configure this plugin with these informations: And these (generated clicking (one time) on the button "Create my access token" on the application admin panel): This plugin create new menu under Settings ( Settings -> Twitter To WP ) Follow the description in order to configure the plugin

屏幕截图:

  • Configuration panel.
  • List items matching configuration and alow to publish manually.
  • Twitter app configuration panel

常见问题:

I don't understand the utility of this plugin. Can you explain me what's mean?

This plugin periodicaly pick tweets from tag,username or some text like this: https://twitter.com/search?q=%40iWafer&src=typd and for each tweet create one post in your blog.

Where do I select the category,tags,content it will post to?

In plugin settings page there is a tab called "Post customization" where you can choose those and more options for each tweet post this plugin publish

Can i exclude tweets with unwanted words/authors?

Yes you can exclude authors or words from the main configuration tab of the plugin

How work the title/body formatting

Formatting is easy to use, you can choose what you want to see in every post you publish, for egsample, you can set as title something like this: Tweet from %author% and the body content like this: <img src="%avatar_url%" alt="%author%"/> %author%: %tweet%. <a href="/">Back to Home</a> And your tweet result is something like: Tweet from iWafer [IMAGE] iWafer: @divenock hello friend im the #best. Back to Home This is the list of codes you can use in the formatting fields %tweet% The text of the tweet %author% The author name of this tweet %avatar_url% An url to the author avatar for this tweet %tweet_url% Url of this tweet in twitter.com %tweet_images% An html block of all images in the tweet

How can i filter for tweets with images

You can search tweets with images using this filter in your query string filter:images Or you can exclude images with the same filter but with a - in front of it -filter:images

How can i filter for tweets with Mentions or Replies

You can search replies or mentions using these filters in your query string filter:mentions filter:replies Or you can exclude replies with the same filters but with a - in front of it -filter:mentions -filter:replies

Why my site doesn't grab images from twitter?

In some cases hosters have security setting in their configuration or firewalls or some other think like these, if you have problems with images in tweets the main problem maybe is the "allow_url_fopen" PHP setting, normaly you can request the activation of this function to enable the grabbing of images

Can i intercept some actions on the plugin runtime?

Here the list of actions with a small description dg_tw_before_images_placed This action runs before the insertion of the image (from twitter) in the post dg_tw_images_placed This action runs after the insertion of the image (from twitter) in the post (runs only if you choosed to insert the image as preview or as content dg_tw_after_post_published This action runs after the insertion of the post, the only parameter gived is the id of the post

Can i customize posts without edit the plugin?

Yes you can, usin filter you can edit some parts of the plugin engine without edit it, keeping the ability to update the plugin without lost any costomization made by you. Filters are listed here. dg_tw_before_post_tweet Allow to edit the post data before it be published, is and array with and array containing infomations for "wp_insert_post" dg_tw_the_author Filter the author name dg_tw_the_author_link Filter the html link to the author page on twitter

Can i the id/author/avatar or query string of certain post in my template?

All posts made by this plugin are created with some metas for those who want cusutomize their theme for tweets, here the collected post metas: dg_tw_query The query string used to pick up this post dg_tw_id The id of the tweet in this post dg_tw_author The author name of the tweet in this post dg_tw_author_avatar The avatar url of the author

更新日志:

What Next 1.11.25 1.11.24 1.11.22 1.11.21 1.11.20 1.11.14 1.7.* 1.6.* 1.5.* 1.4.* 1.4 1.3.* 1.3 1.2 1.1.* 1.1 1.0.* 1.0 0.6.4.* 0.6.4 0.6.3.* 0.6.3 0.6.2.* 0.6.2 0.6.1 0.6 0.5.2 0.5.1 0.5 0.4 0.3 0.2 0.1