feed-to-mail

command module
v0.0.0-...-de5500c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2019 License: MIT Imports: 11 Imported by: 0

README

feed-to-mail

usage: feed-to-inbox [<flags>] <feed> <to> <smtp> <smtp_port> <smtp_user> [<smtp_pw>]

Flags:
  --help  Show context-sensitive help (also try --help-long and --help-man).

Args:
  <feed>       URL for the feed you wish sent to you.
  <to>         Recipient email address.
  <smtp>       SMTP server address used to send the email.
  <smtp_port>  The port to use for the SMTP server.
  <smtp_user>  Username to use for the SMTP server.
  [<smtp_pw>]  Password to use for the SMTP server.

Running this script will parse a provided RSS or Atom feed and send you a list of new posts along with links and publish dates.

To prevent sending posts more than once, the date of the most recent post is stored for each feed, and all posts published before that date are ignored.

The email sent will look something like this:

Example post title (https://example.com/post/example-post-title) - Published 2019-12-23 at 10:02

--

Example post (https://example.com/post/example-post) - Published 2019-11-02 at 14:55

--

Third example post (https://example.com/post/third-example-post) - Published 2018-05-14 at 22:34

--

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL