Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #174290
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Date | 2016-11-07 14:30 +0100 |
| Message-ID | <sAS9Q-3GK-27@gated-at.bofh.it> (permalink) |
| References | <sAhjX-5b3-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Nov 05, 2016 at 03:01:14PM -0700, Dan Hitt wrote: > Does anybody know of a piece of software that you can give an URL to, > and it will then fetch the url and email the contents to you? #!/bin/sh # Usage: scriptname URL recipient [...] url=$1 shift lynx -dump "$url" | mail -s "Web page: $url" "$@" Of course, much depends on what you mean by "contents". I'm assuming you want a plain text rendering, which is what lynx -dump does. Then again, I'm old-fashioned, and I consider HTML email one of the signs of the apocalypse. If you actually *want* HTML email, then maybe you would prefer some different solution. You could also get fancy and have the script use the EMAIL environment variable as the recipient, etc. It's up to you.
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
looking for a piece of software that will take an url (say to a blog post) and email me the contents Dan Hitt <dan.hitt@gmail.com> - 2016-11-05 23:10 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents Dan Purgert <dan@djph.net> - 2016-11-06 02:00 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents Celejar <celejar@gmail.com> - 2016-11-06 02:30 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents Miles Fidelman <mfidelman@meetinghouse.net> - 2016-11-06 03:00 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents Dan Hitt <dan.hitt@gmail.com> - 2016-11-06 03:50 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents Miles Fidelman <mfidelman@meetinghouse.net> - 2016-11-06 20:10 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents Richard Owlett <rowlett@cloud85.net> - 2016-11-06 21:00 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents Curt <curty@free.fr> - 2016-11-07 19:30 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents davidson@freevolt.org - 2016-11-09 22:00 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents davidson@freevolt.org - 2016-11-09 22:10 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents davidson@freevolt.org - 2016-11-10 01:40 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents Dan Hitt <dan.hitt@gmail.com> - 2016-11-10 04:40 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents jeremy bentham <dnw@eskimo.com> - 2016-11-07 03:50 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents billwill onggo <billwill.onggo@gmail.com> - 2016-11-07 04:50 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents Darac Marjal <mailinglist@darac.org.uk> - 2016-11-07 13:20 +0100
Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-07 14:30 +0100
csiph-web