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

StackOverflow Answers Widget

描述

Widget to display a summary of answers you have posted in StackOverflow (http://stackoverflow.com/). It will display
the question’s title, the answer’s score, and the time the answer was last edited.

You can limit the number of questions displaying and sort the list based on:

  • Highest score.
  • Oldest answer.
  • Newest answer.

ps. The widget uses StackOverflow API version 2.2.
The content of this widget is cached and updated every day.

Requirement

  • json_decode must be available.
  • PHP5 or higher

安裝

  1. Upload plugin folder to the wp-content/plugins/ directory.
  2. Go to plugin page in WordPress, and click “Activate”
  3. Go to widgets page in WordPress and drag StackOverflow Answers Widget to a widget area.
  4. Set configuration
    a. Set widget title.
    b. User number can be found in profile URL (http://stackoverflow.com/users/[Your User Number]/[Your Username])
    c. Set number of questions to show.
    d. Set how you want to sort the list.

評價

閱讀全部1個評價

貢獻者及開發者

“StackOverflow Answers Widget” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 StackOverflow Answers Widget 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

0.2 Use htmlspecialchars for question title
0.3 Fixed incorrect plugin folder name
0.4 Fixed bug in display.php & use h2 tag for the heading
0.5 Multiple widgets in a page can have different StackOverflow account
Minor bug fixes
0.6 Uses StackOverflow API version 2.2.
0.7 Minor bug fixes