emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to install org-protocol
@ 2023-06-24  9:06 Ypo
  2023-06-24 10:21 ` Ihor Radchenko
  2023-06-24 10:46 ` Max Nikulin
  0 siblings, 2 replies; 9+ messages in thread
From: Ypo @ 2023-06-24  9:06 UTC (permalink / raw)
  To: Org-mode

[-- Attachment #1: Type: text/plain, Size: 152 bytes --]

Hi

I would like to give another try to org-protocol, but I can't find the 
package to install it. Is it on org-contrib? A link, please?


Best regards

[-- Attachment #2: Type: text/html, Size: 589 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to install org-protocol
  2023-06-24  9:06 How to install org-protocol Ypo
@ 2023-06-24 10:21 ` Ihor Radchenko
  2023-06-24 10:46 ` Max Nikulin
  1 sibling, 0 replies; 9+ messages in thread
From: Ihor Radchenko @ 2023-06-24 10:21 UTC (permalink / raw)
  To: Ypo; +Cc: Org-mode

Ypo <ypuntot@gmail.com> writes:

> I would like to give another try to org-protocol, but I can't find the 
> package to install it. Is it on org-contrib? A link, please?

It is built-in.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to install org-protocol
  2023-06-24  9:06 How to install org-protocol Ypo
  2023-06-24 10:21 ` Ihor Radchenko
@ 2023-06-24 10:46 ` Max Nikulin
  1 sibling, 0 replies; 9+ messages in thread
From: Max Nikulin @ 2023-06-24 10:46 UTC (permalink / raw)
  To: emacs-orgmode

On 24/06/2023 16:06, Ypo wrote:
> 
> I would like to give another try to org-protocol, but I can't find the 
> package to install it. Is it on org-contrib? A link, please?

Have you stuck with emacs or with desktop handler configuration?

In emacs init file you should have

      (require 'org-protocol)

*after* modification of `load-path' if you use non built-in Org version. 
You need running server: either emacs should be started as a daemon or

      (server-start)

I have never tried to configure org-protocol on Windows, so I have no 
idea if recipes are correct.

https://orgmode.org/worg/org-contrib/org-protocol.html
https://github.com/sprig/org-capture-extension/#under-windows




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to install org-protocol
       [not found] <mailman.43.1687622415.11001.emacs-orgmode@gnu.org>
@ 2023-06-25 10:40 ` Ypo
  2023-06-25 14:14   ` Ihor Radchenko
  2023-06-26 10:27   ` Max Nikulin
  0 siblings, 2 replies; 9+ messages in thread
From: Ypo @ 2023-06-25 10:40 UTC (permalink / raw)
  To: emacs-orgmode, manikulin

[-- Attachment #1: Type: text/plain, Size: 1852 bytes --]

Thanks, Ihor and Max!
It's working.
I was stuck first with emacs (trying to find org-protcol.el code 8). And 
then I was stuck with Windows.
Next thing I would like to do is to capture fragments of websites, and 
to save them automatically with this format:
* Author. Data. /Title/. Website.
Link
Captured text
I think org-remark could do it ¿?
Best regards
Date: Sat, 24 Jun 2023 10:21:47 +0000 From: Ihor Radchenko 
<yantar92@posteo.net> To: Ypo <ypuntot@gmail.com> Cc: Org-mode 
<emacs-orgmode@gnu.org> Subject: Re: How to install org-protocol 
Message-ID: <87352h88jo.fsf@localhost> Content-Type: text/plain Ypo 
<ypuntot@gmail.com> writes:

> I would like to give another try to org-protocol, but I can't find the
> package to install it. Is it on org-contrib? A link, please?

It is built-in.

El 24/06/2023 a las 18:00, emacs-orgmode-request@gnu.org escribió:
> Message: 6
> Date: Sat, 24 Jun 2023 17:46:33 +0700
> From: Max Nikulin<manikulin@gmail.com>
> To:emacs-orgmode@gnu.org
> Subject: Re: How to install org-protocol
> Message-ID:<u76hia$16rm$1@ciao.gmane.io>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> On 24/06/2023 16:06, Ypo wrote:
>> I would like to give another try to org-protocol, but I can't find the
>> package to install it. Is it on org-contrib? A link, please?
> Have you stuck with emacs or with desktop handler configuration?
>
> In emacs init file you should have
>
>        (require 'org-protocol)
>
> *after*  modification of `load-path' if you use non built-in Org version.
> You need running server: either emacs should be started as a daemon or
>
>        (server-start)
>
> I have never tried to configure org-protocol on Windows, so I have no
> idea if recipes are correct.
>
> https://orgmode.org/worg/org-contrib/org-protocol.html
> https://github.com/sprig/org-capture-extension/#under-windows

[-- Attachment #2: Type: text/html, Size: 4269 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to install org-protocol
  2023-06-25 10:40 ` Ypo
@ 2023-06-25 14:14   ` Ihor Radchenko
  2023-06-25 15:13     ` Ypo
  2023-06-26 10:27   ` Max Nikulin
  1 sibling, 1 reply; 9+ messages in thread
From: Ihor Radchenko @ 2023-06-25 14:14 UTC (permalink / raw)
  To: Ypo; +Cc: emacs-orgmode, manikulin

Ypo <ypuntot@gmail.com> writes:

> Next thing I would like to do is to capture fragments of websites, and 
> to save them automatically with this format:
> * Author. Data. /Title/. Website.
> Link
> Captured text
> I think org-remark could do it ¿?

Do you mean https://github.com/nobiot/org-remark ?
It has completely different purpose - annotation.

If you want to use Org capture protocol, you will be able to get URL,
title, and selected text - see
https://orgmode.org/manual/The-capture-protocol.html
But not author.

I have written a package that extracts more metadata:
https://github.com/yantar92/org-capture-ref, but it is currently written
for my own needs and works only with qutebrowsers and partially (for js
sites) with Emacs.

There is also https://github.com/maxnikulin/linkremark, that has similar
aims, AFAIR. And some other Org capture extensions.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to install org-protocol
  2023-06-25 14:14   ` Ihor Radchenko
@ 2023-06-25 15:13     ` Ypo
  2023-06-25 16:16       ` Ihor Radchenko
  0 siblings, 1 reply; 9+ messages in thread
From: Ypo @ 2023-06-25 15:13 UTC (permalink / raw)
  To: Ihor Radchenko; +Cc: emacs-orgmode, manikulin

[-- Attachment #1: Type: text/plain, Size: 1130 bytes --]

Hi Ihor!

Sorry, I was referring to linkremark.

I tried with org-capture-ref, but I wasn't able to install asoc.el. 
Although I am using Firefox, so not my thing.

Thanks!


El 25/06/2023 a las 16:14, Ihor Radchenko escribió:
> Ypo<ypuntot@gmail.com>  writes:
>
>> Next thing I would like to do is to capture fragments of websites, and
>> to save them automatically with this format:
>> * Author. Data. /Title/. Website.
>> Link
>> Captured text
>> I think org-remark could do it ¿?
> Do you meanhttps://github.com/nobiot/org-remark  ?
> It has completely different purpose - annotation.
>
> If you want to use Org capture protocol, you will be able to get URL,
> title, and selected text - see
> https://orgmode.org/manual/The-capture-protocol.html
> But not author.
>
> I have written a package that extracts more metadata:
> https://github.com/yantar92/org-capture-ref, but it is currently written
> for my own needs and works only with qutebrowsers and partially (for js
> sites) with Emacs.
>
> There is alsohttps://github.com/maxnikulin/linkremark, that has similar
> aims, AFAIR. And some other Org capture extensions.
>

[-- Attachment #2: Type: text/html, Size: 2335 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to install org-protocol
  2023-06-25 15:13     ` Ypo
@ 2023-06-25 16:16       ` Ihor Radchenko
  0 siblings, 0 replies; 9+ messages in thread
From: Ihor Radchenko @ 2023-06-25 16:16 UTC (permalink / raw)
  To: Ypo; +Cc: emacs-orgmode, manikulin

Ypo <ypuntot@gmail.com> writes:

> I tried with org-capture-ref, but I wasn't able to install asoc.el. 

You don't actually need asoc.el, except for one example in the readme.
The readme is outdated though. The current org-capture-ref version has
M-x org-capture-ref-capture-url, M-x org-capture-ref-capture-doi, and
M-x org-capture-ref-capture-at-point

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to install org-protocol
  2023-06-25 10:40 ` Ypo
  2023-06-25 14:14   ` Ihor Radchenko
@ 2023-06-26 10:27   ` Max Nikulin
  2023-06-27 11:22     ` Ypo
  1 sibling, 1 reply; 9+ messages in thread
From: Max Nikulin @ 2023-06-26 10:27 UTC (permalink / raw)
  To: Ypo, emacs-orgmode

On 25/06/2023 17:40, Ypo wrote:
> then I was stuck with Windows.

Do you have any suggestions concerning the configuration recipe on Worg?

> Next thing I would like to do is to capture fragments of websites, and 
> to save them automatically with this format:
> * Author. Data. /Title/. Website.
> Link
> Captured text

LinkRemark could not do it out of the box. Title format variants are 
currently hardcoded. E.g. product description handled in a special way. 
Result depends on available metadata and on length of particular fields. 
You may however experiment with "object" export format that gives a JSON 
object. Depending on your favorite programming language, custom 
formatting may be implemented in a native messaging backend or by 
calling a function in a capture template.
https://github.com/maxnikulin/linkremark/issues/1


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: How to install org-protocol
  2023-06-26 10:27   ` Max Nikulin
@ 2023-06-27 11:22     ` Ypo
  0 siblings, 0 replies; 9+ messages in thread
From: Ypo @ 2023-06-27 11:22 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 245 bytes --]

I think it's OK, since I was abble to do it ;D

Windows setup <https://orgmode.org/worg/org-contrib/org-protocol.html>

El 26/06/2023 a las 12:27, Max Nikulin escribió:
> Do you have any suggestions concerning the configuration recipe on Worg? 

[-- Attachment #2: Type: text/html, Size: 730 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-06-27 11:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-24  9:06 How to install org-protocol Ypo
2023-06-24 10:21 ` Ihor Radchenko
2023-06-24 10:46 ` Max Nikulin
     [not found] <mailman.43.1687622415.11001.emacs-orgmode@gnu.org>
2023-06-25 10:40 ` Ypo
2023-06-25 14:14   ` Ihor Radchenko
2023-06-25 15:13     ` Ypo
2023-06-25 16:16       ` Ihor Radchenko
2023-06-26 10:27   ` Max Nikulin
2023-06-27 11:22     ` Ypo

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).