Kenshin / simpread

简悦 ( SimpRead ) - 让你瞬间进入沉浸式阅读的扩展
http://ksria.com/simpread
GNU General Public License v3.0
7.93k stars 530 forks source link

导入到 Workflowy #5540

Open Sammyhhhh opened 1 year ago

Sammyhhhh commented 1 year ago

请描述你的建议或任何内容

請問是否支持導出到workflowy?

补充说明

No response

Kenshin commented 11 months ago

https://github.com/Kenshin/simpread/issues/5540#issuecomment-1637063110

日期只有稍后读创建的时间,但没有太大意义。

本地快照可以有。

稍后读暂时没法使用插件系统。

你提到的模板只能部分实现,暂时没时间实施了等下个版本吧。

yoghurtdewdew commented 11 months ago

https://github.com/Kenshin/simpread/issues/5540#issuecomment-1637085388 收到,还是很想实现那些信息直接放到注释行里,创建时间什么的对我还蛮重要的可以知道是啥时候创建的,以及模板方面那就等等咯

稍后读没法用插件,那如果直接打开本地已离线的html文件(这样元素就不会变动影响标注导出;edge里设置扩展允许访问本地),进入阅读模式,再使用插件,将需要的内容复制出来,这种方式是否可行呢?

https://github.com/Kenshin/simpread/issues/5540#issuecomment-1637056771 自动去掉在中文前出现<span><span><span><span>并在中文后出现</span></span></span>的问题,也等后面完善咯

感恩作者的辛勤付出!!❤️

Kenshin commented 11 months ago

@yoghurtdewdew

为了方便搜索,所以我把无用信息删除了。

PS:谢谢评分,其实随便找一个就好了 😂

https://github.com/Kenshin/simpread/issues/5540#issuecomment-1637063110

这个问题我增加了下模板的一些占位符,你使用的模板

<outline text="{{title}} {{tags}}" _note="{{date}} | <a href="{{url}}">原文链接</a> | <a href="{{uri}}">本地快照</a>
">
  {{annotations}}
</outline>

会得到下面的结论

image

注意:日期也加了,是加入到稍后读的日期,但就这样吧,日期要是定制起来没完没了 😂 等这个插件发布后其他用户的需求多了,会考虑日期的定制化。

https://github.com/Kenshin/simpread/issues/5540#issuecomment-1637056771 自动去掉在中文前出现<span><span><span><span>并在中文后出现</span></span></span>的问题,也等后面完善咯

是 Workflowy 限制太多了 😂 还好只是手动删除一些内容而已,我测试了几十个网页,都没啥问题,所以就先这样吧。

yoghurtdewdew commented 11 months ago

https://github.com/Kenshin/simpread/issues/5540#issuecomment-1637550095

好哒 感恩! 日期我喜欢 YYYY-MM-DD HH:mm 以及这个注释行会高亮嘛 灰色小字就很棒不用高亮

测试的环境是英文页面然后使用使用immense translator嘛,如果不是的话倒是有可能测试不出😂

期待后面版本的发布!特别是我记得看到更新里稍后读里是有workflowy层级显示的,如果能够相结合起来,那就好极了,不然每次需要到原来的页面才能导出标注,原来的页面如果发生元素变动 那标注可能就丢了

Kenshin commented 11 months ago

以及这个注释行会高亮嘛 灰色小字就很棒不用高亮

没理解。

测试的环境是英文页面然后使用使用i

我不建议修改这里,因为简悦这边太被动了,我完全不知道其他扩展的规则,所以会「伤及无辜」,因此这里还是就这样吧。

这不是我们的问题,而是 Workflowy 太苛刻了,一点容错机制都没有...

Kenshin commented 11 months ago

期待后面版本的发布!特别是我记得看到更新里稍后读里是有workflowy层级显示的,如果能够相结合起来,那就好极了

会考虑的~

Kenshin commented 11 months ago

@yoghurtdewdew

要是能上 Telegram 的话,可以进群后私聊我。😄

