Giter Site home page Giter Site logo

dvanoni / notero Goto Github PK

View Code? Open in Web Editor NEW
2.0K 23.0 92.0 5.41 MB

A Zotero plugin for syncing items and notes into Notion

License: MIT License

TypeScript 93.73% JavaScript 0.76% CSS 0.13% HTML 3.55% Fluent 1.38% Pug 0.45%
zotero zotero-plugin zotero-sync notion notion-database typescript

notero's Introduction

Hey there, I'm David! 👋🏻

David's GitHub stats

David's top languages

notero's People

Contributors

dependabot[bot] avatar dvanoni avatar github-actions[bot] avatar jeweljohnsonj avatar llxlr avatar louismartin avatar lsc64 avatar samirunni avatar theotheo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

notero's Issues

Auto delete page when item is merged or deleted

At present, Notero could not detect no-longer-existing items, pages related to which will be left in the database.

I understand that is it much better to let people decide how to deal with their page when the item is merged or deleted. But is it possible to insert certain identifiers such as certain tags or properties so that one can create a view to check if any pages need to deal.

BibTeX citation key as Notion page title

A BibTeX citation key as the name is a good idea! If that's straightforward to add, it would be a nice to have the option. Plus, citation keys are unique, helping in the case where you have two papers by the same author in the same year. That being said, the current APA style does look good for inline citations in Notion.

Screenshot 2021-10-07 at 09 48 33

Originally posted by @alexlyttle in #1 (comment)

Error: Failed to save item(s) to Notion TypeError: content.text is undefined

Hiya! First, I just wanted to say thank you SO MUCH for building this integration omg

Second, I'm coming across an error when I move my item into the collection that I have set up to go into Notion. I've forked your code to see if I can uncover the issue and fix/send a PR, but I've never seen zotero plugin code so I'll have to carve out time to learn the structure if I'm going to be of any service. Meantime, I thought I'd pop some troubleshooting info here for you in case you find an easy fix.

Some troubleshooting details:

  1. doesn't seem to matter what kind of item I use
  2. I duplicated your database from notion (the advanced one) so I didn't customize any columns or anything
  3. API is all set up properly to share etc
  4. plugin is installed and config is set up in zotero
  5. I use APA 7th ed style
  6. I do have some other plugins enabled:
    Screen Shot 2021-10-01 at 12 35 16 PM
  7. Zotero version: 5.0.97-beta.46+4cfa23050 (should I go back to non-beta to help testing?) on mac
  8. FWIW the item does go in the collection, so it's not getting hung on that part of the process - does appear to be related to sending to Notion, though I can't fully confirm that yet.

Here's a screenshot of the error:
Screen Shot 2021-10-01 at 12 32 35 PM

Here's a screenshot of the console after trying to move into collection
Screen Shot 2021-10-01 at 12 33 12 PM

Not much to work with, I'm afraid. I'll keep in touch and please let me know if you have any ideas/guidance you could provide.
Thanks again! This is going to be huge - I've seen lots of people in the academic and note-taking spaces talking about how painful reference management in Notion and Roam Research are. Roam has a great plugin that uses pinned betterbibtex citation keys as the title in the roam db to keep them unique. Here's the link for that in case you find it useful: https://alix-lahuec.gitbook.io/zotero-roam/

Thanks again!

Sync existing Zotero items

I have everything up and functioning (for new articles) but can't for the life of me figure out how to have Notero go back and pick up the hundreds of existing papers. Is it possible to manually trigger a one-time import of all of those papers or do I need to export them and bring them back in fresh?

Allow to import "Publication", "Extra" information to Notion

Hello,

First of all, I really appreciate your work very much. This plugin helps to smooth my research workflow significantly. I am wondering that is it possible to add the "Publication", and "Extra" information as new columns in Notion? I guess this can be enabled by adding a few lines in notero-item.ts?

I am very, very looking forward to the future updates of Notero. Thank you again for providing us with this helpful tool.

Getting Zotero collection folder path as a property in Notion

