Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 2.78 KB

README.md

File metadata and controls

62 lines (40 loc) · 2.78 KB

FAQ Exchange

The most frenquently asked questions on StackOverflow, for any given search-term.

Project Stage Badge: Development License Badge

"Frequently Asked Questions" site based on StackOverflow Questions and Answers

Usage

faq.exchange will display the top 30 most high scoring questions for a given topic.

The topic can be provided as a path, a query or an anchor.

That is to say, these URLs will all give you the same FAQ:

Obviously, phpunit-mocks can be replaced with topic or search-term you like.

Several words can be combined using a "plus" character: +, for instance: css+hsl.

To search for a tag (instead of a word), use square brackets, [ and ]. For instance the most common questions for the most loved and wanted languages from the 2019 Stackoverflow survey?

Feel free to report suggestions or bugs.

Inception

About 8 minutes into his PHPNW12 Talk The State of PHPUnit, Volker Dusch mentioned that there is a lot of stuff on StackOverflow that answer all the common questions. He also states that he would be really happy if someone would take the time to compile them into a FAQ.

So I decided to build one: https://faq.exchange/?phpunit-mocks/

After a first version was online, it seemed like a neat plan to implement things in a more generic way so other topics could also be supported. This has been achieved by using the URL as a search-term.

Technical Details

The FAQ pulls the Questions and answers straight from the StackOverflow API: https://api.stackexchange.com/docs/advanced-search#order=desc&sort=votes&q=phpunit%20mocks&site=stackoverflow&filter=!SC_g(LT_pJnL2lxfET--P_)p5zPQ212ioRM-*552DRcbu*sEtpTSNJ)dt(y8IgtT.