mindforger icon indicating copy to clipboard operation
mindforger copied to clipboard

[Feature/Enhancement] Importing annotations and highlights from Zotero

Open codemeleon opened this issue 1 year ago • 2 comments

Enhancement / feature description:

Currently, I am required to transfer my notes and annotations from Zotero to MindForger. It would be convenient if these two tools could collaborate and synchronize notes and annotations.

codemeleon avatar May 11 '23 12:05 codemeleon

@codemeleon I installed Zotero and checked what are Zotero export options:

  • Do you need Zotero to MindForger conversion or also MindForger to Zotero?
  • Would manual export via RDF be sufficient?

My design remarks:

  • RDF export which could be converted to MD.
<rdf:RDF
 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
 xmlns:z="http://www.zotero.org/namespaces/export#"
 xmlns:dc="http://purl.org/dc/elements/1.1/"
 xmlns:bib="http://purl.org/net/biblio#"
 xmlns:foaf="http://xmlns.com/foaf/0.1/"
 xmlns:dcterms="http://purl.org/dc/terms/"
 xmlns:link="http://purl.org/rss/1.0/modules/link/">
    <bib:Memo rdf:about="#item_1">
        <z:itemType>note</z:itemType>
        <dc:relation rdf:resource="#item_2"/>
        <rdf:value>&lt;div data-schema-version=&quot;8&quot;&gt;&lt;p&gt;Dvorka: &lt;span style=&quot;color: #ff2020&quot;&gt;example&lt;/span&gt; of a note.&lt;/p&gt;
&lt;/div&gt;</rdf:value>
    </bib:Memo>
    <bib:Book rdf:about="#item_2">
        <z:itemType>book</z:itemType>
        <bib:authors>
            <rdf:Seq>
                <rdf:li>
                    <foaf:Person>
                       <foaf:surname>Rampa, Lobsang</foaf:surname>
                    </foaf:Person>
                </rdf:li>
            </rdf:Seq>
        </bib:authors>
        <dcterms:isReferencedBy rdf:resource="#item_3"/>
        <dc:relation rdf:resource="#item_1"/>
        <dc:subject>tag1</dc:subject>
        <dc:subject>tag2</dc:subject>
        <dc:subject>tag3</dc:subject>
        <dc:title>Dvorka Book example.</dc:title>
        <dcterms:abstract>Tibet story.</dcterms:abstract>
    </bib:Book>
    <bib:Memo rdf:about="#item_3">
        <rdf:value>&lt;div data-schema-version=&quot;8&quot;&gt;&lt;p&gt;This is a book note.&lt;/p&gt;
&lt;/div&gt;</rdf:value>
    </bib:Memo>
    <rdf:Description rdf:about="#item_4">
        <z:itemType>document</z:itemType>
        <bib:authors>
            <rdf:Seq>
                <rdf:li>
                    <foaf:Person>
                       <foaf:surname>Dvorak, Martin</foaf:surname>
                    </foaf:Person>
                </rdf:li>
            </rdf:Seq>
        </bib:authors>
        <dcterms:isReferencedBy rdf:resource="#item_5"/>
        <link:link rdf:resource="#item_6"/>
        <dc:title>Document example.</dc:title>
    </rdf:Description>
    <bib:Memo rdf:about="#item_5">
        <rdf:value>&lt;div data-schema-version=&quot;8&quot;&gt;&lt;p&gt;Document note.&lt;/p&gt;
&lt;/div&gt;</rdf:value>
    </bib:Memo>
    <z:Attachment rdf:about="#item_6">
        <z:itemType>attachment</z:itemType>
        <dc:title>http://www.google.com/</dc:title>
        <dc:identifier>
            <dcterms:URI>
               <rdf:value>http://www.google.com/</rdf:value>
            </dcterms:URI>
        </dc:identifier>
        <dcterms:dateSubmitted>2023-05-13 07:36:03</dcterms:dateSubmitted>
        <z:linkMode>3</z:linkMode>
    </z:Attachment>
    <z:Collection rdf:about="#collection_2">
       <dc:title>Dvorka collection</dc:title>
    </z:Collection>
    <z:Collection rdf:about="#collection_1">
        <dc:title>Export for MindForger</dc:title>
        <dcterms:hasPart rdf:resource="#item_1"/>
        <dcterms:hasPart rdf:resource="#item_2"/>
        <dcterms:hasPart rdf:resource="#item_4"/>
    </z:Collection>
</rdf:RDF>
Screenshot 2023-05-13 at 9 38 14

dvorka avatar May 13 '23 07:05 dvorka

You can export Annotations to notes, info here and here and then export all notes to markdown via Mdnotes - Zotero Plugin:

LightTemplar avatar May 18 '23 13:05 LightTemplar