#massive 🤩 #enhancement
Idea💡: Have a property in the Notion database that indicates all folder paths of the entry via multi-select (e.g. "Methods/ML" if an entry is in your Zotero collection that is in the folder "ML" which is in the folder "Methods");

Why❓:

  • When working on several projects at once you may have the literature in separate folders in Zotero and on separate pages on Notion
  • Instead of creating separate connections between the two you could simply create one Notero Literature database on Notion and then create linked databases on the project pages which have filtered views of the literature base (based on the folder position on Zotero)

Amazing addition would of course be if changes in Notion synced back to Zotero so that I could change collection membership of an entry in Notion and it would also be taken up in Zotero;

Add Zotero note as plain text in Notion page

Hi @dvanoni,

Thanks for your work on this great plugin. I was wondering if you had #planned to allow the inclusion of Zotero notes directly in a Notion page. Indeed, I took many notes in the "note" part of the Zotero application and I wanted to know if there was a simple way to display it as plain text inside the Notion page.
So, it would be interesting to add a "Zotero note" template to allow the use of this option.

Thanks again for this plugin.

Error: Invalid Response URL

Hello,

Sync to Notion is failing when I try to save items to my Zotero database. This is the error: APIResponseError: Invalid request URL. Could you please advise on how to solve it?

Screen Shot 2022-04-22 at 7 29 27 AM

And thank you so much for developing this plugin - if I can get it to work for me, it might be a game changer.

For reference, I am using Chrome version 100.0.4896.127 (Official Build) (x86_64), Zotero version 6.0.5.

Thanks in advance!

API Response Error: Invalid request URL

Hi,
I'm super excited to use this integration but I keep getting this error and nothing syncs to my Notion database. I am pretty sure I've followed the setup instructions to a tee. Any help would be appreciated - thank you!

Screen Shot 2022-04-21 at 10 18 25

TypeError: style.getCiteProc is not a function

Hello,

Thanks for this add-on ! I installed i(, but when trying to add a new document, this error message comes in :

"Failed to save item(s) to Notion.
TypeError: style.getCiteProc is not a function"

Do you have an idea of what the problem could be, and how to solve it ?

Thank you !

Unable to sync because of the notion API error

Hello,

I have some error when trying to sync to Notion. It's APIResponseError with ID: xxxxxxx-xxxx-xxxxx-xxxxx-xxxx. The problem is not with token, but the somehow with the ID.

MupZVxLFfZ
Zotero version: 5.0.97-beta.64+ae7bfe7f4

Thanks!

Add configurable options to import

Hi,
First, thank you so much for this. It's fantastic! I wonder if it is possible to add a "Journal" field as a Select property and add the option to have the Authors as a multi-select? Also, if Author is a multi-select, can it be formatted as "Last Name, First Name" (or first initial)? That will help distinguish authors from one another if they are in a multi-select property.

I previously had been importing from Zotero into Notion manually to analyze who my most-cited authors are and which journals they publish. For that, selects and multi-selects are ideal. But I know that some people will want these properties to be Text. Can this be configurable?

Thank you!

Full citation loses formatting (ie. italics)

When materials are added, the citation loses its formatting, ie. italicization.

Citation in Notion after import:

Columbia University, USA, Lang, C., Siemens, G., University of Texas at Arlington, USA, Wise, A., New York University, USA, Gasevic, D., & University of Edinburgh, UK (Eds.). (2017). Handbook of Learning Analytics (First). Society for Learning Analytics Research (SoLAR). https://doi.org/10.18608/hla17

Citation from Zotero with "copy bibliography":

Columbia University, USA, Lang, C., Siemens, G., University of Texas at Arlington, USA, Wise, A., New York University, USA, Gasevic, D., & University of Edinburgh, UK (Eds.). (2017). Handbook of Learning Analytics (First). Society for Learning Analytics Research (SoLAR). https://doi.org/10.18608/hla17

Add note to README about two-way sync

From a discussion on a PR:

@pmmendoza, that's a good question! Unfortunately, it's not possible for the plugin to be notified of any updates within Notion.

The question of syncing updates from Notion back into Zotero was also asked by someone in the Zotero forums. It would be neat, but it's unfortunately beyond the scope of the plugin. Getting updates from Notion into Zotero would require setting up a hosted service that subscribes to webhooks from Notion and then uses the Zotero API to update items in Zotero. Notion has yet to release official webhook support, but there are some third-party tools that can be used for this. In theory this is technically possible, but it would be a separate project from the plugin and something I wouldn't be able to take on anytime soon.

Originally posted by @dvanoni in #35 (comment)

APIResponseError: query failed validation: query.v should not be present, instead was '0'.

I keep getting this error when trying to sync with notion. I am using notero version 0.3.3. This is the first time I'm trying it so I do not have any "old" databases notero is trying to sync to. Still I tried 3 different databases with 2 different integration tokens. I deleted the old databases from notion trash every time. I attached the error and zotero error log. Would really appreciate the help. Thanks
111
222
!

Problem about relation in notion

Hello there! I would like to thank you for the great work on notero. It is very helpful! However, I met a problem about relation. If I relate the database of "notero" to another, for example, "Task", I can't find out any existing page of "notero" in the property named like "relation to notero" in “Task”. And like the property named "Related References" in " notero", I can't find out other existing pages. So I can't relate a page to another page in "notero" or to another page in another database. I was wondering if there is a bug about creating a new page from zotero to notion and it lets the page be "unsearchable" or if there is sth wrong with the database template you were given. I would appreciate it if you can solve the doubts :)
Thank you!

iShot2022-02-08 23 50 31

iShot2022-02-08 23 50 46

expand syncable zotero item properties

It would be great to be able to sync more properties from Zotero to Notion;

A) Ideally it would be possible to automatically take over any unique Zotero property name into a Notion Database column (e.g. by simply creating a column in the linked Notion database that's called "Publication" you would get any Zotero item property that's called "Publication") - the advantage here is that notero could easily be expanded to new item properties in Zotero (e.g. created by an add-on).

