项目作者: MattKevan

项目描述 :
Ruby script to import RSS feed items and save them as Jekyll posts/collections.
高级语言: Ruby
项目地址: git://github.com/MattKevan/Jekyll-feed-importer.git
创建时间: 2021-04-08T12:24:05Z
项目社区:https://github.com/MattKevan/Jekyll-feed-importer

开源协议:

下载


Jekyll feed importer

Ruby script to import items from specified RSS feeds and save them as Jekyll posts/collections. I should probably turn this into a plugin, but for now this works for me.

Usage

Ensure the feed-normalizer, yaml, to_slug and sanitize gems are installed.

Set feed_file to the location of your list of RSS feeds to check. This needs to be a YAML file with the following structure:

  1. - name: [Site name]
  2. feed: [Feed URL]

Set output_location to where you want the posts to be saved (without the trailing slash).

Run ruby feeds.rb