Linux 软件免费装

Shorten2PingNG

开发者 ipublicis
更新时间 2012年11月27日 02:25
捐献地址: 去捐款
PHP版本: 2.7 及以上
WordPress版本: 2.9.2

标签

facebook twitter linkedin bit.ly ping plurk ping.fm tr.im su.pr yourls smsh.me

下载

详情介绍:

Sends status updates to Ping.fm or Twitter everytime you publish a post. Using Sm00sh, Bit.ly, Tr.im, YOURLS, Su.pr or even your own domain for shortened permalinks (accounts on these services required). So this way you can send status to many sites at once if you have a Ping.fm account or send only to Twitter if you prefer that. If you find it useful, please consider to make a donation or offer something from Amazon to Shorten2PingNG's author (any thing will be appreciated). Silk icons by FAMFAMFAM More info: Features Requirements Translations If you want to make a translation for your language, use the shorten2ping.pot included and (if you want) send me the files to dev@ipublicis.com for including it into the plugin package, you'll be credited, of course (NOTE: No sponsored translations allowed). Credits for present translations:

安装:

常见问题:

Will this plugin works in WordPress older than 2.7.x?

Maybe, but use it at your own risk. I'll not support anyone using outdated WP (or outdated PHP). At the moment of writing this I’m running this plugin on WordPress 2.9 and PHP 5.x and works fine, and was running without problems on WP 2.8.x and 2.7.x too. If you run anything below WP 2.7 and PHP 5.x, please update for your own good! (and dont ask me for support).

Why you did this plugin?

I wanted a (single) simple plugin for using Ping.fm + Bit.ly to notify about new posts to my contacts.

Are you planning to add more features?

At first only a few little improvements maybe. But if someone suggest a nice feature, and if I have time enough maybe I'll add it. But it's not my priority. I want to keep it simple.

I want to show the short permalink to my visitors. How can I do this?

Simply put <?php short_permalink(); ?> in your theme where you want to show short permalink. You can add the parameter 'linktext', <?php short_permalink('linktext'); ?> and it will use the short permalink as text for the link too. Or if you have advanced knowledge of WordPress theme coding, you can get the 'short_url' post meta directly and showing it as you like.

Hey man!, when I turn off shortener services in Shorten2Ping and send notifications directly to Twitter, I get Bit.ly links anyway...

Twitter has decided to shorten ALL URLs (except the ones already shortened) sent to Twitter using Bit.ly service (without user API). But you can keep track of the statistics if you dont put your Bit.ly information in the Shorten2Ping settings.

Hey man!, the same than above question but with Ping.fm

From sometime ago Ping.fm has his own link shortener service too, so if you disabled Shorten2Ping option to make shorlinks, but you see http://ping.fm/xxxx when you notify a post through Ping.fm, you must disable this service in your Ping.fm account settings.

How can I select wich image to show when sending the post to Facebook?

Since 1.3 version, Shorten2Ping adds a meta field in the single post view (the one that Facebook will scan) telling Facebook to use the first image uploaded and inserted in the post. If you want to override this, or simply you didn't uploaded any image to the post (even if you inserted one), you can add a custom field to the post named 'fb_img' and put the full URL to the image in the value for this custom field.

My post has an image inserted into it, but your plugin is not inserting the Facebook meta to use this image for the thumbnail, what happens?

It only works with images that you uploaded to THAT post, so if you inserted an image from the media library that was uploaded previously to other post. You'll need to use the 'fb_img' custom field described before. I could add some code to sort this out, but the only way to make that (scanning the post content) could make the posting process slower if you use big images.

更新日志:

1.3.1 1.3 1.2.8 1.2.4 1.2.2 1.2.1 1.2 1.1.3 1.1.2 1.1.1 1.1 1.0.2 1.0.1 1.0 Originally based on WordTwit 1.2 by Duane Storey. PingFM function based on one by Sold Out Activistclass for the pingPressFM plugin, and Bit.ly function by David Walsh & Jason Lengstorf.