Skip to content

Commit

Permalink
Merge pull request #4 from andyof/patch-1
Browse files Browse the repository at this point in the history
Regroup and reorder the sections in README
  • Loading branch information
theagora authored Nov 13, 2020
2 parents ee83475 + f4f09f6 commit 6688f1c
Showing 1 changed file with 18 additions and 20 deletions.
38 changes: 18 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,39 +9,37 @@ comments_id: 1
Read blogs on demand.

| Source | Importer | Update |
| ------ | -------- | ------ |
| :----- | :------- | :----- |
| INITIUM | RSSINITIUM | Daily |
| MATTERS | RSSMATTERS | Daily |
| VOCUS | RSSVOCUS | Daily |


## Import and Commit

```
# Customize RSS importers in local gem 'jekyll-import':
$ ls .../gems/jekyll-import-{version}/lib/jekyll-import/importers/rss*
# rssinitium.rb rssmatters.rb rssvocus.rb
# Import RSS feeds and commit posts back:
$ ./_feed.sh # pull, import, archive, add, commit, push
```

## Batch and Automate

[Check comment](https://github.com/agorahub/news0/issues/1#issuecomment-597540617)

## Test and Deploy

```
# Edit _config.yml for local bundle test:
$ gem install bundler jekyll
$ vim _config.yml # Configure to test or deploy.
$ bundle exec jekyll serve
# => Now browse to http://localhost:4000
# Edit _config.yml for production bundle:
$ JEKYLL_ENV=production bundle exec jekyll build
# Copy the compiled codes from _site/ to your html server.
# Copy the compiled codes from _site/ to html server.
```

## Import and Commit

```
$ cd .../gems/jekyll-import-{version}/lib/jekyll-import/importers/
$ vim rssinitium.rb rssmatters.rb rssvocus.rb # Customize importers.
$ ./_feed.sh # Batch import and commit posts.
```

## List of Features

- [x] Batch and Automate - Check out the [issue comment](https://github.com/agorahub/news0/issues/1#issuecomment-597540617)
- [ ] Comment on Posts - Check out the [proposing issue](https://github.com/agorahub/news0/issues/3)

{% include comments.html %}

Expand Down

0 comments on commit 6688f1c

Please sign in to comment.