Kanzi 0.6.17: include highlighted text in anonymised post
- plugin/manager.html: anonData now sends text: a.annotation?.text (the highlighted passage) alongside DOI/ISBN/norm_hash — so vis Recent can show text snippet and Common can group by publication + text - Fixes 0.6.16 recent where text was null (old POST without text)
This commit is contained in:
parent
e3e01c5ce7
commit
c96a4f393b
4 changed files with 12 additions and 2 deletions
|
|
@ -13,7 +13,7 @@ Import Kindle `My Clippings.txt` highlights into Zotero as native annotations, d
|
||||||
|
|
||||||
# Install
|
# Install
|
||||||
|
|
||||||
1. Download `kindle-zotero-importer.xpi` from [Releases](../../releases) (latest `0.6.16`, or `0.6.15-beta` for preview).
|
1. Download `kindle-zotero-importer.xpi` from [Releases](../../releases) (latest `0.6.17`, or `0.6.16-beta` for preview).
|
||||||
2. In Zotero: `Tools` → `Plugins` → `gear` → `Install Plugin From File…` → pick the `.xpi` → restart Zotero.
|
2. In Zotero: `Tools` → `Plugins` → `gear` → `Install Plugin From File…` → pick the `.xpi` → restart Zotero.
|
||||||
3. `Tools` → `Kanzi…` to open the manager.
|
3. `Tools` → `Kanzi…` to open the manager.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -260,6 +260,7 @@
|
||||||
clipping_id_hash: a.clipping_id ? a.clipping_id.slice(0,8) : null,
|
clipping_id_hash: a.clipping_id ? a.clipping_id.slice(0,8) : null,
|
||||||
norm_hash: a.norm_hash || null,
|
norm_hash: a.norm_hash || null,
|
||||||
fuzzy_hash: a.fuzzy_hash || null,
|
fuzzy_hash: a.fuzzy_hash || null,
|
||||||
|
text: a.annotation?.text || "",
|
||||||
color: a.annotation?.color,
|
color: a.annotation?.color,
|
||||||
has_comment: !!(a.annotation?.comment),
|
has_comment: !!(a.annotation?.comment),
|
||||||
comment: a.annotation?.comment || "",
|
comment: a.annotation?.comment || "",
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Kanzi",
|
"name": "Kanzi",
|
||||||
"version": "0.6.16",
|
"version": "0.6.17",
|
||||||
"description": "Kindle annotations to Zotero — My Clippings.txt → native annotations.",
|
"description": "Kindle annotations to Zotero — My Clippings.txt → native annotations.",
|
||||||
"homepage_url": "https://github.com/UtkuBilenDemir/kindle-zotero_importer",
|
"homepage_url": "https://github.com/UtkuBilenDemir/kindle-zotero_importer",
|
||||||
"author": "Utku Bilen Demir",
|
"author": "Utku Bilen Demir",
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,15 @@
|
||||||
"addons": {
|
"addons": {
|
||||||
"kindlezoteroimporter@utkubilen.de": {
|
"kindlezoteroimporter@utkubilen.de": {
|
||||||
"updates": [
|
"updates": [
|
||||||
|
{
|
||||||
|
"version": "0.6.17",
|
||||||
|
"update_link": "https://github.com/UtkuBilenDemir/kindle-zotero_importer/releases/download/v0.6.17/kindle-zotero-importer.xpi",
|
||||||
|
"applications": {
|
||||||
|
"zotero": {
|
||||||
|
"strict_min_version": "6.999"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"version": "0.6.16",
|
"version": "0.6.16",
|
||||||
"update_link": "https://github.com/UtkuBilenDemir/kindle-zotero_importer/releases/download/v0.6.16/kindle-zotero-importer.xpi",
|
"update_link": "https://github.com/UtkuBilenDemir/kindle-zotero_importer/releases/download/v0.6.16/kindle-zotero-importer.xpi",
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue