-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to let edbrowse load web pages with an external program? #86
Comments
I have not used rdrview. If I have understood things correctly,
rdrview -H
reads HTML code from standard input and writes transformed HTML code to
standard output. If this is correct, something like this should work in
edbrowse:
b https://www.example.com/
ub
W !rdrview -H
b
If this works, you could create an edbrowse function in your
configuration file to use rdrview on demand. For example:
function+rv {
ub
W !rdrview -H
b
}
The
W !filter-command
feature is quite new.
|
I made some slight modifications to the rv function proposed by David:
My command will include the title in the output, and I often want that, Do either of these functions solve your need satisfactorily? |
I don't know what the old debug level was, so it gets set back to the
default of 1.
Just to be technical ...
settings are changed locally, to the function, and resurrect when the
function is done.
So you don't need to set db1 and probably shouldn't.
Karl Dahlke
|
That's nice to know about debug levels and functions. Another problem with rv is that filtering the buffer will flag the
|
edit: I was incorrectly running this in browse mode. Disregard. |
I did a quick scan for W through the usersguide, didn't see anything I
thought was wrong.
Perhaps you have some examples.
w !command and W !command are both correct and do different things.
w and W in the email client are both correct and do different things.
!command and ! command (with a space) are both correct in ed and in
edbrowse and do the same thing so I have no preference.
Karl Dahlke
|
Great work btw. Excited about some potential contributions I have in mind. |
@eklhad apologies. I was wrong on this issue. I see where my mistake was now. |
I would like to use edbrowse in conjunction with rdrview.
Setting edbrowse as browser for rdrview with
rdrview -B edbrowse
works for the first page loaded, where the page is loaded by rdrview, but not for pages opened from that one in edbrowse, since they are loaded by edbrowse itself, bypassing rdrview.The text was updated successfully, but these errors were encountered: