emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: capture, attach, link files from web
Date: Tue, 08 Oct 2013 21:31:44 +0800	[thread overview]
Message-ID: <87pprf28jj.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 87r4bw6ozt.fsf@gmail.com

Myles English <mylesenglish@gmail.com> writes:

> eric@...net writes:
>
>>>> I've often thought it would be nice to link to images in an org file
>>>> with http: links, then at some arbitrary point in time call a
>>>> hypothetical org-localize-external-resources command. That command would
>>>> wget all the external resources, put them somewhere local, and switch
>>>> the links to the file: type. Just a thought.
>
> How about a derived export backend with a filter that does a wget and
> rewrites the links?
>
> One problem could be what if a wget fails?  As I am finding with my
> implementation, some websites only allow browserlike access.

That's kind of why I think it would be better as a standalone
interactive function, rather than an export preprocessing thingummy.
You'd run it first, with timeouts and error messages, etc, and then
export when you're done.

      reply	other threads:[~2013-10-08 13:31 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-07 11:49 capture, attach, link files from web Myles English
2013-10-07 13:08 ` Oleh
2013-10-08 10:43   ` Myles English
2013-10-08 15:28     ` Oleh
2013-10-07 15:55 ` Eric Abrahamsen
2013-10-07 17:49   ` Myles English
2013-10-08  1:39     ` Eric Abrahamsen
2013-10-08 10:22       ` Myles English
2013-10-08 13:31         ` Eric Abrahamsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pprf28jj.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).