Skip to content

alx/refinery-import-ml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Refinerycms Mailing-List import

At Tetalab, most of our content is generated on our mailing-list.

Because we want people to read some of this content on the website, and without subscribing on the mailing list, this script helps with reading mails from a gmail account, select the interesting subjects, and import the content in refinerycms-blog engine.

Configuration

  • copy config.yml.sample to config.yml
  • insert your gmail details in config.yml
  • insert the path to your production sqlite3 db in config.yml

Usage

  • Display all avalaible mails for import:
    ruby mailing.rb
  • Select a particular mail from this list into refinerycms-blog engine database:
    ruby mailing.rb 3
  • Mark all mails as read
    ruby mailing.rb 0

About

Import mails from mailing list to Refinerycms blog posts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages