このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Shorten2List

説明

Sends status updates to to selected maillists everytime you publish a post. Using Bit.ly, Tr.im, YOURLS, Su.pr, sm00sh or even your own domain for shortened permalinks (accounts on some of these services required). So this way you can send blog updates with short excerpts to many maillists at once.

If you find it useful, please consider to make a donation to Shorten2List’s author (any amount will be appreciated).

More info:

Features

  • Avoids to send again when editing previously sent post or even when editing an old post not sent before.
  • Option to choose each authors lists for new post notifications.
  • Option to choose between Bit.ly, Tr.im, YOURLS, Su.pr, Sm00sh or even you own domain for shortened permalinks.
  • Option to turn off notification or shortener service. Now you can use Shorten2List only for notification if your domain is already short enough for you, or use only to get shortened urls for your posts.
  • Stores created shortened permalink in a post meta field (used for template integration). Share this with Shorten2Ping so no duplicate shortening.
  • Using rel="shorturl" as proposed at http://wiki.snaplog.com/short_url, creating auto-discovery link tag for short url on single post page header.
  • You can use a template tag for showing visitors the short URL (using the same rel attribute as above for the shortened permalink).
  • Locale support. Now available in English and Portuguese. See translation section for more info.
  • Simple, fast, and useful 🙂

Requirements

  • PHP 5.x with CURL and JSON enabled (maybe works too in PHP4, but not tested and not supported by me).
  • PHP Mail (it uses just the common mail functions WordPress already uses).
  • WordPress 2.8.x or higher (maybe would work on older WP, but not tested and not supported by me).
  • Required your own account for the third party services that you want to use.
  • Not tested and not supported on IIS servers.

Translations

If you want to make a translation for your language, use the Shorten2List.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:

  • Portuguese translation made by myself 🙂

インストール

  • Extract the zip file and just drop the contents in the wp-content/plugins/ directory of your WordPress installation (or install it directly from your dashboard) and then activate the Plugin from Plugins page.
  • After that go to options page ‘Shorten2List’ and fill the required information for your accounts, and customize the message template if you want.
  • Now you’re ready, the plugin will notify Ping.fm or Twitter (at your choice) everytime you publish a new post (and Ping.fm will do the same to every site that you configured there, if you use this service).

FAQ

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 to notify my the maillists we subscribe about our new posts.

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.

貢献者と開発者

Shorten2List はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Shorten2List” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0

  • Initial release.

Originally based on Shorten2Ping 1.3 by Samuel Aguilera.

Bit.ly function by David Walsh & Jason Lengstorf.