Skip to content

Instantly share code, notes, and snippets.

@digilord
Created September 29, 2010 18:37
Show Gist options
  • Save digilord/603282 to your computer and use it in GitHub Desktop.
Save digilord/603282 to your computer and use it in GitHub Desktop.
:mail: # Parameters for GMail or Google Apps for your Domain
:smtp_server: smtp.gmail.com
:smtp_port: 587
:domain: example.com
:user_name: john.doe@example.com
:password: password
:authentication: plain
:enable_starttls_auto: true
:general:
# Make this something unique that stands out to you.
# As a suggestion use the title of the site you are
# pulling videos from.
:email_title: Railscasts
# Domain is used to build up the links to download the videos.
# This MIGHT be different from the video archive URL, i.e.,
# http://media.example.com.
:domain: http://www.railscasts.com
# Use the selector gadget from http://selectorgadget.com
# to find the anchor that represents the video.
:video_css_selector: ".download a"
# Use this to find all the links to the pages that have the
# videos.
:archive_page_css_selector: "#main a"
# This is the text that is inside the anchor tag.
:video_link_text: Download
# Most video sites have an archive page. You want that here.
:video_archive_url: http://www.railscasts.com/episodes/archive
# Who do you want the emails to go to? This can be a comma
# separated list.
:mail_to: john.doe@example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment