這個外掛並未在最新的 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