Skip to content
This repository has been archived by the owner on Jul 6, 2021. It is now read-only.

Modules

1u edited this page Sep 4, 2017 · 9 revisions

Here we explain the behaviour of some of the plugins or 3rd party packages used in Openki.

Introduction

"Show introduction" is shown always until closing, which gets stored in local storage (cookie)
It reopens when clicking on Openki-icon

Language selection

The default language is selected by user-agent
When user is logged in, and switches language, it is stored in user-seetings.

  • then language switches automatically if user logs in
  • emails can be sent in users' language.

Translations

For i18n we use the Package meteor-messageformat from Gadi Cohen.
Every logged-in user can contribute in any language

Editor

We use medium editor, escaped html

Comments

Can be done by everyone without logging-in. One can answer a comment. One can not Reply an Answer

GeoIp

Region is selected by origin of IP.
We use geolite npm-package (node-geoip)

File-Upload

we removed the package Depricated: files are stored in a mongo-collection (cfs:gridfs)

Updates

checks in db if applied already. if not collections get updated.

Search-engines

We let Search-engines find content on prerendered html pages: Search_engines