這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

FishyTweet

外掛說明

Adds a link to each post that points the user to Twitter.com. Before the redirect, the URL for the actual post is sent to Tinyurl.com and the tinyurl-ified URL is used as an argument to Twitter.com thus putting it in the status field when the page loads.

安裝方式

Upload the folder to your plugins folder and activate it. See “Settings” to customize it.

Configuration

Under “Settings” you can change the following options: * The anchor text. This is the text that will make up the link that takes users to Twitter.com. * The title attribute of the anchor. This is what will go into the tool tip of the link. * Surrounding tag: Select a proper tag to put the link into. * Surrounding tag class: If you want to add CSS rules for the link you can specify one or more class names. Use spaces to separate multiple class names. * URL shortener: Select your preferred engine for shortening URLs.

常見問題集

Are there any special requirements to use this plugin?

Yes, PHP on the server you install the plugin on must have enabled the setting allow_url_fopen. If not, the plugin cannot shorten the URL.

What if I’m not logged in at Twitter.com

If you aren’t logged in when you click the “tweet” link, it’s not a problem. First, you’ll be redirected to the login page at Twitter.com. Once you’ve logged in, you are redirected to your home page at Twitter.com and the URL will be ready for you in the status field.

Can I use an image as a link?

Unfortunately no. This will be available in a later version.

I get an error about ‘allow_url_fopen’?

If you get this error it means that PHP on the server you use isn’t allowed to access other web pages using file_get_contents(). Unfortunately, this is the way FishyTweet connects to the selected URL shortener to shorten the URL to your post. The plugin will still work but URLs won’t be shortened.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈FishyTweet〉的開發相關工作。

參與者

將〈FishyTweet〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