How to Add a Newsletter to Your Jekyll Blog

This guide explains how to integrate Hakanai Broadcast with your Jekyll-powered blog to automatically send newsletters based on your RSS feed.

Prerequisites

  • A Jekyll blog
  • A Hakanai account
  • Basic knowledge of Ruby and Bundler

Setting up RSS Feed in Jekyll

Jekyll can generate an RSS feed using the jekyll-feed plugin. Here's how to set it up:

1. Add Plugin to Gemfile

Add this line to your site's Gemfile:

gem 'jekyll-feed'

2. Configure Plugin

Add this line to your site's _config.yml:

plugins:
  - jekyll-feed

3. Install Plugin

Run this command to install the plugin:

bundle install

The plugin will automatically generate an Atom feed at /feed.xml.

For additional feed customization options, refer to the Jekyll Feed plugin documentation.

Integrating with Hakanai Broadcast

Once your RSS feed is set up, you can integrate it with Hakanai Broadcast in two steps:

1. Create a Campaign

  1. Navigate to the Campaigns section in your Hakanai dashboard
  2. Create a new RSS-based campaign
  3. Enter your Jekyll blog's RSS feed URL (typically https://yourblog.com/feed.xml)
  4. Configure your campaign settings

For detailed instructions on campaign creation and management, see our Campaign Management Guide.

2. Add a Subscription Form

To collect subscribers, you'll need to add a subscription form to your blog. Hakanai provides several options:

  • Use our pre-built forms
  • Create a custom form
  • Integrate with your existing forms

For form creation and customization instructions, check our Forms Documentation.

Next Steps

Need Help?

If you encounter any issues or need assistance, feel free to contact our support team.