Cette extension n’a pas été testée avec les3 dernières versions majeures de WordPress. Elle pourrait ne plus être maintenue ou supportée et peut présenter des erreurs de compatibilité quand elle est utilisée avec des versions récentes de WordPress.

StackOverflow Answers Widget

Description

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

Installation

  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.

Avis

Lire l’avis

Contributeurs & développeurs

« StackOverflow Answers Widget » est un logiciel libre. Les personnes suivantes ont contribué à cette extension.

Contributeurs

Historique des changements

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