B) Alternatively one could do it manually for every property; in order of relevance from my perspective are: Publication, Extra (this is the comment column for e.g. citation counts), Place, Date Added / Modified;


Again I leave a comment/idea for an enhancement here as I still haven't acquired the necessary skills to contribute to this project personally; I hope I'll get there at some point, for now I am thankful for all the contributors 🙏

Author not populating

Greetings!
Just starting out with this, thanks to @MayaGosztyla's helpful tweeting. I've now placed two items in my Zotero subcollection watched by Notero. This first one yesterday synced up great into my Notion database, but for the next one today, the 'Author' field didn't populate, even though it shows fine in the 'Name' and 'Full Citation' properties/fields in Notion. I've tried adding another to the subcollection, and the 'Author' field likewise didn't populate. Any tips? Thanks!

Syncing notes and extracted annotations to Notion database

Hi,
I'd really like to thank you for providing such an amazing plugin. I am really grateful since this simplifies my workflow by a significant extent and saves me a huge effort.

However, as part of my workflow, I do annotate and comment in the pdf files attached to every item in my zotero collection. I use the zotfile extension to extract those annotations out as a separate item. Is it possible to sync these extracted annotations to notion as well?

Sync with multiple collections in Zotero?

Hi,
I love this plugin. Thank you very much. At present it only allows synching with one collection inside Zotero. But very often a researcher will have multiple collections in the same library. Maybe it is possible to synch with multiple collections in the library? Good job! I look forward to new development of this plugin.

No warning and doesn't work.

Hello, I installed the plugin on zotero and did the operations specified from the notion. But no content is transferred to notion. There is no message in the form of a warning. Another situation I would like to point out is about the database-id, which consists of 36 characters. When I copied the invite link over Notion, the databse id in the part you specified consists of 32 characters. I tried again and again by watching the video below to establish the connection, but it didn't work.

https://www.youtube.com/watch?v=8IC8-mPbjCo&t=2s&ab_channel=HollyJane

