Den lör 16 juli 2022 kl 11:16 skrev Ihor Radchenko <yantar92@gmail.com>:
Henrik Frisk <frisk.h@gmail.com> writes:

>>> Is so, you probably need
>>>
>>> org-protocol://capture?template...
>>> instead of
>>> org-protocol://capture-html?template...
>>>
>>> Thanks, that was the issue and it works fine now. However, I can't seem
>> to get the org-capture-ref-get-bibtex-field to work by simply replacing org-capture-ref-headline-format
>> with it. Not sure where the ":bibtex-string" should go in the template
>> which is probably why it doesn't work.

Could you please provide a bit more details on what you did, what you
expected to get, and what you got?

Yes, of course!

I saw in another thread recently that you had the bibtex captured as a code block (begin_src bibtex) which I wasn't able to get. In the documentation at https://github.com/yantar92/org-capture-ref#org819faa2 it says:

"Alternatively it is possible to use org-capture-ref-get-bibtex-field to get metadata directly (:bibtex-string field will contain formatted BiBTeX entry).

This, I thought, was the way to achieve this. What I get is:

:BOOKMARK:misc:
:PROPERTIES:
:TITLE:    Something
:BTYPE:    misc
:ID:       Something_org_captur_ref_extrac_9c0
:AUTHOR:   someone
:CREATED:  [2022-07-12 tis 17:26]
:HOWPUBLISHED: Github
:NOTE:     Online; accessed 12 juli 2022
:RSS:      https://something.org
:URL:       https://something.org
:END:

/Henrik