How to add a newsletter to an Hexo blog

Hexo is a fast and simple blog framework powered by Node.js. But there is no built-in way to send newsletters to your subscribers.

In this guide, we'll show you how to add a newsletter to your Hexo blog using RssFeedPulse.

What is an RSS feed?

An RSS feed is a simple text file that contains your latest blog posts in XML format. It's a standard format that allows other websites and services to read your content.

If you're using Hexo, it is possible to generate an RSS feed automatically using a plugin like

Create your feed

To create an RSS feed in Hexo, you need to install a plugin. I would recommend hexo-feed, because it support tags and categories.

npm install hexo-feed --save-dev

And then configure your plugin

    limit: 20
    order_by: "-date"
    tag_dir: "tag"
    category_dir: "category"
        enable: true
        template: "themes/theme/layout/_alternate/rss.ejs"
        output: "rss.xml"
        enable: true
        template: "themes/theme/layout/_alternate/atom.ejs"
        output: "atom.xml"
        enable: true
        template: "themes/theme/layout/_alternate/json.ejs"
        output: "feed.json"

And add the links to your layout

    <link rel="alternate" type="application/rss+xml" title="<%= config.title %>" href="<%= full_url_for(`/rss.xml}`) %>" />
    <link rel="alternate" type="application/atom+xml" title="<%= config.title %>" href="<%= full_url_for(`/atom.xml`) %>" />
    <link rel="alternate" type="application/json" title="<%= config.title %>" href="<%= full_url_for(`/feed.json`) %>" />

You're now ready to create a newsletter with RssFeedPulse.

Create a campaign in RssFeedPulse

To create a campaign in RssFeedPulse, you need to have an account. If you don't have one yet, you can create one here.

Once you have an account, you can create a new campaign by clicking on the "New campaign" button in the dashboard.

On the field "Feed Url", you need to enter the URL of your feed. In this case, it would be something like "".

Create a form to collect subscribers

To collect subscribers, you need to create a form and add it to your blog.

In RssFeedPulse, you can create you own form and customize it to match your blog's design.

Create this form on your blog and start collecting subscribers.