APIResponseError but object syncs anyway. It also duplicates

Hi!

I am seeing an issue where I get an API response error but the object syncs anyway.

The database ID in the error code is not even the correct database ID. Another thing that happens is each time I tried to sync the item, it created duplicates, most likely because notero does not know that it is successfully syncing.

image

Is it possible for an updated Zotero record to update the Notion record, instead of creating a duplicate?

I've managed to figure out how your plugin works, and great job by the way as it is helpful for me to use the 'recommended' Zotero program for gathering my references, but still have access to them all in notion for my actual note taking etc.

But what do I do if I ever need to go back and edit them? Editing them in Zotero doesn't update Notion, so would I have to remove them from the zotero collection, edit them, and then copy them back in?

I just did a quick test on that, and I ended up with two copies on Notion, so they don't seem to overwrite themselves?

Is there a way to make it so that the edited version will overwrite the notion entry for that reference?

Or, even better, would be avoiding the part where you can only sync by adding a new zotero to a collection, and instead have a manual 'sync all' that updates all records. But again not sure if thats possible with the API we have!

TypeError: NetworkError when attempting to fetch resource.

Hi,

thanks for your briliant work!
I installed, but it doesn't work, and show this message:

Saving items to Notion...
Item 1 of 1
TypeError: NetworkError when attempting to fetch resource.

Do you know how can I solve it ?

Appreciated!

APIResponseError: API token is invalid.

Hi! Thank you so much for this helpful tool.

I'm in the process of trying to link Notion and Zotero but keep getting the following message when "Saving items to Notion..." -- "APIResponseError: API token is invalid". Is this something you've come across before? I've already checked to make sure I'm sharing my database with the integration and that the integration token and database ID are the same as what is provided by Notion. Any idea where I might be going wrong?

D

Title as title

Hi,
first I really love how nice this plugin connects zotero and notion.
However for me it would be more intuitive to have the actual Title (of the paper or whatever) as the notion property type "Title" rather than "(author et al.,year)".
Would be nice it this would be more flexible e.g. changeable. Reason: When I link the articles in notion I would search for it I would usually search for the title rather then the author.

API Response Error: Invalid request URL

Hi,
After checking the already existing closed issue for the same error, I couldn't resolve it.
My API setup looks okay.
I use Basic example template as connected page.
I see the Notero logo aside my integration from notion interface.

Should I change the public share parameters?
Other theory would be that it has to do with the spanish version of Zotero I use, but really not sure that the translator item related to the console error refers to it :
image

And thank you very much for this service 👍

Editors also added as authors

I had a Zotero entry with authors and editors like so:

Screenshot 2021-11-06 at 7 44 24 PM

and everyone ended up in the author list on Notion :)

Can this be fixed please?

PS. Thank you for the brilliant plugin, I'm using it a LOT!

Keeping bold and italics in exported citations

Hi,
Thank you so much for the amazing plugin, I use it everyday and it has made my job a lot easier. However, I can't seem to get the export to appear in Notion with parts in bold or italics (like the journal year or the article title for instance), the way a Zotero export would normally look. Being able to get a usable citation directly from the database would make me gain a huge amount of time. Is it inherent to the construction of the software or is there a solution I'm not seeing?
Thanks again for your work!

sync local paths of attached files and automatically upload attached files

Hi,

Thank you for your work. I have used zotero for a long time. Usually, I add papers with pdf files to zotero using its Chrome extension. When I come to notion, I find notion can not link a local file. That causes a lot of trouble. Could you add local paths of attached files in sync list? If it can automatically upload attached files, that will also be great.

Advice:
Since people may have different needs on sync information, I advise to set a sync list so that users can choose the items they want to sync from zotero.

Thank you!

Support multiple Notion workspaces

Originally posted by @eioe in #6 (comment)

I am working in multiple notion workspaces for different projects. If notero syncs to one central notion DB, I could only sync to one of them, I assume, as it's not possible to create linked DBs across workspaces. So for me, syncing one Zotero collection to one notion db would be preferred.