在选项页 → 关于,里面就有 Telegram 链接。(未免 Spam 我不会在公开场合留 Telegram 链接。

yoghurtdewdew commented 11 months ago

Hi 我没有用过telegram🥺 我后面研究下这个咋用😊

我又随机测试了下CSDN的页面,发现好像会有点问题,所以来报告一下~

页面地址: https://blog.csdn.net/qq_45679541/article/details/106246714

image image

备注:问题发生可能是由于划线不是一小句而是一小段,所以如果这种情况能让一小段在显示到一个node的时候不乱成一堆代码就好了

剪贴板内的信息:

<?xml version="1.0"?><opml version="2.0"><body><outline text="IDEA 中如何使用 @Test_梓余的博客 - CSDN 博客 ">
    <outline text="Metadate">
        <outline text="🔗 https://blog.csdn.net/qq_45679541/article/details/106246714" ></outline>

    </outline>
    <outline text="Annotations">
        <outline level="h3" node="7c61cabf-b32c-4dae-87ef-76face47736b" text="目录"><outline text="&lt;span&gt;目录&lt;/span&gt; 
 &lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;a href=&quot;#IDEA_10&lt;/span&gt; target=&lt;/span&gt;_self&quot;&gt;新版本的 IDEA 便捷导入&lt;/a&gt;&lt;/span&gt;&lt;span&gt;&lt;a href=&quot;#Junit_28&lt;/span&gt; target=&lt;/span&gt;_self&quot;&gt;安装和配置 Junit&lt;/a&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;a href=&quot;#1__JUnitGenerator_V20_29&lt;/span&gt; target=&lt;/span&gt;_self&quot;&gt;1. 需要安装 JUnitGenerator V2.0 插件&lt;/a&gt;&lt;/span&gt;&lt;span&gt;&lt;a href=&quot;#2Test___jar__33&lt;/span&gt; target=&lt;/span&gt;_self&quot;&gt;2. 为需要使用 @Test 的模块导入所需的 两个 jar 包&lt;/a&gt;&lt;/span&gt;&lt;span&gt;&lt;a href=&quot;#3jarTest_42&lt;/span&gt; target=&lt;/span&gt;_self&quot;&gt;3. 在已经导入 jar 包的模块中创建 @Test 进行测试&lt;/a&gt;&lt;/span&gt;&lt;/span&gt; 
   &lt;/span&gt;&lt;span&gt;&lt;a href=&quot;#_48&lt;/span&gt; target=&lt;/span&gt;_self&quot;&gt;解决没有出现可以运行的图标&lt;/a&gt;&lt;/span&gt;&lt;span&gt;&lt;a href=&quot;#Junit__55&lt;/span&gt; target=&lt;/span&gt;_self&quot;&gt;解决 Junit 无法在控制台输入问题&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;"></outline><outline text="大家好,我是梓余,今天分享一下关于在 Intellij IDEA 使用 @Test 进行测试的设置。"></outline></outline><outline level="h2" node="499e8686-13ff-48aa-a228-51ae0a0acf5c" text="新版本的 IDEA 便捷导入"></outline><outline level="h2" node="3665a09c-16b0-40e6-bfe6-31369cfdacc5" text="安装和配置 Junit&amp;spm=1001.2101.3001.7020&lt;/span&gt; data-report-view=&lt;/span&gt;{&lt;/span&gt;spm&lt;/span&gt;:&lt;/span&gt;1001.2101.3001.7020&lt;/span&gt;,&lt;/span&gt;dest&lt;/span&gt;:&lt;/span&gt;https://so.csdn.net/so/search?q=Junit&amp;spm=1001.2101.3001.7020&lt;/span&gt;,&lt;/span&gt;extra&lt;/span&gt;:&lt;/span&gt;{\&lt;/span&gt;searchword\&lt;/span&gt;:\&lt;/span&gt;Junit\&lt;/span&gt;}&lt;/span&gt;}&lt;/span&gt; data-report-click=&lt;/span&gt;{&lt;/span&gt;spm&lt;/span&gt;:&lt;/span&gt;1001.2101.3001.7020&lt;/span&gt;,&lt;/span&gt;dest&lt;/span&gt;:&lt;/span&gt;https://so.csdn.net/so/search?q=Junit&amp;spm=1001.2101.3001.7020&lt;/span&gt;,&lt;/span&gt;extra&lt;/span&gt;:&lt;/span&gt;{\&lt;/span&gt;searchword\&lt;/span&gt;:\&lt;/span&gt;Junit\&lt;/span&gt;}&lt;/span&gt;}&lt;/span&gt; data-tit=&lt;/span&gt;Junit&lt;/span&gt; data-pretit=&lt;/span&gt;junit&quot;&gt;Junit"><outline level="h3" node="d6b7390c-2ac1-46bb-ab71-d23ba9e6ee81" text="1. 需要安装 JUnitGenerator V2.0 插件"></outline><outline level="h3" node="919b8626-37c0-4197-9647-dcd9b559bd54" text="2. 为需要使用 @Test 的模块导入所需的 两个 jar 包"></outline><outline level="h3" node="30052971-eb4d-4961-845c-d862794d9b96" text="3. 在已经导入 jar 包的模块中创建 @Test 进行测试"><outline text="https://img-blog.csdnimg.cn/20200520231740478.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQ1Njc5NTQx,size_16,color_FFFFFF,t_70#pic_center"></outline></outline></outline><outline level="h2" node="38013824-bcfd-4d2e-a79b-964d13231863" text="解决没有出现可以运行的图标"><outline text="https://img-blog.csdnimg.cn/20210430131401152.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzQ1Njc5NTQx,size_16,color_FFFFFF,t_70#pic_center"></outline></outline><outline level="h2" node="aeb8965b-5453-4e31-afaa-024107dbbe03" text="解决 Junit 无法在控制台输入问题"></outline>
    </outline>
</outline></body></opml>

再就是发现我这里显示的插件名称是测试插件,或许可以改下名字让其他用户也试试~

Kenshin commented 11 months ago

https://github.com/Kenshin/simpread/issues/5540#issuecomment-1658093614

再试试,我升级了新版本。

再就是发现我这里显示的插件名称是测试插件,或许可以改下名字让其他用户也试试~

因为我在休假,这个插件没有对外发布,所以是这个名字。

yoghurtdewdew commented 11 months ago

好哒!谢谢大佬!

我今天刚好看到这个 https://github.com/zackdn/readwise-workflowy-integration 里面提到了wf可以申请api,虽然我不太懂,但是或许对开发wf相关内容有帮助,所以分享下:

WF Consumer-Side API https://workflowy.com/s/B.dY94qOYbiG

Kenshin commented 11 months ago

okay 谢谢提示,我会研究下。

PS:CSDN 的问题解决了吧?

yoghurtdewdew commented 11 months ago

复制上次标注的内容到workflowy,显示的结果和上次的一样有各种符号,删除标注,好像要点好多次才能删除掉,然后遇到了很奇怪的问题,不知道咋么的右上角的菜单就没了,选中后没有标注的工具条出现,右下角启用标注点击后没有反应,刷新后再重新进入页面是无标注无右上角菜单的,打开稍后读稍后读想删掉重新试试,但是稍后读打开是空白页面,目前是这样的情况… 我隔段时间再看看

image
Kenshin commented 11 months ago

复制上次标注的内容到workflowy,显示的结果和上次的一样有各种符号

我这边没有复现,当然不排除这种情况,CSDN 这种页面本来就很「麻烦」

删除标注,好像要点好多次才能删除掉

可能是你重复标注了。

然后遇到了很奇怪的问题,不知道咋么的右上角的菜单就没了 打开稍后读稍后读想删掉重新试试,但是稍后读打开是空白页面

你的稍后读损坏了,我记得你用了同步助手?如果是的话,使用 https://github.com/Kenshin/simpread/discussions/5750 修复。

Aiviokoo commented 11 months ago

我也想,但我研究了下,没有 API 啊! 😂

如果你有可以导入到 Workflowy 的工具可以告诉我。 @Kenshin 非常抱歉我上次回复的时候没有看完所有内容,以至于没有看清内部插件已经发布了,再次说明,我并不是为了给竟品推广或什么而在上次贴了链接,只是想提供一个也许可供参考的方案。 最后想问问磊哥,这个插件什么时候会正式上线呢,我偶尔还是会使用workflowy,谢谢!

yoghurtdewdew commented 11 months ago

你的稍后读损坏了,我记得你用了同步助手?如果是的话,使用 https://github.com/Kenshin/simpread/discussions/5750 修复。

@Kenshin 感谢提示!稍后读已修复


CSDN 的问题解决了吧?

目前是这样的,我比较希望的样式,是鼠标从选中到释放的一次的过程中所标注的文字在同一个段落,比如下图这样,对于中文目前应该出现乱码的几率不大,但层级结构不知道好不好分开,对于翻译过的界面,一直都有很多span字符 https://github.com/Kenshin/simpread/issues/5540#issuecomment-1637056771 ,且发现从一段落变成了俩段落,还是比较希望能够在同一个段落——对于鼠标从选中到释放的一次的过程中所标注的文字。

image

对于含翻译的内容,剪贴板内是这样的:

<?xml version="1.0"?><opml version="2.0"><body><outline text="Degradation of sulfamethazine by persulfate activated with nanosized zero-valent copper in combination with ultrasonic irradiation 用纳米零价铜结合超声波照射活化过硫酸盐降解磺胺二甲嘧啶 ">
    <outline text="Metadate">
        <outline text="🔗 https://www.sciencedirect.com/science/article/pii/S1383586619347112?ref=pdf_download&amp;fr=RR-2&amp;rr=7cd66fbc29a96e40#s0035" ></outline>

    </outline>
    <outline text="Annotations">
        <outline level="h2" node="eda09860-9a25-40d6-97a3-766cab2feac6" text=" Highlights 突出"></outline><outline level="h2" node="dcfe0494-657b-409a-bc52-b47f8a0288cf" text="Abstract 抽象"><outline text="Compared with other processes, the combined nZVC-PS-US process significantly enhanced SMZ removal due to a synergistic interaction between sonolysis and a heterogeneous reaction. "></outline><outline text="&lt;span&gt;&lt;span&gt;&lt;span&gt;与其他工艺相比,由于溶和异相反应之间的协同相互作用,联合 nZVC-PS-US 工艺显著提高了 SMZ 去除。&lt;/span&gt;&lt;/span&gt;"></outline></outline><outline level="h2" node="1c204110-650f-48a9-b57b-a6d15c49c102" text="Graphical abstract 图形摘要"></outline><outline level="h2" node="2d1956ee-ea66-418f-8c22-3eb0b49f1d58" text="1. Introduction 1. 简介"></outline><outline level="h2" node="18fe2b7a-5b9c-4e84-ae27-0843b768bef9" text="2. Materials and methods 2. 材料和方法"><outline level="h3" node="1188a1d7-c8b9-49e3-92fd-41240c9be669" text="2.1. Chemicals 2.1. 化学品"></outline><outline level="h3" node="7f2e1e39-9b85-44c7-b710-c5fd07fd9e98" text="2.2. Experimental procedure2.2. 实验程序"><outline text="Ultrasound reactors with an operating frequency of 20, 40, 60, 80 and 100 kHz and a power output of 0–200 W were specially designed by the Kunshan Shumei ultrasonic Instrument Co., LTD (Jiangsu, China). The power and frequency settings could be precisely controlled. "></outline><outline text="&lt;span&gt;&lt;span&gt;&lt;span&gt;工作频率为 20、40、60、80 和 100 kHz、功率输出为 0-200 W 的超声反应器由昆山舒美超声仪器有限公司(中国江苏)专门设计。可以精确控制功率和频率设置。&lt;/span&gt;&lt;/span&gt;"></outline></outline><outline level="h3" node="db385b2f-dc91-4487-9be3-0bac76d1af1e" text="2.3. Analytical methods 2.3. 分析方法"></outline><outline level="h3" node="f5d98da2-a563-4a2b-b57b-b442db73a01a" text="2.4. Characterization 2.4. 表征"></outline></outline><outline level="h2" node="dc0fb9fd-90e2-4ee9-bb8d-f88fc741c73a" text="3. Results and discussion3. 结果和讨论"><outline level="h3" node="04a299e3-e650-4dd6-9db7-32a0c6b89ebb" text="3.1. SMZ removal under different processes3.1. 不同流程下的 SMZ 移除"></outline><outline level="h3" node="6bf9fac5-aebc-454b-9cb2-c6b82150f0df" text="3.2. Optimization of influence factors on SMZ removal efficiency3.2. 影响因素对 SMZ 去除效率的优化"><outline level="h4" node="3e46b031-0f0c-4a29-8584-9c2224776a2f" text="3.2.1. Effects of ultrasound intensity3.2.1. 超声波强度的影响"></outline><outline level="h4" node="6c451c8c-d9b9-47ff-94d0-cd521dc89e07" text="3.2.2. Effects of US frequency3.2.2. 美国频率的影响"></outline><outline level="h4" node="a2bf041c-feaf-402c-99a4-48c8daff552e" text="3.2.3. Effect of nZVC dosage3.2.3. nZVC 剂量的影响"></outline><outline level="h4" node="cdd140c0-1ca4-4f02-827e-0c884eab3ab2" text="3.2.4. Effect of SMZ initial concentration3.2.4. SMZ 初始浓度的影响"></outline><outline level="h4" node="69f63ecf-5342-45ab-9543-075aa476d755" text="3.2.5. Effect of PS concentration3.2.5. PS 浓度的影响"></outline><outline level="h4" node="701ecae2-af86-4586-8e52-5024bed82879" text="3.2.6. Effect of initial pH and study of predominant species3.2.6. 初始 pH 值的影响和主要物种的研究"></outline><outline level="h4" node="195d32ea-7943-4b44-8c21-b33c579dcf53" text="3.2.7. Effect of inorganic anions and HA3.2.7. 无机阴离子和 HA 的影响"></outline></outline><outline level="h3" node="8c739dab-ecec-4dcd-9147-1dd5d52f992b" text="3.3. Determination of radicals present in the nZVC-PS-US process3.3. 测定 NZVC-PS-US 过程中存在的自由基"></outline><outline level="h3" node="36aac504-f859-4de2-ba04-127070cfbe1e" text="3.4. Effective copper species to activate PS3.4. 激活 PS 的有效铜种类"></outline><outline level="h3" node="fc75b10f-0de7-41cf-889b-ea0c36369d87" text="3.5. Characterization of the fresh and used nZVC particles in different processes3.5. 不同工艺中新鲜和用过的 nZVC 颗粒的表征"></outline><outline level="h3" node="1ecd2300-45f3-4cf9-9527-bc74478eb86f" text="3.6. Degradation mechanisms and transformation pathways3.6. 降解机制和转化途径"><outline level="h4" node="9e13620e-8405-4c14-a864-7ae71d1d2c14" text="3.6.1. Degradation mechanisms3.6.1. 退化机制"></outline><outline level="h4" node="72e63fd7-1aab-4377-aeb4-efd70037726d" text="3.6.2. Possible degradation pathways3.6.2. 可能的降解途径"></outline></outline><outline level="h3" node="67fd80d7-a2b6-4f72-94e8-84ba6ca1a72a" text="3.7. Removal efficiency of other organic micro-pollutants3.7. 其他有机微污染物的去除效率"></outline></outline><outline level="h2" node="c75c254e-c3f9-4d85-9746-27aa363797a7" text="4. Conclusions 4. 结论

                         "><outline text="In conclusion, this nZVC-PS-US process presents a promising alternative for the treatment of wastewater containing organic micro-pollutants. However, further investigations on the possible toxicity of copper, as well as the effects of copper ions on the co-existing substances need to be carried out."></outline><outline text="&lt;span&gt;&lt;span&gt;&lt;span&gt; 总之,这种 nZVC-PS-US 工艺为处理含有有机微污染物的废水提供了一种有希望的替代方案。然而,需要进一步研究铜的可能毒性,以及铜离子对共存物质的影响。&lt;/span&gt;&lt;/span&gt;"></outline></outline><outline level="h2" node="14c006fa-32d5-4cd8-9e37-2dacb4d7986d" text="Declaration of Competing Interest 竞合利益声明"></outline><outline level="h2" node="e5dcf233-f206-4050-abcd-413674673368" text="Acknowledgements 确认"></outline><outline level="h2" node="c5ec5f47-a110-4ef2-8861-926236391853" text="Appendix A. Supplementary material 附录 A. 补充材料"></outline>
    </outline>
</outline></body></opml>

这个问题我增加了下模板的一些占位符,你使用的模板 会得到下面的结论 注意:日期也加了……

以及 关于 https://github.com/Kenshin/simpread/issues/5540#issuecomment-1637550095 中提到的metadata显示为注释的模板,不知道目前是否可用?我比较喜欢使用灰色注释小字来放内容,比如下图这样:

image
<?xml version="1.0"?>
<opml version="2.0">
  <head>
    <ownerEmail>
      yoghurtdewdew@foxmail.com
    </ownerEmail>
  </head>
  <body>
    <outline text="网页标题" _note="created: YYYY-MM-DD | added: YYYY-MM-DD | &lt;a href=&quot;http://链接假设这里有个&quot;&gt;http原文链接&lt;/a&gt; | &lt;a href=&quot;http://链接假设这里有个&quot;&gt;http简悦稍后读链接&lt;/a&gt; | &lt;a href=&quot;http://xn--ciq54c784aigdow4dgff2vd3si/&quot;&gt;本地离线文件的链接&lt;/a&gt;&#10;">
      <outline text="原文&lt;span class=&quot;colored bc-yellow&quot;&gt;高亮标注简悦颜色对应1&lt;/span&gt;原文原文原文原文原文原文" />
      <outline text="原文&lt;span class=&quot;colored bc-pink&quot;&gt;高亮标注简悦颜色对应2&lt;/span&gt;原文原文原文">
        <outline text="原文原文原文" />
      </outline>
      <outline text="原文&lt;span class=&quot;colored bc-teal&quot;&gt;高亮标注简悦颜色对应3&lt;/span&gt;原文">
        <outline text="原文原文原文" />
        <outline text="原文&lt;span class=&quot;colored bc-green&quot;&gt;高亮标注简悦颜色对应4&lt;/span&gt;原文原文" />
      </outline>
      <outline text="原文原文原文原文" />
      <outline text="原文原文原文原文" />
    </outline>
  </body>
</opml>
Kenshin commented 10 months ago

@yoghurtdewdew

我又升级了这个插件,再试试。

主要修复了你提到的 https://github.com/Kenshin/simpread/issues/5540#issuecomment-1669455078

  1. <span> 问题
  2. 某些标注会换行的问题

两个问题,但我没有你的标注结构,所以不确定是否 100% 解决。

@Aiviokoo

https://github.com/Kenshin/simpread/issues/5540#issuecomment-1666525876

漏掉了这个 Issues 你其实可以直接使用这个插件,测试版也能用,因为我一直在使用。毕竟像 @yoghurtdewdew 这么复杂的使用场景毕竟不多见。

yoghurtdewdew commented 10 months ago

@Kenshin 感谢!我刚试用了下 发现划选多行文字的时候好像还是会有点问题,比如 https://sspai.com/post/47285

image image
<?xml version="1.0"?><opml version="2.0"><body><outline text="如何使用 Drafts 批量向 Todoist 发送任务 ">
    <outline text="Metadate">
        <outline text="🔗 https://sspai.com/post/47285" ></outline>
        <outline text="📖 批量添加任务,是每个人在任务管理进行到一定地步时绕不过的需求,也是对任务管理工具功能方面的考验之一。" />

    </outline>
    <outline text="Annotations">
        <outline text="Drafts"></outline><outline text="Drafts 是 iOS 上最有特色的笔记工具之一。它的主要特点是:启动速度快、打开即用;支持自动化、自定义程度极高。因此它既做到了满足笔记工具的最基本需求,也能够满足不同人的不同使用习惯。最基本的功能没有学习门槛,高级功能则需要对 iOS 的自动化有一定概念和认识。"></outline><outline level="h2" node="63ae7bcf-215d-4fe9-bfcd-f8e2d5b37ea4" text="第一步:按照 Todoist 的语法记录任务"><outline text="Todoist 中的时间日期语法非常自由,支持开始截止时间以及复杂的重复,在这里由简单到复杂地举几个例子:"><outline text="&lt;b&gt;今天打扫卫生&lt;/b&gt;:&lt;span&gt;打扫卫生 tod&lt;/span&gt;&lt;span&gt;
这里的 &lt;span&gt;tod&lt;/span&gt; 是 Todoist 中「Today」的缩写。"></outline><outline text="&lt;b&gt;今天下午 9 点打扫卫生&lt;/b&gt;:&lt;span&gt;打扫卫生 tod 21:0&lt;/span&gt;&lt;span&gt;
这里的 &lt;span&gt;21:0&lt;/span&gt; 是「下午 9 点」的表示方式。"></outline><outline text="&lt;b&gt;每周五打扫卫生&lt;/b&gt;:&lt;span&gt;打扫卫生 ev fri&lt;/span&gt;&lt;span&gt;
这里的 &lt;span&gt;ev&lt;/span&gt; 是 「Every」 的缩写,&lt;span&gt;fri&lt;/span&gt; 是 「Friday」 的缩写。&lt;span&gt;ev fri&lt;/span&gt; 合起来就是「每周五」的意思了。"></outline><outline text="&lt;b&gt;每 3 天敷面膜&lt;/b&gt;:&lt;span&gt;敷面膜 ev 3 days&lt;/span&gt;&lt;span&gt;
&lt;span&gt;3 days&lt;/span&gt; 如字面意思,是「3 天」的意思。"></outline><outline text="&lt;b&gt;每个月最后一天对账&lt;/b&gt;:&lt;span&gt;对账 ev end of month&lt;/span&gt;&lt;span&gt;
&lt;span&gt;end of month&lt;/span&gt; 如字面意思,是「月末」的意思。"></outline></outline></outline><outline level="h2" node="715ec927-3462-4f46-8407-5b64575d6504" text="第二步:发送任务到 Todoist"></outline><outline level="h2" node="ec4532d1-91cd-452f-8a00-754166b45676" text="小结"></outline>
    </outline>
</outline></body></opml>

另外,由于网页元素变化可能导致混乱,我将稍后度中的某个页面( https://www.sciencedirect.com/science/article/pii/S0926337323007397 )删除后重新进行测试了下,可以看到目录层级处理的很好,但是对于多行/多段文字仍然会有些问题,比如每个红色框代表一个标注,34是单独的一个句子所以无问题, 其他的是一起划的内容就会出现一点点<span>,以及刷新页面后会看到有奇怪的元素出现,多行文字中英文的部分可能会消失掉,如果能够在稍后读 (离线文件) 里使用,我觉得会好一些?不过目前是没法再稍后读里使用插件的

image image image image
<?xml version="1.0"?><opml version="2.0"><body><outline text="High-entropy spinel oxide (Fe0.2Mg0.2Mn0.1Al0.3Cr0.2)3O4 as a highly active and stable redox material for methane driven solar thermochemical water splitting 高熵尖晶石氧化物(Fe 0.2 Mg 0.2 Mn 0.1 Al 0.3 Cr 0.2 ) 3 O 4 作为甲烷驱动太阳能热化学水分解的高活性和稳定的氧化还原材料 ">
    <outline text="Metadate">
        <outline text="🔗 https://www.sciencedirect.com/science/article/pii/S0926337323007397" ></outline>

    </outline>
    <outline text="Annotations">
        <outline level="h2" node="3fdb2e90-d57c-4c60-8855-073191a67b51" text=" Highlights 突出"><outline text="&lt;span&gt;•&lt;/span&gt;&lt;span&gt;&lt;span&gt;High-entropy spinel oxide exhibited excellent activity in STWS.&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt; 高熵尖晶石氧化物在 STWS 中表现出优异的活性。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;"></outline><outline text="&lt;span&gt;•&lt;/span&gt;&lt;span&gt;&lt;span&gt;The entropy effect stabilized the host structure at large amount of oxygen converted.&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt; 熵效应稳定了大量氧转化下的主体结构。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;"></outline><outline text="&lt;span&gt;•&lt;/span&gt;&lt;span&gt;&lt;span&gt;The entropy effect promoted the stabilization and dissolution of massive Fe&lt;span&gt;0&lt;/span&gt;.&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt; 熵效应促进了块状 Fe 的稳定和溶解 &lt;span&gt;0&lt;/span&gt; 。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;"></outline><outline text="&lt;span&gt;•&lt;/span&gt;&lt;span&gt;&lt;span&gt;Metal-oxygen vacancy pairs at interfaces accounted for the superior performance.&lt;span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt; 界面处的金属 - 氧空位对具有优异的性能。&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;"></outline></outline><outline level="h2" node="88c365e3-0fda-49b1-93c8-0f0859025a22" text="Abstract 抽象"></outline><outline level="h2" node="c4e3a9df-788e-49ac-99a8-f530c70e13c7" text="Graphical Abstract 图形摘要"></outline><outline level="h2" node="9be9b119-9135-423d-a1db-3b3b7c7aa326" text="1. Introduction 1. 简介"><outline text="However, the large temperature swing between the two steps decreases the thermodynamic efficiency and poses serious challenges on the design of reactor and structure of materials [11]. In the last 10 years, thermochemical cycles have moved towards to lower temperatures of ∼1100 "></outline><outline text="o"></outline><outline text="C [12], [13]. Alternatively, introducing reducing agents such as methane can significantly reduce the reduction temperature (≤900 "></outline><outline text="o"></outline><outline text="C) and oxygen partial pressure to achieve isothermal thermochemical water splitting (methane driven reduction, MDR-STWS), thereby enhancing lattice oxygen extraction from metal oxides and the productivity of hydrogen [9], [14], [15], [16]."></outline><outline text="&lt;span&gt;&lt;span&gt;&lt;span&gt; 然而,两个步骤之间的大温度摆动降低了热力学效率,并对反应器设计和材料结构提出了严峻的挑战 [11]。在过去的 10 年中,热化学循环已趋向于∼1100 &lt;span&gt;o&lt;/span&gt; °C 的较低温度 [12],[13]。或者,引入甲烷等还原剂可以显着降低还原温度(≤900° &lt;span&gt;o&lt;/span&gt; C)和氧分压,以实现等温热化学水分解(甲烷驱动还原,MDR-STWS),从而增强从金属氧化物中提取晶格氧和氢气的生产率 [9],[14],[15],[16]。&lt;/span&gt;&lt;/span&gt;"></outline></outline><outline level="h2" node="3c72ad3f-741c-4ab5-bd68-e6003656300e" text="2. Experiment 2. 实验"><outline level="h3" node="32990097-a11c-44ed-8d9e-96aacac5f3fe" text="2.1. Redox materials synthesis2.1. 氧化还原材料合成"></outline><outline level="h3" node="3f11553b-f702-4aec-b2bb-1210a6a93882" text="2.2. Redox materials characterization2.2. 氧化还原材料表征"><outline text="The data of fresh and cycled (10 cycles) samples was collected under air at room temperature while the reduced samples were performed under the vacuum condition. "></outline><outline text="&lt;span&gt;In-situ&lt;/span&gt; diffuse reflectance infrared Fourier transform spectroscopy (in-situ DRIFTs) was performed on a Bruker EQUINOX 70 equipped with an in-situ cell."></outline></outline><outline level="h3" node="e8155ffe-6fa4-4c54-b10a-c4551808da2e" text="2.3. Reactivity evaluation2.3. 反应性评估"></outline><outline level="h3" node="9f408036-c11b-4aa3-9cd4-0079f03a1863" text="2.4. DFT calculations 2.4. DFT 计算"><outline text="Vienna ab initio simulation package (VASP) code [39] was employed to explore the first-principle calculations, which was based on the density functional theory (DFT). "></outline><outline text="&lt;span&gt;&lt;span&gt;&lt;span&gt;采用维也纳从头模拟包(VASP)代码 [39] 来探索基于密度泛函理论(DFT)的第一性原理计算。&lt;/span&gt;&lt;/span&gt;"></outline></outline></outline><outline level="h2" node="a67b78e6-3893-4146-8a64-d885b00b9ba5" text="3. Results and discussions3. 结果和讨论"><outline level="h3" node="fb1cfa05-b011-4542-9b42-121eb713e754" text="3.1. The formation of high-entropy spinel oxide3.1. 高熵尖晶石氧化物的形成"><outline text="It was worthwhile to note that the ratio of Fe in the A sites/A decreased progressively with the increase in the number of doped metals and the value dropped to about 32.2 % for HEO sample which was close to the theoretical value of complete mixing of 25 % (Fig. 4b and Table S1), indicating that HEO should be formed. To be summarized, we successfully designed and prepared a HEO with exclusively spinel structure."></outline><outline text="&lt;span&gt;&lt;span&gt;&lt;span&gt; 值得注意的是,随着掺杂金属数量的增加,A 位 / A 中的 Fe 比例逐渐降低,HEO 样品的 Fe 含量降至约 32.2%,接近完全混合的理论值 25%(图 4b 和表 S1),表明应形成 HEO。总而言之,我们成功地设计并制备了一种具有尖晶石结构的 HEO。&lt;/span&gt;&lt;/span&gt;"></outline></outline><outline level="h3" node="510bdf8b-58d1-42fc-b71f-26233846931c" text="3.2. Redox performance and stability3.2. 氧化还原性能和稳定性"></outline><outline level="h3" node="eff98786-ff89-4e0e-825d-267e81d1d602" text="3.3. Redox materials characterization3.3. 氧化还原材料表征"><outline level="h4" node="19216de6-ce6b-463b-bbb9-db6404605cae" text="3.3.1. Reduced samples 3.3.1. 减少样本"></outline><outline level="h4" node="89704972-357d-428d-b249-ca819406ff72" text="3.3.2. Cycled samples 3.3.2. 循环样本"></outline><outline level="h4" node="b9f451b4-62d9-49e1-8cf5-a28bd6604688" text="3.3.3. Fe0/HEO interfaces with metal-oxygen vacancy pairs for H2O activation3.3.3. 铁 0 /HEO 与金属 - 氧空位对的界面用于 H 2 O 活化"></outline></outline></outline><outline level="h2" node="1ce03ccf-9dcf-4356-994c-e614c7c69848" text="4. Conclusions 4. 结论"></outline><outline level="h2" node="cd279ec5-5d33-48a5-b63c-6c16c1c1b719" text="CRediT authorship contribution statementCRediT 作者贡献声明"></outline><outline level="h2" node="4a211251-3e0a-475f-b76a-7678706f74ff" text="Declaration of Competing Interest 竞合利益声明"></outline><outline level="h2" node="ef7d25c4-624d-4a49-86e2-bcda5d4452f9" text="Acknowledgements 确认"></outline><outline level="h2" node="557c2241-15b8-48f3-b778-1c4db2cb865d" text="Appendix A. Supplementary material 附录 A. 补充材料"></outline>
    </outline>
</outline></body></opml>
Kenshin commented 10 months ago

https://github.com/Kenshin/simpread/issues/5540#issuecomment-1680241285

关于提到的两个问题,请升级 https://simpread.ksria.cn/plugins/details/5rAnvS0kR6 版本。

第一个问题

算是非完美解决,因为 https://sspai.com/post/47285 文章很老了,它的页面结构也有些老,它的换行使用了 <br> 形式,不太好判断,只能部分解决,但 <span> 的问题算是解决了。

注意: 因为更换了一些算法,所以 <span> 解决了,但不确定是否会影响之前的转换,所以:你方便的话,可以找到之前的一些比较复杂结构的页面,再测试下。

第二个问题

这个问题也解决了,本质上跟 Workflowy 是完全不同的「问题」,所以使用了另外的插件来解决。

当然解决的「前提」:需要使用同步助手,并配置了知识库方案。

Kenshin commented 10 months ago

@yoghurtdewdew

我经过这段时间的测试,新版本应该没问题,所以,你用的怎么样了?

Kenshin commented 10 months ago

@yoghurtdewdew

还有个需求,如果某个标题(目录)下没有标注,是否在导入到 Workflowy 后不加入它们?

yoghurtdewdew commented 10 months ago

抱歉回复晚了!

我把稍后读里的删除重新试了下:

(一) 对于英文内容,中英文一起划选时,会在中文部分出现<span>问题

image
<?xml version="1.0"?><opml version="2.0"><body><outline text="High-entropy spinel oxide (Fe0.2Mg0.2Mn0.1Al0.3Cr0.2)3O4 as a highly active and stable redox material for methane driven solar thermochemical water splitting 高熵尖晶石氧化物(Fe 0.2 Mg 0.2 Mn 0.1 Al 0.3 Cr 0.2 ) 3 O 4 作为甲烷驱动太阳能热化学水分解的高活性和稳定的氧化还原材料 ">
    <outline text="Metadate">
        <outline text="🔗 https://www.sciencedirect.com/science/article/pii/S0926337323007397" ></outline>

    </outline>
    <outline text="Annotations">
        <outline level="h2" node="374ae053-26a9-46b4-8d4d-16beae07c0a8" text=" Highlights 突出"></outline><outline level="h2" node="b3c28037-77ea-42fa-92ba-7f381de014c2" text="Abstract 抽象"></outline><outline level="h2" node="c9740287-3872-4557-97a6-03219f1c78d5" text="Graphical Abstract 图形摘要"></outline><outline level="h2" node="8f4bf491-954f-4fc5-977b-6f5394079c4a" text="1. Introduction 1. 简介"><outline text="The amount of oxygen converted has to be delicately controlled since excessive reduction will lead to the collapse of host matrix causing the agglomeration of nanoparticles and phase segregation thus the deactivation of performance during redox cycles [25], [27]. This also induces insufficient active sites (metal or oxygen vacancy) in the surface or interface for H"></outline><outline text="2"></outline><outline text="O activation so that hydrogen production rate remains unsatisfactory [28], [29]."></outline><outline text="&lt;span&gt;&lt;span&gt;&lt;span&gt; 必须精细控制转化的氧气量,因为过度还原会导致主体基质崩溃,导致纳米颗粒团聚和相分离,从而在氧化还原循环期间性能失活 [25],[27]。这也会导致表面或界面中用于 H &lt;span&gt;2&lt;/span&gt; O 活化的活性位点(金属或氧空位)不足,因此产氢率仍然不令人满意 [28],[29]。&lt;/span&gt;&lt;/span&gt;"></outline><outline text="The excellent talent of high-entropy oxides for redox reactions may provide an alternative for the design of artificial redox materials for efficient hydrogen generation."></outline><outline text="&lt;span&gt;&lt;span&gt;&lt;span&gt; 高熵氧化物在氧化还原反应中的优异天赋可为高效制氢的人工氧化还原材料设计提供替代方案。&lt;/span&gt;&lt;/span&gt;"></outline></outline><outline level="h2" node="eafdd24b-9a26-4a77-80b5-d394e99e22b1" text="2. Experiment 2. 实验"><outline level="h3" node="88e63399-8d3c-4cd7-a54b-20ba050ce441" text="2.1. Redox materials synthesis2.1. 氧化还原材料合成"></outline><outline level="h3" node="5a5fa5f7-f03e-4313-b3a2-fc73de41b467" text="2.2. Redox materials characterization2.2. 氧化还原材料表征"><outline text="XPSPEAK software using Shirley background and Gaussian-Lorentzian functions was implemented to fit the peaks."></outline><outline text="&lt;span&gt;&lt;span&gt;&lt;span&gt; 使用雪莉背景和高斯 - 洛伦兹函数的 XPSPEAK 软件被实现以拟合峰值。&lt;/span&gt;&lt;/span&gt;"></outline></outline><outline level="h3" node="595478af-c43b-4b38-bee8-719a37705d8a" text="2.3. Reactivity evaluation2.3. 反应性评估"></outline><outline level="h3" node="9e37dad2-b86b-493e-9212-f4c5f2d005a0" text="2.4. DFT calculations 2.4. DFT 计算"><outline text="Vienna ab initio simulation package (VASP) code [39] was employed to explore the first-principle calculations, which was based on the density functional theory (DFT). "></outline><outline text="&lt;span&gt;&lt;span&gt;&lt;span&gt;采用维也纳从头模拟包(VASP)代码 [39] 来探索基于密度泛函理论(DFT)的第一性原理计算。&lt;/span&gt;&lt;/span&gt;"></outline></outline></outline><outline level="h2" node="fe285e10-5ac5-4dfa-9f93-6e50eafafbad" text="3. Results and discussions3. 结果和讨论"><outline level="h3" node="e446bd75-9c84-44fe-a7bc-a493051bb2c7" text="3.1. The formation of high-entropy spinel oxide3.1. 高熵尖晶石氧化物的形成"></outline><outline level="h3" node="9e10aa85-5579-4bfe-aff7-b295ab499f91" text="3.2. Redox performance and stability3.2. 氧化还原性能和稳定性"></outline><outline level="h3" node="bb116f94-3388-4eb3-bbbd-c7937af4437f" text="3.3. Redox materials characterization3.3. 氧化还原材料表征"><outline level="h4" node="02b6d79e-eac9-4306-b830-601c02f40fcb" text="3.3.1. Reduced samples 3.3.1. 减少样本"></outline><outline level="h4" node="972720fc-14f9-482a-a197-602a684cddc4" text="3.3.2. Cycled samples 3.3.2. 循环样本"></outline><outline level="h4" node="ad3b57e2-b539-44cc-95da-b5c91e509adc" text="3.3.3. Fe0/HEO interfaces with metal-oxygen vacancy pairs for H2O activation3.3.3. 铁 0 /HEO 与金属 - 氧空位对的界面用于 H 2 O 活化"></outline></outline></outline><outline level="h2" node="2d7fa2bf-c074-4695-a670-2e8649c5d517" text="4. Conclusions 4. 结论"></outline><outline level="h2" node="ea799795-b46f-4b65-843e-2e9163489ab6" text="CRediT authorship contribution statementCRediT 作者贡献声明"></outline><outline level="h2" node="16230f45-08f8-4dc7-a252-0aeac8910861" text="Declaration of Competing Interest 竞合利益声明"></outline><outline level="h2" node="d08bd5e2-837e-4e4d-986a-72716bb8834e" text="Acknowledgements 确认"></outline><outline level="h2" node="753a52d6-c08c-405c-9863-81b419a8d295" text="Appendix A. Supplementary material 附录 A. 补充材料"></outline>
    </outline>
</outline></body></opml>

(二) 对于中文内容,删除稍后读后,发现原始页面的标注还在 https://github.com/Kenshin/simpread/issues/5882 继续标注后没粘贴出来标注内容,删除标注后重新标注仍然未粘贴出来标注内容

image

原始页面的标注还在 继续标注后 粘贴

<?xml version="1.0"?><opml version="2.0"><body><outline text="如何使用 Drafts 批量向 Todoist 发送任务 ">
    <outline text="Metadate">
        <outline text="🔗 https://sspai.com/post/47285" ></outline>
        <outline text="📖 批量添加任务,是每个人在任务管理进行到一定地步时绕不过的需求,也是对任务管理工具功能方面的考验之一。" />

    </outline>
    <outline text="Annotations">
        <outline level="h2" node="8b2a823e-72ef-4076-939a-33649064e52b" text="第一步:按照 Todoist 的语法记录任务"></outline><outline level="h2" node="3a4b0331-45f0-44da-9edf-5d833881652c" text="第二步:发送任务到 Todoist"></outline><outline level="h2" node="e2623a9c-a0aa-4981-8921-32281ff9a307" text="小结"></outline>
    </outline>
</outline></body></opml>

删除标注后重新标注 粘贴

<?xml version="1.0"?><opml version="2.0"><body><outline text="如何使用 Drafts 批量向 Todoist 发送任务 ">
    <outline text="Metadate">
        <outline text="🔗 https://sspai.com/post/47285" ></outline>
        <outline text="📖 批量添加任务,是每个人在任务管理进行到一定地步时绕不过的需求,也是对任务管理工具功能方面的考验之一。" />

    </outline>
    <outline text="Annotations">
        <outline level="h2" node="32b1d6ec-d9ad-4907-b39b-4ac83f736ef7" text="第一步:按照 Todoist 的语法记录任务"></outline><outline level="h2" node="43bdedda-846d-439d-a418-b5e02ce5c56e" text="第二步:发送任务到 Todoist"></outline><outline level="h2" node="a33df8f1-8d07-446c-a316-13ff3e3c7bcc" text="小结"></outline>
    </outline>
</outline></body></opml>

(三) https://github.com/Kenshin/simpread/issues/5540#issuecomment-1694968380 这个!我发现没有标注标题会自动加入父级,很方便!对于无内容的标题加不加的问题,感觉这个也可以做到配置选项?其实标题就是一个文章的大纲,还是很有价值的,如果不需要 手动删掉其实并不费劲,如果需要 页面里手动加 也还行 点一下自动就获取了。

(四) 还是更希望标题下直接就是目录大纲,其他信息显示到注释行,其实相当于obsidian的yaml在阅读模式下隐藏掉显得页面更整洁,不然还要多折叠一次 https://github.com/Kenshin/simpread/issues/5540#issuecomment-1669455078

image

image

Kenshin commented 10 months ago

对于无内容的标题加不加的问题,感觉这个也可以做到配置选项?

是的,原本就是做成配置项的。

还是更希望标题下直接就是目录大纲

我没太理解,我之前应该给过你这个模板了

<outline text="{{title}} {{tags}}" _note="{{date}} | &lt;a href=&quot;{{url}}&quot;&gt;原文链接&lt;/a&gt; | &lt;a href=&quot;{{uri}}&quot;&gt;本地快照&lt;/a&gt;&#10;">
  {{annotations}}
</outline>

效果就是下图

image

只是时间不能定制。(时间定制比较麻烦,而且规则太多,所以还不如不定制...


PS:至于 前两个问题 看下面的 回复

Kenshin commented 10 months ago

https://simpread.ksria.cn/plugins/details/dtIMMLktg9

这是一个新插件,同样未发布,请使用 插件管理器 安装。

说下这个插件的功能,有两个,都给你的前两个问题有关系。

image

截图中的 ➊ 和 ➋ 对应了读取本地快照功能,可以满足并修复下图的问题

举个例子:你需要做的就是确保上图在标注后有本地快照(你可以在标注后手动导出 HTML 到本地,即有本地快照了)

image

然后刷新页面后,就会读取本地快照并还原到阅读模式中,自然就避免了标注定位错误问题。


截图中的 ➌

https://github.com/Kenshin/simpread/issues/5540#issuecomment-1696744609 存在 <span> 的这个页面,使用 ➌ 的功能,这是会将数据复制到剪切板。

然后你把它粘贴到任意文本文件然后发上来,我看看能否还原下你的环境,看看能否测试 <span> 的错误

yoghurtdewdew commented 10 months ago

好的 新的插件已安装

比较理想的情况是一条标注一个node(比如英文和译文在一个node),或能够识别到标注内的多条子node(这个可能很困难)

英文(带译文):提供7条标注(其中第三条不含有中文译文) 的 剪贴板内纯文本+wf导出纯文本(plain text)

image

其中英文内容会有换行问题:

image

中文内容:提供5条标注 的 剪贴板内纯文本+wf导出纯文本(plain text)

image

image

简悦-wf-修复span.zip

Kenshin commented 10 months ago

你好像没弄明白我的意思 😂 看下图能明白了吗?

image
yoghurtdewdew commented 10 months ago

不好意思 这个 窗口 从哪儿打开的 没找到😂 动作里(使用帮助 暂存 导出 保存 无障碍 共享 插件触发器 里) 没有这个,插件里 点击插件-18是开关(我确认是开着的并且确认开着的情况下刷新过了)

image

也没弹出让我设置的页面来

之前出现乱码那个页面,因为是用来测试的,所以测试完从稍后读移除掉了,是需要那个页面吗,那我可能搞不出来😂

但是这个从本地获取数据的设置(如果本地数据没问题的话🤔)真的很棒!

Kenshin commented 10 months ago

哦,你是不是用了同步助手的自动同步?如果是的话,需要使用 https://www.yuque.com/kenshin/simpread/fcw60u 安装

成功安装后会在下图出现

image
yoghurtdewdew commented 10 months ago

👌🏻 简悦-wf-修复span-稍后读数据.zip

Kenshin commented 10 months ago

先说这个 https://sspai.com/post/47285

使用 -18 这个插件后会在左下角出现下图所示的标识,如果是绿色的说明,当前页面读取的是本地快照的内容。

image

所以也就是真正做到 所见即所得,你在页面如何修改(然后保存)下次加载后也就是什么样式。

换行问题

仔细留意 https://github.com/Kenshin/simpread/issues/5540#issuecomment-1696765906 我说的每句话即可。

image

非要说解决方案的话,可以将分别标注

image

就能得到下图(自动换行了)

image
Kenshin commented 10 months ago

https://www.sciencedirect.com/science/article/abs/pii/S0926337323007397

我尽力了... 你给我的标注结构太乱了,完全没法复现。

这是我遇到最难的功能,很难说之一... 😂 😂 😂 😂


另外,结合 https://github.com/Kenshin/simpread/issues/5540#issuecomment-1696920230 的问题,你是不是一直没有升级 https://simpread.ksria.cn/plugins/details/5rAnvS0kR6 成功?

请使用 https://github.com/Kenshin/simpread/issues/5540#issuecomment-1696920230 提到的方式升级

如果升级成功了,留意下面的版本号

image

确保升级成功后,建议删除它们(标注),重新测试。(或者直接删除 https://www.sciencedirect.com/science/article/abs/pii/S0926337323007397 对应的稍后读)

刷新页面后按照下面的方式测试:

  1. 进入阅读模式
  2. 使用双语生成对照
  3. 加入稍后读
  4. 刷新页面,使用 -18 插件的话,会将双语的内容也一并显示。
  5. 标注(测试时,尽力标注简单的内容)

看看是否还有 <span> 的问题。


如果还是不行的话,你把 simpread_config.json 以及对应的本地快照给我。

yoghurtdewdew commented 10 months ago

好的,抱歉我打开邮件不怎么勤快,回邮件也比较慢,但是你的回复都特别快!特别是我回复完一个,回复第二个的时候,看到第一个已经被回复了😂 也非常感谢你给小白做了这么多教程说明,可以直接看着一步步操作

核对了-19的版本号,是升级过的,应该是我看到链接的时候会直接点开升级过了

关于-18我打开原始页面进入阅读模式,看到右侧标注条数对的,但高亮的区域有的没在

image

我打开txt看了看确实特别乱,要不后面遇到乱码的情况我就复制粘贴 😂 我在想要不还是使用单条标注复制出来给你?

中文:

<?xml version="1.0"?><opml version="2.0"><body><outline text="如何使用 Drafts 批量向 Todoist 发送任务 ">
    <outline text="Metadate">
        <outline text="🔗 https://sspai.com/post/47285" ></outline>
        <outline text="📖 批量添加任务,是每个人在任务管理进行到一定地步时绕不过的需求,也是对任务管理工具功能方面的考验之一。" />

    </outline>
    <outline text="Annotations">
        <outline level="h2" node="031badf5-560e-486a-bf5f-b3ef7c1a0133" text="第一步:按照 Todoist 的语法记录任务"></outline><outline level="h2" node="b354b881-2d38-40a2-96eb-05ac5f34b9d5" text="第二步:发送任务到 Todoist"></outline><outline level="h2" node="b2495ca6-ba78-478c-9668-6ecba5494ffe" text="小结"></outline>
    </outline>
</outline></body></opml>

啊,或者直接看 https://github.com/Kenshin/simpread/issues/5540#issuecomment-1696798609 中的文件,看看是否可能对修复换行问题和 <span> 的问题有所帮助。稍后读数据太乱了还是看导入到wf动作的剪贴板+wf的样式吧

稍后读数据复制到剪贴板 https://github.com/Kenshin/simpread/issues/5540#issuecomment-1696995153 中的数据确实相比更多

能看到左下角标签,不过高亮好像,不太一致,比如右侧列表里有7条,但实际页面上的高亮只有1处。而且,稍后读html文件的保存,是划第一条的时候触发的,因此我不确定是否所有annotation都实时同步到离线文件里。我有一个想法:简悦对离线html文件是支持的,打开本地稍后读离线的html文件,进入阅读模式后标注(此时页面元素是相同的),是否可以实现标注数据的同步(不是出现一个新文件而是每次能识别到这是同一个文件不触发新的全文保存等动作)?

Kenshin commented 10 months ago

https://www.sciencedirect.com/science/article/abs/pii/S0926337323007397

关于这个网址,我自己测试了下,测试步骤:

  1. 进入阅读模式
  2. 双语翻译
  3. 使用快捷键 d d 加入稍后读
  4. 保存包含双语的数据到本地
  5. 刷新页面(其实也可以不用这个步骤,只是测试)因为有 -18 插件,所以刷新后的页面读取本地快照,自然就包含了双语。
  6. 标注(下图可以看到标注的内容,包含了一些比较奇怪的地方)
  7. 保存到 Workflowy
image

保存到 Workflowy 是没问题的

image

你给我的数据,可以看到你的标注互相叠加「等问题」,你给我的标注数据就是你自己的标注数据,没有任何其它的「改动或优化」。

目前的结论:

Workflowy 也没有给出任何有效的导入说明,所以对我来说是个「黑盒」,再加上 sciencedirect.com 这类页面因为本身包含了很多对 Workflowy 非法的内容,再叠加双语翻译,所以转换的难度会高很多。


自从有了这个插件后,我基本上每天都在使用,几乎没有任何问题。

我随机测试了几个页面正常 + 双语的页面,均没有问题

image

你可以在 https://bigthink.com/the-past/1957-influenza-pandemic/ 上面测试下。


附上我的 Workflowy 整理内容(已经很多了,各种类型的网址都有~

image
Kenshin commented 10 months ago

比起你提到的双语,我更喜欢用「自己家」的全文翻译 😂

毕竟我的阅读诉求是读懂(或理解)英文,而不是一对一翻译,我一般用它看科普类的文章。

image
yoghurtdewdew commented 10 months ago

好的 可能主要是咱们使用方法上不同。

我比较希望标句子的时候中英文一起标,这样搜索到的时候中英文也是在一起的。你是分开标的,所以没有这个问题。

我试过简悦自家的翻译,因为有点久了,记得不是很清楚了,当时重新设置了api,但是页面上的全文翻译一直很难加载出来一直都在旋转中,所以我只能放弃,选用一直在用的其他浏览器插件。

所以在这个方面可能确实比较难搞…… 我的步骤就是等翻译好后再进入阅读模式,划的时候,不会按照一个句子一个句子的划,感觉关联性强的话可能会多个句子一起

另一个方面,如果页面中涉及到公式,应该是比较难搞的

Kenshin commented 10 months ago

我比较希望标句子的时候中英文一起标,这样搜索到的时候中英文也是在一起的。你是分开标的,所以没有这个问题。

你可以录屏个我看看,你是怎么做的。

如果页面中涉及到公式,应该是比较难搞的

理论上是的,但你同样可以录屏给我。

录制的话,仅录制一条典型的标注即可,并且把录屏对应的 URL 也给我。

如果使用了 -18 理论上公式是不会出现问题的。(毕竟所见即所得)


PS:翻译的功能只是提下,使用简悦的翻译用户也有很多,你用的这款也不错,毕竟也适配简悦。