This package has been deprecated

Author message:

WARNING: This package has been renamed to feed-parser. Please install that instead.

blogger-feed-parser

1.0.17 • Public • Published

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](https://github.com/abhisheksoni27/blogger-feed-parser)

Readme

Keywords

none

Package Sidebar

Install

npm i blogger-feed-parser

Weekly Downloads

2

Version

1.0.17

License

MIT

Last publish

Collaborators

  • abhisheksoni27