Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #174215 > unrolled thread
| Started by | Dan Hitt <dan.hitt@gmail.com> |
|---|---|
| First post | 2016-11-05 23:10 +0100 |
| Last post | 2016-11-07 14:30 +0100 |
| Articles | 16 — 11 participants |
Back to article view | Back to linux.debian.user
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
| From | Dan Hitt <dan.hitt@gmail.com> |
|---|---|
| Date | 2016-11-05 23:10 +0100 |
| Subject | looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sAhjX-5b3-17@gated-at.bofh.it> |
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? This could be a stand-alone app on the desktop, or a plug-in to a browser, or a web site, or some combo. (I guess it could be a pipeline of curl and some mail program, but i'm afraid i'd just get piles of incomprehensible text.) I would plan on sending the mail to my gmail account (for searching and archival purposes). TIA for any clues. dan
[toc] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2016-11-06 02:00 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sAjYt-6QW-1@gated-at.bofh.it> |
| In reply to | #174215 |
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? wget will get you the raw html / whatever files, then maybe tar and mail them. quick and dirty script I threw together as a proof of concept (note it probably won't work, due to extra breaks being introduced for Usenet) | #!/bin/bash | | cd /tmp || exit 1 | | | wget -q --random-wait -4 -P "$1" \ | -U | "Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0" \ | [... more options here if you like ...] $1 | | tar -czvf "$1.tgz" ./"$1" | | echo "got it" | mutt -s "grabbed site $1" -a "$1.tgz" -- you@domain.com -- |_|O|_| Registered Linux user #585947 |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
[toc] | [prev] | [next] | [standalone]
| From | Celejar <celejar@gmail.com> |
|---|---|
| Date | 2016-11-06 02:30 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sAkrv-7fa-3@gated-at.bofh.it> |
| In reply to | #174215 |
On Sat, 5 Nov 2016 15:01:14 -0700 Dan Hitt <dan.hitt@gmail.com> 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? > > This could be a stand-alone app on the desktop, or a plug-in to a > browser, or a web site, or some combo. (I guess it could be a > pipeline of curl and some mail program, but i'm afraid i'd just get > piles of incomprehensible text.) I don't have a completely ready to use solution, but starting with httrack seems like a promising approach. Constructing some sort of pipeline along the lines of httrack -> tar -> mail should be simple enough. > I would plan on sending the mail to my gmail account (for searching > and archival purposes). > > TIA for any clues. > > dan Celejar
[toc] | [prev] | [next] | [standalone]
| From | Miles Fidelman <mfidelman@meetinghouse.net> |
|---|---|
| Date | 2016-11-06 03:00 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sAkUx-7ox-3@gated-at.bofh.it> |
| In reply to | #174215 |
On 11/5/16 6:01 PM, 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? > > This could be a stand-alone app on the desktop, or a plug-in to a > browser, or a web site, or some combo. (I guess it could be a > pipeline of curl and some mail program, but i'm afraid i'd just get > piles of incomprehensible text.) > > Well you might try: curl http://www.foo.com | uuencode page.html | mail myname@mydomain.com or ( echo "Content-Type: text/html"; curl http://www.foo.com) | sendmail myname@mydomain.com Now, if you want all the components of a page - like embedded images and such, or an entire site - then you might explore some of curl's options for downloading a site, pipe that through zip, and email the archive. Or... most browsers will do this for you! -- In theory, there is no difference between theory and practice. In practice, there is. .... Yogi Berra
[toc] | [prev] | [next] | [standalone]
| From | Dan Hitt <dan.hitt@gmail.com> |
|---|---|
| Date | 2016-11-06 03:50 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sAlGV-7WL-1@gated-at.bofh.it> |
| In reply to | #174225 |
Thanks Miles (and also Dan P and Celejar for other solutions). Indeed Firefox has an archive format (maybe called 'maff'?), but how could you mail it to yourself? That is, how could you mail the maff without taking your hands off the keyboard, or switching apps or something like that? Ideally, the way it would work is you find a blog post or something that you like, then you go to a drop-down menu, and select 'mail this to me'. Are there any plugins that are so savvy? TIA for any info, and thanks again Dan P and Celejar. dan On Sat, Nov 5, 2016 at 6:47 PM, Miles Fidelman <mfidelman@meetinghouse.net> wrote: > On 11/5/16 6:01 PM, 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? >> >> This could be a stand-alone app on the desktop, or a plug-in to a >> browser, or a web site, or some combo. (I guess it could be a >> pipeline of curl and some mail program, but i'm afraid i'd just get >> piles of incomprehensible text.) >> >> > Well you might try: > > curl http://www.foo.com | uuencode page.html | mail myname@mydomain.com > or > ( echo "Content-Type: text/html"; curl http://www.foo.com) | sendmail > myname@mydomain.com > > Now, if you want all the components of a page - like embedded images and > such, or an entire site - then you might explore some of curl's options for > downloading a site, pipe that through zip, and email the archive. > > Or... most browsers will do this for you! > > -- > In theory, there is no difference between theory and practice. > In practice, there is. .... Yogi Berra >
[toc] | [prev] | [next] | [standalone]
| From | Miles Fidelman <mfidelman@meetinghouse.net> |
|---|---|
| Date | 2016-11-06 20:10 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sAAZk-YV-41@gated-at.bofh.it> |
| In reply to | #174226 |
It used to be that ALL the browsers I used had a "forward as email" menu option, and, as I recall, some of them would bundle together pictures and other includes that went with a page. I just checked, and to my horror, I now see that NONE of my browsers (Safari, Chrome, Firefox, Edge) offer that option - one offers "save as PDF" and another offers "mail link to page." I expect that Seamonkey might still offer it - given that it still combines a browser and mail client in one program - but it's gotten flakier of late, which is why I stopped using it. It also seems like various plug-ins and services, for doing this, have disappeared. Now I'm kind of curious about it. On 11/5/16 10:41 PM, Dan Hitt wrote: > Thanks Miles (and also Dan P and Celejar for other solutions). > > Indeed Firefox has an archive format (maybe called 'maff'?), but how > could you mail it to yourself? > > That is, how could you mail the maff without taking your hands off the > keyboard, or switching apps or something like that? > > Ideally, the way it would work is you find a blog post or something > that you like, then you go to a drop-down menu, and select 'mail this > to me'. Are there any plugins that are so savvy? > > TIA for any info, and thanks again Dan P and Celejar. > > dan > > On Sat, Nov 5, 2016 at 6:47 PM, Miles Fidelman > <mfidelman@meetinghouse.net> wrote: >> On 11/5/16 6:01 PM, 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? >>> >>> This could be a stand-alone app on the desktop, or a plug-in to a >>> browser, or a web site, or some combo. (I guess it could be a >>> pipeline of curl and some mail program, but i'm afraid i'd just get >>> piles of incomprehensible text.) >>> >>> >> Well you might try: >> >> curl http://www.foo.com | uuencode page.html | mail myname@mydomain.com >> or >> ( echo "Content-Type: text/html"; curl http://www.foo.com) | sendmail >> myname@mydomain.com >> >> Now, if you want all the components of a page - like embedded images and >> such, or an entire site - then you might explore some of curl's options for >> downloading a site, pipe that through zip, and email the archive. >> >> Or... most browsers will do this for you! >> >> -- >> In theory, there is no difference between theory and practice. >> In practice, there is. .... Yogi Berra >> -- In theory, there is no difference between theory and practice. In practice, there is. .... Yogi Berra
[toc] | [prev] | [next] | [standalone]
| From | Richard Owlett <rowlett@cloud85.net> |
|---|---|
| Date | 2016-11-06 21:00 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sABLI-1eC-27@gated-at.bofh.it> |
| In reply to | #174255 |
On 11/6/2016 1:07 PM, Miles Fidelman wrote: > It used to be that ALL the browsers I used had a "forward as > email" menu option, and, as I recall, some of them would bundle > together pictures and other includes that went with a page. > > I just checked, and to my horror, I now see that NONE of my > browsers (Safari, Chrome, Firefox, Edge) offer that option - one > offers "save as PDF" and another offers "mail link to page." > > I expect that Seamonkey might still offer it - given that it > still combines a browser and mail client in one program - but > it's gotten flakier of late, which is why I stopped using it. I have SeaMonkey 2.40 for 32 bit Windows. It has "mail link to page" with apparently no way to set a default recipient. > > It also seems like various plug-ins and services, for doing this, > have disappeared. Now I'm kind of curious about it. > > > On 11/5/16 10:41 PM, Dan Hitt wrote: >> Thanks Miles (and also Dan P and Celejar for other solutions). >> >> Indeed Firefox has an archive format (maybe called 'maff'?), >> but how >> could you mail it to yourself? >> >> That is, how could you mail the maff without taking your hands >> off the >> keyboard, or switching apps or something like that? >> >> Ideally, the way it would work is you find a blog post or >> something >> that you like, then you go to a drop-down menu, and select >> 'mail this >> to me'. Are there any plugins that are so savvy? >> >> TIA for any info, and thanks again Dan P and Celejar. >> >> dan >> >> On Sat, Nov 5, 2016 at 6:47 PM, Miles Fidelman >> <mfidelman@meetinghouse.net> wrote: >>> On 11/5/16 6:01 PM, 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? >>>> >>>> This could be a stand-alone app on the desktop, or a plug-in >>>> to a >>>> browser, or a web site, or some combo. (I guess it could be a >>>> pipeline of curl and some mail program, but i'm afraid i'd >>>> just get >>>> piles of incomprehensible text.) >>>> >>>> >>> Well you might try: >>> >>> curl http://www.foo.com | uuencode page.html | mail >>> myname@mydomain.com >>> or >>> ( echo "Content-Type: text/html"; curl http://www.foo.com) | >>> sendmail >>> myname@mydomain.com >>> >>> Now, if you want all the components of a page - like embedded >>> images and >>> such, or an entire site - then you might explore some of >>> curl's options for >>> downloading a site, pipe that through zip, and email the archive. >>> >>> Or... most browsers will do this for you! >>> >>> -- >>> In theory, there is no difference between theory and practice. >>> In practice, there is. .... Yogi Berra >>> >
[toc] | [prev] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2016-11-07 19:30 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sAWQ9-6UY-25@gated-at.bofh.it> |
| In reply to | #174226 |
On 2016-11-06, Dan Hitt <dan.hitt@gmail.com> wrote: > Thanks Miles (and also Dan P and Celejar for other solutions). > > Indeed Firefox has an archive format (maybe called 'maff'?), but how > could you mail it to yourself? > > That is, how could you mail the maff without taking your hands off the > keyboard, or switching apps or something like that? I used to use a plugin called "Send to Kindle" that worked (for the Kindle), but then it stopped working for reasons that escaped me (an ill-designed and maintained Amazon thingie). > Ideally, the way it would work is you find a blog post or something > that you like, then you go to a drop-down menu, and select 'mail this > to me'. Are there any plugins that are so savvy? I wonder if you could use a plugin like the one below and just send the file to yourself, at which point you might read it with fbreader or some such. https://addons.mozilla.org/en-US/firefox/addon/kindle-it/ > TIA for any info, and thanks again Dan P and Celejar. > > dan > > On Sat, Nov 5, 2016 at 6:47 PM, Miles Fidelman ><mfidelman@meetinghouse.net> wrote: >> On 11/5/16 6:01 PM, 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? >>> >>> This could be a stand-alone app on the desktop, or a plug-in to a >>> browser, or a web site, or some combo. (I guess it could be a >>> pipeline of curl and some mail program, but i'm afraid i'd just get >>> piles of incomprehensible text.) >>> >>> >> Well you might try: >> >> curl http://www.foo.com | uuencode page.html | mail myname@mydomain.com >> or >> ( echo "Content-Type: text/html"; curl http://www.foo.com) | sendmail >> myname@mydomain.com >> >> Now, if you want all the components of a page - like embedded images and >> such, or an entire site - then you might explore some of curl's options for >> downloading a site, pipe that through zip, and email the archive. >> >> Or... most browsers will do this for you! >> >> -- >> In theory, there is no difference between theory and practice. >> In practice, there is. .... Yogi Berra >> > > -- βIt is enough that the arrows fit exactly in the wounds that they have made.β Franz Kafka
[toc] | [prev] | [next] | [standalone]
| From | davidson@freevolt.org |
|---|---|
| Date | 2016-11-09 22:00 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sBI8p-3Rb-5@gated-at.bofh.it> |
| In reply to | #174226 |
On Sat, 5 Nov 2016, Dan Hitt wrote: > Thanks Miles (and also Dan P and Celejar for other solutions). > > Indeed Firefox has an archive format (maybe called 'maff'?), but how > could you mail it to yourself? > > That is, how could you mail the maff without taking your hands off the > keyboard, or switching apps or something like that? > > Ideally, the way it would work is you find a blog post or something > that you like, then you go to a drop-down menu, and select 'mail this > to me'. Are there any plugins that are so savvy? Regarding your interface preferences, lynx itself provides precisely such a menu. Providing appropriate scripts, for the entries in the menu to call, is up to you. See http://lynx.invisible-island.net/lynx_help/cattoc.html#header007
[toc] | [prev] | [next] | [standalone]
| From | davidson@freevolt.org |
|---|---|
| Date | 2016-11-09 22:10 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sBIi6-49G-45@gated-at.bofh.it> |
| In reply to | #174443 |
On Wed, 9 Nov 2016, davidson@freevolt.org wrote: > See > > http://lynx.invisible-island.net/lynx_help/cattoc.html#header007 > ...or the extensive comments on the EXTERNAL variable in /etc/lynx-cur/lynx.cfg
[toc] | [prev] | [next] | [standalone]
| From | davidson@freevolt.org |
|---|---|
| Date | 2016-11-10 01:40 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sBLzj-6wR-21@gated-at.bofh.it> |
| In reply to | #174443 |
On Wed, 9 Nov 2016, davidson@freevolt.org wrote:
> On Sat, 5 Nov 2016, Dan Hitt wrote:
>
>> Thanks Miles (and also Dan P and Celejar for other solutions).
>>
>> Indeed Firefox has an archive format (maybe called 'maff'?), but how
>> could you mail it to yourself?
>>
>> That is, how could you mail the maff without taking your hands off the
>> keyboard, or switching apps or something like that?
>>
>> Ideally, the way it would work is you find a blog post or something
>> that you like, then you go to a drop-down menu, and select 'mail this
>> to me'. Are there any plugins that are so savvy?
>
> Regarding your interface preferences, lynx itself provides precisely
> such a menu. Providing appropriate scripts, for the entries in the
> menu to call, is up to you.
>
> See
>
> http://lynx.invisible-island.net/lynx_help/cattoc.html#header007
But wait!
In lynx, for this particular task it gets even easier:
While viewing a web page in lynx, issue the PRINT command (either by
hitting the locally mapped key, which is probably 'p', or by entering
':print').
You will be offered a menu of links like this:
Print Options:
Save to a local file
Mail the file
Print to the screen
Print out on a printer attached to your vt100 terminal
Select the 'Mail the file' link, and you'll be prompted for an email
address to which to send the page.
What gets mailed is WYSIWYG: If you are viewing the rendered page,
only the plain text (as rendered) will be mailed. To mail the html
document lynx was served, switch to source view first (hit '\' or
enter ':source' ) and then mail it.
[toc] | [prev] | [next] | [standalone]
| From | Dan Hitt <dan.hitt@gmail.com> |
|---|---|
| Date | 2016-11-10 04:40 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sBOnw-8pu-9@gated-at.bofh.it> |
| In reply to | #174450 |
ok, thanks Davidson, very much. this indeed works for me (opening an url in lynx, the 'p' to print, then choose mail). i guess the only wrinkle is that you have to do it on some host where mail works. and perhaps that's why browsers like firefox do not do this---i suppose that often when you set up a computer at home, you won't provision it to be able to send mail. If this is really the case, then it would be a support headache if people were always calling in asking for help in setting up mail on their boxes. anyhow, for my use case, which is to do this, but pretty infrequently, your method is as good as i could reasonably hope for. dan On Wed, Nov 9, 2016 at 4:33 PM, <davidson@freevolt.org> wrote: > On Wed, 9 Nov 2016, davidson@freevolt.org wrote: > >> On Sat, 5 Nov 2016, Dan Hitt wrote: >> >>> Thanks Miles (and also Dan P and Celejar for other solutions). >>> >>> Indeed Firefox has an archive format (maybe called 'maff'?), but how >>> could you mail it to yourself? >>> >>> That is, how could you mail the maff without taking your hands off the >>> keyboard, or switching apps or something like that? >>> >>> Ideally, the way it would work is you find a blog post or something >>> that you like, then you go to a drop-down menu, and select 'mail this >>> to me'. Are there any plugins that are so savvy? >> >> >> Regarding your interface preferences, lynx itself provides precisely >> such a menu. Providing appropriate scripts, for the entries in the >> menu to call, is up to you. >> >> See >> >> http://lynx.invisible-island.net/lynx_help/cattoc.html#header007 > > > But wait! > > In lynx, for this particular task it gets even easier: > > While viewing a web page in lynx, issue the PRINT command (either by > hitting the locally mapped key, which is probably 'p', or by entering > ':print'). > > You will be offered a menu of links like this: > > Print Options: > Save to a local file > Mail the file > Print to the screen > Print out on a printer attached to your vt100 terminal > > Select the 'Mail the file' link, and you'll be prompted for an email > address to which to send the page. > > What gets mailed is WYSIWYG: If you are viewing the rendered page, > only the plain text (as rendered) will be mailed. To mail the html > document lynx was served, switch to source view first (hit '\' or > enter ':source' ) and then mail it. >
[toc] | [prev] | [next] | [standalone]
| From | jeremy bentham <dnw@eskimo.com> |
|---|---|
| Date | 2016-11-07 03:50 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sAIat-5kG-3@gated-at.bofh.it> |
| In reply to | #174215 |
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? > > This could be a stand-alone app on the desktop, or a plug-in to a > browser, or a web site, or some combo. (I guess it could be a > pipeline of curl and some mail program, but i'm afraid i'd just get > piles of incomprehensible text.) > > I would plan on sending the mail to my gmail account (for searching > and archival purposes). > > TIA for any clues. > > dan I use lynx for this; it's not completely automagic, you have to configure it a little. And it has the drawback that it doesn't do javascript. In my case that doesn't matter, but you probably have different needs. -- Dave Williams dnw@eskimo.com
[toc] | [prev] | [next] | [standalone]
| From | billwill onggo <billwill.onggo@gmail.com> |
|---|---|
| Date | 2016-11-07 04:50 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sAJ6y-5Y3-13@gated-at.bofh.it> |
| In reply to | #174269 |
[Multipart message β attachments visible in raw view] — view raw
Phantomjs? Well, it cant send email, but it does dom manipulation and it exports to pdf. We might be able to remove the navigation bar, ads and etc. On Nov 7, 2016 09:45, "jeremy bentham" <dnw@eskimo.com> wrote: > 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? > > > > This could be a stand-alone app on the desktop, or a plug-in to a > > browser, or a web site, or some combo. (I guess it could be a > > pipeline of curl and some mail program, but i'm afraid i'd just get > > piles of incomprehensible text.) > > > > I would plan on sending the mail to my gmail account (for searching > > and archival purposes). > > > > TIA for any clues. > > > > dan > > I use lynx for this; it's not completely automagic, you have to > configure it a little. And it has the drawback that it doesn't > do javascript. > > In my case that doesn't matter, but you probably have different > needs. > > -- > Dave Williams dnw@eskimo.com > >
[toc] | [prev] | [next] | [standalone]
| From | Darac Marjal <mailinglist@darac.org.uk> |
|---|---|
| Date | 2016-11-07 13:20 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sAR46-30v-25@gated-at.bofh.it> |
| In reply to | #174215 |
[Multipart message β attachments visible in raw view] — view raw
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? This sounds like you want a www4mail server. www4mail servers are (were? I'm not sure if any still exist) a gateway service intended for people with limited access (for example, the developing world, where I have seen instances of "weekly internet access": a man comes around on a motorbike carrying the internet). The idea is that you send an email to, say www4mail@example.org with the contents "GET http://www.debian.org" and the www4mail server will fetch that page, render it as text (or, uniquely to www4mail servers) as a modified HTML page wherein links are 'defanged' and can be used to generate subsequent emails. There's a nice article on www4mail at LinuxJournal https://www.linuxjournal.com/article/3825. > >This could be a stand-alone app on the desktop, or a plug-in to a >browser, or a web site, or some combo. (I guess it could be a >pipeline of curl and some mail program, but i'm afraid i'd just get >piles of incomprehensible text.) > >I would plan on sending the mail to my gmail account (for searching >and archival purposes). > >TIA for any clues. > >dan > -- For more information, please reread.
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2016-11-07 14:30 +0100 |
| Subject | Re: looking for a piece of software that will take an url (say to a blog post) and email me the contents |
| Message-ID | <sAS9Q-3GK-27@gated-at.bofh.it> |
| In reply to | #174215 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web