Docuss: an experiment on how to embed discussions in web pages
-
Docuss intends to be a solution for embedding discussions in web pages, to allow for massively collaborative work.
See a demo here (click an orange balloon to open the discussion panel).
I've put some more use cases and demos here.
The current prototype is based on Discourse, but I'm going to have a look at nodeBB to see if the same is possible.
Any comment ?
-
It should totally be possible. Rest APIs are available for everything you would need.
-
Thanks @yariplus.
I'm having a deeper look. For the system to work, I need to be able to display a list of specific topics.
With Discourse, I use the tag system with the "tag intersection" feature (an URL that lists all topics containing both tag1 and tag2). There is no such feature in nodeBB, am I right?
A better alternative would be to display a list of specific topics depending on a custom field. I've read about custom fields, but how do I display a conditional topic list?
Thanks. -
By the way, a new version of my prototype is available at www.docuss.org.
-
@syl said:
the "tag intersection" feature (an URL that lists all topics containing both tag1 and tag2). There is no such feature in nodeBB, am I right?
To get the JSON, we can prepend
api/
to the URL. For example, for the tag "plugin" the topic list is:https://community.nodebb.org/tags/plugin
and the JSON:
https://community.nodebb.org/api/tags/plugin
However, this is for one tag. I don't know if there is a way for more than one.
Related info:
-
You can do a search using multiple tags, as long as there is a query.
https://community.nodebb.org/api/search?term=colors&in=titlesposts&matchWords=all&categories[]=all&hasTags[]=nodebb&hasTags[]=plugin&sortBy=relevance&sortDirection=&showAs=topicsI don't think that will work for your case though, but it might get you halfway.