Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 1.04 KB

README.md

File metadata and controls

37 lines (25 loc) · 1.04 KB

Heroku app: comics-feed

A sample Heroku application that embeds the comic strip images to a given feed.

Usage

git clone https://github.com/leesei/heroku-comics-feed.git
heroku apps:create NAME
git push heroku master

Then visit http:/_NAME_.herokuapp.com/embed/_URL_, where:

  • NAME is the Heroku app name you specified
  • URL is the encodeURIComponent()-encoded URL of the feed you want to embed comic strips in.

Index page http:/_NAME_.herokuapp.com/ helps to URI-encode feed url.

Check node-comics-feed for supported sites.

Tested on

http://localhost:5000/embed/http%3A%2F%2Ffeed.dilbert.com%2Fdilbert%2Fdaily_strip
http://localhost:5000/embed/http%3A%2F%2Ffeeds.feedburner.com%2Fuclick%2Fdilbert-classics

To local host the application:

git clone https://github.com/leesei/heroku-comics-feed.git
npm install
node index.js
# or
foreman start