Display Stackoverflow entries on an XPage

With just a few lines of code, you can display entries from Stackoverflow on an XPage in your custom application. I’ve used  the StackUnderflow library, that is available from here.

StackUnderflow.js is a lightweight JavaScript library that makes retrieving and rendering question summary information from StackExchange sites simple. It supports retrieving questions by Question ID, tags, keyword, and even by Google search results to enable you to search the body of questions, even though the StackExchange API does not support it (currently limited to 8 results).

Here is the code that is needed to render the output