Org Web Capture by Titan-C
A helper for capturing web pages via org-protocol in emacs
You'll need Firefox to use this extension
Extension Metadata
About this extension
1 Org Web Capture Extension
═══════════════════════════
This is an extension for Firefox (tm) and eventually Chromium (tm)
which adds a "Capture" button, sending the site address, title, and
selected text (if any) to emacs via org-protocol.
In case it's a meetup.com event page I will perform an additional API
call to meetup.com and get the event details.
2 Detailed setup instructions
═════════════════════════════
2.1 Install the extension
─────────────────────────
Install from addons.mozilla.org website
2.2 Set up org-protocol
───────────────────────
The gist of it is to make your system recognize emacsclient as the
handler of `org-protocol://' links. In addition, one needs to set up
emacs to load org-protocol and to set up capture templates.
2.2.1 Register emacsclient as the ```org-protocol``` handler
╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌
◊ 2.2.1.1 Under Linux (non-KDE)
And then
2.2.2 Configure Emacs
╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌
◊ 2.2.2.1 Init file
◊ 2.2.2.2 Capture templates
3 License
═════════
3.1 This is a fork of [https://github.com/sprig/org-capture-extension]
──────────────────────────────────────────────────────────────────────
This repository is licensed as MIT license, see the LICENSE file for
details.
═══════════════════════════
This is an extension for Firefox (tm) and eventually Chromium (tm)
which adds a "Capture" button, sending the site address, title, and
selected text (if any) to emacs via org-protocol.
In case it's a meetup.com event page I will perform an additional API
call to meetup.com and get the event details.
2 Detailed setup instructions
═════════════════════════════
2.1 Install the extension
─────────────────────────
Install from addons.mozilla.org website
2.2 Set up org-protocol
───────────────────────
The gist of it is to make your system recognize emacsclient as the
handler of `org-protocol://' links. In addition, one needs to set up
emacs to load org-protocol and to set up capture templates.
2.2.1 Register emacsclient as the ```org-protocol``` handler
╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌
◊ 2.2.1.1 Under Linux (non-KDE)
cat > "${HOME}/.local/share/applications/org-protocol.desktop" << EOF
[Desktop Entry]
Name=org-protocol
Exec=emacsclient %u
Type=Application
Terminal=false
Categories=System;
MimeType=x-scheme-handler/org-protocol;
EOF
And then
update-desktop-database ~/.local/share/applications/
2.2.2 Configure Emacs
╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌
◊ 2.2.2.1 Init file
(server-start)
(require 'org-protocol)
◊ 2.2.2.2 Capture templates
("p" "Web site" entry (file+headline (lambda () (concat org-directory "/webnotes.org")) "Inbox")
"* %a\nCaptured On: %U\nWebsite: %l\n\n%i\n%?")
("m" "meetup" entry (file "~/nextcloud/caldav.org") "* %?%:description \n%i\n%l")
3 License
═════════
3.1 This is a fork of [https://github.com/sprig/org-capture-extension]
──────────────────────────────────────────────────────────────────────
This repository is licensed as MIT license, see the LICENSE file for
details.
Rate your experience
PermissionsLearn more
This add-on needs to:
- Access your data for api.meetup.com
More information
- Add-on Links
- Version
- 0.3.0
- Size
- 19.77 KB
- Last updated
- 4 years ago (Feb 28, 2021)
- Related Categories
- License
- MIT License
- Version History
Add to collection
Release notes for 0.3.0
- Support capturing to org-roam roam-ref-templates
Just mark the checkbox on the config and the standard web request will go to =roam-ref= instead of capture.
Just mark the checkbox on the config and the standard web request will go to =roam-ref= instead of capture.
More extensions by Titan-C
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet