Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Org-capture via org-protocol to create notes directly from the browser #130

Open
iburunat opened this issue Mar 1, 2022 · 2 comments
Open
Labels
discussion Discuss practices & share information

Comments

@iburunat
Copy link

iburunat commented Mar 1, 2022

I'm getting greedy with Zetteldeft, so here my question: has anybody managed to set up an org-capture template that would allow to create a Zetteldeft note via org-protocol from the browser (e.g., Chrome)?

The idea would be to create a zetteldeft note that would take as title the website page's title and as content the selected text. Additionally, including the link as source of the text would be a plus. There is a way to do this via org-protocol bookmarklet, but I haven't figured out the org-capture template needed for this. So if somebody has already and wants to share it, would be very useful!

@EFLS EFLS added the discussion Discuss practices & share information label Mar 1, 2022
@EFLS
Copy link
Owner

EFLS commented Mar 1, 2022

I haven't used org-protocol and know little to nothing about it. But discussion is obviously more than welcome!

There's not really a capture template system for Zetteldeft. But there is zetteldeft-extract-region-to-note and I use a custom function to turn an Org subheading into a new note. I've included it in the zd-tutorial just now: https://github.com/EFLS/zd-tutorial/blob/master/2021-04-03-2209%20Turn%20org%20subheading%20into%20a%20new%20note.org

@iburunat
Copy link
Author

iburunat commented Mar 1, 2022

Thanks, that's a very handy function right there to do exactly what I meant from within the orgmode domain. I'll keep this updated when I find a way to implement an org-protocol template.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Discuss practices & share information
Projects
None yet
Development

No branches or pull requests

2 participants