Screenshot_22.jpg
I would like to add a new field to the topic submission form
[nodebb-plugin-glossary] Glossary Plugin for NodeBB
-
@baris Thanks. I spotted a bug in 0.6 when performing a large import. The mapping being returned should be (for example
SNMP
Simple Network Management Protocol
comes back withSNMP
something completely wrong
)Examples
and
Not sure if my data is incorrect (I'll check), but wanted to report this in case it is actually an issue. Reverting back to 0.5 the issue is not present
and
So, I think there is a bug somewhere
-
Yeah the csv import is pretty picky, it expects the format to be
keyword1, description1 or keyword2, "description2"
If you provide a small csv sample that doesn't work I can take a look.
-
-
@baris thanks. So a space is required between the comma and the next field. Odd that this doesn't seem to happen in
0.0.5
-
I updated the plugin to use https://www.npmjs.com/package/csvtojson so it is using the csv spec from https://www.loc.gov/preservation/digital/formats/fdd/fdd000323.shtml
-
@baris This doesn't seem to work for me at all using the latest version sadly. It doesn't matter which format I use, the import always seems to work, but exhibits the same issues as I highlighted earlier. Version
0.5
does not have these issues from what I can tell. -
Please share the csv you are having an issue with.
-
-
Published, 0.0.10 with some more fixes. I tried your csv and SNMP is working with latest. Obviously I haven't tested all 1000+ keywords
-
@baris thanks very much for this. I'll test it now
Edit - from what I can see, everything now works as expected. Thanks
-
Published 0.0.16
- New /glossary page to show a list of keywords
- Ability to change or remove the icon displayed next to the keyword
- Tooltips will work outside of topic pages ie on user profiles or recent cards plugin
-
@baris not seeing this in npm yet ?
-
@baris now that I know the trick...
-
Added i18n, feel free to send pull requests to add new languages. https://github.com/NodeBB/nodebb-plugin-glossary/commit/616ab500cd6ad906ace7eb7510f7f08789d3515d
-
-
If the same word is used multiple times in a post only the first one will be turned into a link if single match is turned on.
-
It is necessary to disable the use of keywords in URLs. Plugin must not affect URL
-
Hi @baris , would you consider adding a "notes" or "extra info" section at .com/glossary page?
It can look like this:
There can be various use cases of this section. I believe it is also usual for regular dictionaries to have a notes section for:
- origin or history of the word
- other forms of the word
- example sentences
etc.
-
additionally, is it possible to customize /glossary page just like the /feed page?
(header and footer sections would suffice)
-
@crazycells said in [nodebb-plugin-glossary] Glossary Plugin for NodeBB:
additionally, is it possible to customize /glossary page just like the /feed page?
You can do this with
nodebb plugin customize
- there isn't a widget etc from recollection.