Code Monkey home page Code Monkey logo

Comments (17)

MuiseDestiny avatar MuiseDestiny commented on July 26, 2024 1

知道原因了,你修改之前,记录是json,一旦修改就变成
image
html格式的了,插件无法正确读取解析数据,导致重新打开文献,笔记被重新创建。这是问题出现的原因,这一点我知道,我尽快处理。

from zotero-style.

MuiseDestiny avatar MuiseDestiny commented on July 26, 2024

改了之后重启会重新读取,另外你可以看看未分类目录下有几个ZoteroStyle条目,如果有重复可以选择删除一个。因为以前用title作为key记录文献,新版本用zotero内部的key,所以可能会出现你说的重复ZoteroStyle下的笔记。你可以试试新打开一个文献,然后阅读试试,生成的对应笔记应该是唯一的。

from zotero-style.

muxinxy avatar muxinxy commented on July 26, 2024

修改了笔记也会影响key吗,修改之后再打开相同文献就会生成重复笔记

from zotero-style.

MuiseDestiny avatar MuiseDestiny commented on July 26, 2024

修改笔记不回影响key,key是ZoteroStyle的key,下面的笔记也有自己的key
逻辑是:
搜索文献库有没有ZoteroStyle条目,
有 -> 根据key得到条目 -> 得到后记录条目的key,下次就不搜索了
-> 得不到条目(有可能被彻底删了),创建条目,并记录创建条目的key

无 -> 创建条目,记录key,下次直接读取

但是存在一个旧数据(本来不以笔记形式储存,无法同步)迁移到笔记中(用于以后的同步),而且还涉及到title->key的转换,这一些列我不能保证旧的阅读数据正确被读取(尽管我测试可以的,不排除存在其它bug),但新阅读的数据一定是无误的。

from zotero-style.

MuiseDestiny avatar MuiseDestiny commented on July 26, 2024

等我画个流程图

from zotero-style.

MuiseDestiny avatar MuiseDestiny commented on July 26, 2024

readme中更新,可以排查一些错误

from zotero-style.

muxinxy avatar muxinxy commented on July 26, 2024

刚开始是这样
image
image
把0页的阅读时间20修改为200
image
再次阅读该文献,就会变成这样
image
一个是修改后的200,一个是25(20+5)

from zotero-style.

MuiseDestiny avatar MuiseDestiny commented on July 26, 2024

修改成200后需要重启才会读取

from zotero-style.

muxinxy avatar muxinxy commented on July 26, 2024

重启之后没有读取,阅读相同文献还是会重新创建一条笔记
image
image

from zotero-style.

MuiseDestiny avatar MuiseDestiny commented on July 26, 2024

删除记录非200s的笔记,关闭Zotero,然后再打开,就会读取了。我没试过修改这个进度。

from zotero-style.

MuiseDestiny avatar MuiseDestiny commented on July 26, 2024

因为他从上到下读取,你设置的200s会被下面的数据覆盖(noteKey相同)

from zotero-style.

muxinxy avatar muxinxy commented on July 26, 2024

一共就一个笔记,删除了就是空的,重启zotero之后再次打开这篇文献还是从零开始
下面的数据是打开文献自动新建的
主要是想修改时间,使进度和chartero一致

from zotero-style.

MuiseDestiny avatar MuiseDestiny commented on July 26, 2024

新阅读的文章应该和chartero一致了的。但是我刚试了,确实可以修改的啊(修改完重启),我意思是删除重复中的其中一个。我看你截图是两个”DIC-XXX“

from zotero-style.

muxinxy avatar muxinxy commented on July 26, 2024

修改前
image
修改后
image
重启后,未打开文献
image
重启后,打开文献
image
image

from zotero-style.

MuiseDestiny avatar MuiseDestiny commented on July 26, 2024

哈哈哈哈哈很详细,等我研究研究

from zotero-style.

MuiseDestiny avatar MuiseDestiny commented on July 26, 2024

请更新解决这个问题,可能还会有重复的笔记,但不会归零了。现在也可以随意修改。

from zotero-style.

muxinxy avatar muxinxy commented on July 26, 2024

解决了,感谢!

from zotero-style.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.