<commit_before># Feed for Node.js

**Feed for Node.js** is a simple content syndication wrapper, letting you generate painlessly some Atom 1.0 and RSS 2.0 feeds!

## Install

	$ npm install feed

## Examples

First, you have to add the module:

	var Feed = require('feed');

To insert the data you want to syndicate:

	var feed = new Feed({
		title:			'My Blog Name',
		link:			'http://example.com/',
		description:	'This is my blog description'
	});

To insert every posts you want to (as many as you want), use the function `item` as followed:

	for(post in posts) {
		feed.item({
			title:			post.title,
			link:			post.url,
			description:	post.description,
			date:			posts.date
		});
	}

To output a RSS 2.0 feed:

	feed.render('rss-2.0');<commit_msg>updating readme<commit_after># Feed for Node.js

**Feed for Node.js** is a simple content syndication wrapper, letting you generate painlessly some Atom 1.0 and RSS 2.0 feeds!

## Install

	$ npm install feed

## Examples

First, you have to add the module:

```js
var Feed = require('feed');
```

To insert the data you want to syndicate:

```js
	var feed = new Feed({
		title:			'My Blog Name',
		link:			'http://example.com/',
		description:	'This is my blog description'
	});
```

To insert every posts you want to (as many as you want), use the function `item` as followed:

```js
	for(post in posts) {
		feed.item({
			title:			post.title,
			link:			post.url,
			description:	post.description,
			date:			posts.date
		});
	}
```

To output a RSS 2.0 feed:

```js
	feed.render('rss-2.0');
```
{'fraction_non_alphanumeric': 0.12733118971061094, 'fraction_numerical': 0.010289389067524116, 'mean_word_length': 3.3102493074792245, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1386314', 'n_tokens_mistral': 597, 'n_tokens_neox': 526, 'n_words': 204}