<div dir="ltr">Hi there,<div><br></div><div><br></div><div>Today I set up org-capture. The Org Capture Chrome plugin will open "new-style" org-protocol URLs like:<br><br></div><div>    org-protocol://capture?template=L&url=http%3A%2F%2Fexample.com&title=Example%20Website<br></div><div><br></div><div>And my "L" org-capture template will be used to to insert the link into my notes file.</div><div><br></div><div><br></div><div>Does anyone happen to know if it's possible make arbitrary key-value pairs from an "org-protocol://capture?..." URL available to org-capture templates?</div><div><br></div><div><br></div><div>The org-protocol-capture handler (<a href="https://github.com/emacs-mirror/emacs/blob/master/lisp/org/org-protocol.el#L450-L515">https://github.com/emacs-mirror/emacs/blob/master/lisp/org/org-protocol.el#L450-L515</a>) looks like it's remapping a whitelist of properties extracted from the URL. It seems like I'd need to write a whole new sub-protocol handler that does everything done in org-protocol-capture, but use org-store-link-props to store all properties, rather than just those hard-coded ones.</div><div><br></div><div>There's a footnote in the template expansion documentation (footnote 3, <a href="http://orgmode.org/manual/Template-expansion.html#fn-3">http://orgmode.org/manual/Template-expansion.html#fn-3</a>) that suggests extra fields can be added by defining a hyperlink type, but I'm confused about whether such a definition would be for a whole org-protocol link, or for an embedded link (e.g. in place of "http%3A%2F%2Fexample.com" in the above example), or something else.<br></div><div><br></div><div>Any thoughts would be appreciated!</div><div><br></div><div><br></div><div>Cheers,</div><div>Chris</div><div><br></div></div>