[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bring up a screen giving option to open a series of orgmode files
From: |
Jean Louis |
Subject: |
Re: Bring up a screen giving option to open a series of orgmode files |
Date: |
Wed, 2 Dec 2020 12:24:58 +0300 |
User-agent: |
Mutt/2.0 (3d08634) (2020-11-07) |
* Ihor Radchenko <yantar92@gmail.com> [2020-11-25 10:17]:
> > - qutebrowser, once HTML is loaded or any file, can transmit this file
> > in a script to external program to parse it, collect meta data and
> > index it somewhere
>
> .html version of the current page is always available to userscripts via
> $QUTE_HTML variable.
>
> I use it in my capture package:
> https://github.com/yantar92/org-capture-ref#qute_integration
>
> > - in particular I would be interested if qutebrowser could be used to
> > convert the HTML on the fly to OPML by using external script so to
> > get chunks finely grained such as paragraphs, headings of course are
> > included making HTML better outlined and structured for further
> > import into both Org files and yet private Hyperscope database.
>
> Since you have access to the html file, you can pass it to any app in
> your system. For example, you might convert the page to any other format
> with pandoc or parse it with beautifulsoap in python. However, the file
> will not contain the multimedia content - only bare html.
I understand what you say.
What I do not know is how do I invoke script from qutebrowser to use
the environment variables?