Skip to content

Commit

Permalink
Merge pull request #29 from jekyll/jekyll-feed
Browse files Browse the repository at this point in the history
Rename to Jekyll Feed
  • Loading branch information
benbalter committed May 20, 2015
2 parents b40e9ab + 72d2d90 commit 1162ebb
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 14 deletions.
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
source 'https://rubygems.org'

# Specify your gem's dependencies in jekyll-rss-feed.gemspec
gemspec
16 changes: 10 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# Jekyll RSS feed plugin
# Jekyll Feed plugin

A Jekyll plugin to generate an RSS (Atom) feed for your Jekyll posts
A Jekyll plugin to generate an Atom (RSS-like) feed of your Jekyll posts

[![Build Status](https://travis-ci.org/jekyll/jekyll-rss-feed.svg)](https://travis-ci.org/jekyll/jekyll-rss-feed) [![Gem Version](https://badge.fury.io/rb/jekyll-rss-feed.svg)](http://badge.fury.io/rb/jekyll-rss-feed)
[![Build Status](https://travis-ci.org/jekyll/jekyll-feed.svg)](https://travis-ci.org/jekyll/jekyll-feed) [![Gem Version](https://badge.fury.io/rb/jekyll-feed.svg)](http://badge.fury.io/rb/jekyll-feed)

## Installation

Add this line to your site's Gemfile:

```ruby
gem 'jekyll-rss-feed'
gem 'jekyll-feed'
```

And then add this line to your site's `_config.yml`:

```yml
gems:
- jekyll-rss-feed
- jekyll-feed
```
## Usage
Expand Down Expand Up @@ -51,9 +51,13 @@ Additionally, the plugin will use the following values, if present in a post's Y

The plugin exposes a helper tag to expose the appropriate meta tags to support automated discovery of your feed. Simply place `{% feed_meta %}` someplace in your template's `<head>` section, to output the necessary metadata.

## Why Atom, and not RSS?

Great question. In short, Atom is a better format. Think of it like RSS 3.0. For more information, see [this discussion on why we chose Atom over RSS 2.0](https://github.com/jekyll/jekyll-rss-feed/issues/2).

## Contributing

1. Fork it (https://github.com/jekyll/jekyll-rss-feed/fork)
1. Fork it (https://github.com/jekyll/jekyll-feed/fork)
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
Expand Down
6 changes: 3 additions & 3 deletions jekyll-rss-feed.gemspec → jekyll-feed.gemspec
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# coding: utf-8

Gem::Specification.new do |spec|
spec.name = "jekyll-rss-feed"
spec.name = "jekyll-feed"
spec.version = "0.0.1"
spec.authors = ["Ben Balter"]
spec.email = ["[email protected]"]
spec.summary = "A Jekyll plugin to generate an RSS feed for your Jekyll posts"
spec.homepage = "https://github.com/jekyll/jekyll-rss-feed"
spec.summary = "A Jekyll plugin to generate an Atom feed of your Jekyll posts"
spec.homepage = "https://github.com/jekyll/jekyll-feed"
spec.license = "MIT"

spec.files = `git ls-files -z`.split("\x0")
Expand Down
2 changes: 1 addition & 1 deletion lib/jekyll-rss-feed.rb → lib/jekyll-feed.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def render(context)
end
end

class JekyllRssFeed < Jekyll::Generator
class JekyllFeed < Jekyll::Generator
safe true
priority :lowest

Expand Down
2 changes: 1 addition & 1 deletion script/cibuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#! /bin/bash

bundle exec rspec
gem build jekyll-rss-feed.gemspec
gem build jekyll-feed.gemspec
2 changes: 1 addition & 1 deletion spec/jekyll-rss-feed_spec.rb → spec/jekyll-feed_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
require 'spec_helper'

describe(Jekyll::JekyllRssFeed) do
describe(Jekyll::JekyllFeed) do
let(:overrides) do
{
"source" => source_dir,
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'typhoeus'
require 'nokogiri'
require 'rss'
require File.expand_path('../lib/jekyll-rss-feed', File.dirname(__FILE__))
require File.expand_path('../lib/jekyll-feed', File.dirname(__FILE__))

Jekyll.logger.log_level = :error

Expand Down

0 comments on commit 1162ebb

Please sign in to comment.