An internal Notion integration can only be connected to one workspace, and each integration receives a unique integration token.

Possible solutions:

Synchronized Tags

Thank you for the plugin.
Currently the plugin does not sync the tags of the entries, will it be supported in subsequent versions?

Full Citation wrong content

Hello, I've got this kind of content for the "Full Citation" field in notion instead of the expected value. Note that I have a few plugins installed in Zotero that may interfere: Zutilo, Zotfile, MdNotes, Scite.

"Key","Item Type","Publication Year","Author","Title","Publication Title","ISBN","ISSN","DOI","Url","Abstract Note","Date","Date Added","Date Modified","Access Date","Pages","Num Pages","Issue","Volume","Number Of Volumes","Journal Abbreviation","Short Title","Series","Series Number","Series Text","Series Title","Publisher","Place","Language","Rights","Type","Archive","Archive Location","Library Catalog","Call Number","Extra","Notes","File Attachments","Link Attachments","Manual Tags","Automatic Tags","Editor","Series Editor","Translator","Contributor","Attorney Agent","Book Author","Cast Member","Commenter","Composer","Cosponsor","Counsel","Interviewer","Producer","Recipient","Reviewed Author","Scriptwriter","Words By","Guest","Number","Edition","Running Time","Scale","Medium","Artwork Size","Filing Date","Application Number","Assignee","Issuing Authority","Country","Meeting Name","Conference Name","Court","References","Reporter","Legal Status","Priority Numbers","Programming Language","Version","System","Code","Code Number","Section","Session","Committee","History","Legislative Body"
"R6VEK5U9","journalArticle","2015","Steffen, Will; Richardson, Katherine; Rockström, Johan; Cornell, Sarah E.; Fetzer, Ingo; Bennett, Elena M.; Biggs, Reinette; Carpenter, Stephen R.; Vries, Wim de; Wit, Cynthia A. de; Folke, Carl; Gerten, Dieter; Heinke, Jens; Mace, Georgina M.; Persson, Linn M.; Ramanathan, Veerabhadran; Reyers, Belinda; Sörlin, Sverker","Planetary boundaries: Guiding human development on a changing planet","Science","","0036-8075, 1095-9203","10.1126/science.1259855","https://doi.org/10.1126/science.1259855","The planetary boundaries framework defines a safe operating space for humanity based on the intrinsic biophysical processes that regulate the stability of the Earth system. Here, we revise and update the planetary boundary framework, with a focus on the underpinning biophysical science, based on targeted input from expert research communities and on more gener

Include Abstracts from Zotero as a property in Notion Database

I really, really, love this integration - I have been manually exporting my bib info from Zotero into Notion and now it is synced 🤩!

My #enhancement idea:
To sometimes not have to go back to the Zotero file it would be amazing to also have the Abstract stored in Zotero as a database column in Notion!

Can't figure out how to sync...

So I've got everything set up, but the only time I see the 'syncing to notion' message is when I create a new blank entry. I can then fill in the entry, but nothing updates into notion.

The only vague reference to syncing I can see in your documentation, is in that animated picture showing you... dragging items from your collection list, and dropping them onto the folder of the collection they were in? Seemed odd, but I tried it, and that didn't do anything either.

So now I'm just baffled!

notion database have Duplicate items

截屏2022-01-06 上午11 33 07

  • checked "sync when items are modified"
  • version:0.2.1
  • Duplicate entries appear in the notion database when documents are moved into the watch folder

Create new page if update fails

If the Notion link attachment has a URL of an old page that no longer exists, we should create a new page instead of just failing to update the non-existent page.

Created via Raycast

Join attachment

Hello,

Thank you so much for this work that is really helpfull!

I have some question about PDF integration and i would like to be able to do one of these:

  1. I would like to know if there is a way to import pdf attached in zotero directly in notion so i can have an access on my tablet/phone from notion?
  2. Is it possible to transform the "File Path" column to a direct link on the file in my laptop? (i would like to just have to click on it to access the file)

Thank you by advance,

Seb

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.