3 ms·
Show HN: FAQ-div: turn a div into a FAQ with /w search and more
- stevekemp 6y agoA minor bug-report, relating to searches. If you search on your own FAQ for "refund" you see one result, however the text reads "1 results", rather than "1 result". Otherwise it seems like a nice system; I've written similar FAQ-sections in the past (in my case using dl/dt/dd tags) and I can see if you did it a lot it would be worth paying for a "component", but I'd expect most sites would need only one and would probably just develop in-house to match styling and their own existing work-flow. Good luck selling it :)
- almarklein 6y agoThanks! Not sure how to fix that, TBH. That text is configurable (e.g. for other languages) and I don't like "result(s)". I'll think about it though ... Haha, yeah you could be right about it being hard to sell. We'll see. This was a side-project with a relatively small time investment. A bit of an experiment, really ...
- stevekemp 6y agoYeah when you have to consider different languages things get complex. English would be "0 results", "1 result", "N results", etc. It might be that a simple FAQ is a tough-sell, but I can imagine people paying for more complex knowledge-base style of tool. (Of course that's just a guess)
- almarklein 6y agoActually, a function could do the trick: https://github.com/almarklein/faq-div/issues/7 https://github.com/almarklein/faq-div/issues/7