1.0.17 • Published 7 years ago

blogger-feed-parser v1.0.17

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Blogger Feed Parser

NOTE: THIS PACKAGE HAS BEEN DEPRECATED. PLEASE USE feed-parser

It parses a Blogger feed and de-clutters the article objects to return a simple array of articles.

Installation

npm install blogger-feed-parser --save

Usage

var feedBlogger = require('blogger-feed-parser');

/**It exposes a function called feedBlogger.

    @feedURL: The URL of the Blogger feed,
    @callbackFunction: This function will be called with the array of articles after successful execution.

Use a try-catch block to catch for any errors.
*/


try { 
feedBlogger.parseBlog(feedURL, callbackFunction); 
} catch(error) {
console.log(error)
}

Output

It returns an array of articles which have five entries.

>[{title:"TITLE OF THE POST",description:"DESCRIPTION OF THE POST",
date:"DATE OF PUBLISHING",image:"IMAGE URL FOR THUMBNAIL",
author:"AUTHOR'S NAME"}, ...//Other entries]

Contributing

  1. Clone this repository.

  2. Install required modules.

  cd blogger-feed-parser
  npm install

-> Start Hacking.

Issue a Pull request to the development branch.

Github: Blogger Feed Parser

1.0.17

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago