<commit_before># gofeed 

[![Build Status](https://travis-ci.org/mmcdole/gofeed.svg?branch=master)](https://travis-ci.org/mmcdole/gofeed) [![Coverage Status](https://coveralls.io/repos/github/mmcdole/gofeed/badge.svg?branch=master)](https://coveralls.io/github/mmcdole/gofeed?branch=master) [![](https://godoc.org/github.com/mmcdole/gofeed?status.svg)](http://godoc.org/github.com/mmcdole/gofeed) [![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg)]()

The `gofeed` library is a robust feed parser that supports parsing both [RSS](https://en.wikipedia.org/wiki/RSS) and [Atom](https://en.wikipedia.org/wiki/Atom_(standard)) feeds.  These can be parsed faithfully into their respective ```atom.Feed``` and ```rss.Feed``` representations using the ```atom.Parser``` or ```rss.Parser```. You can also parse them with the universal ```gofeed.FeedParser``` that will detect the feed type, parse it and then normalize both types of feeds into a hybrid ```gofeed.Feed``` representation.

##### Supported feed types:
* RSS 0.90
* Netscape RSS 0.91
* Userland RSS 0.91
* RSS 0.92
* RSS 0.93
* RSS 0.94
* RSS 1.0
* RSS 2.0
* Atom 0.3
* Atom 1.0<commit_msg>Add goreportcard badge<commit_after># gofeed 

[![Build Status](https://travis-ci.org/mmcdole/gofeed.svg?branch=master)](https://travis-ci.org/mmcdole/gofeed) [![Coverage Status](https://coveralls.io/repos/github/mmcdole/gofeed/badge.svg?branch=master)](https://coveralls.io/github/mmcdole/gofeed?branch=master) [![](https://godoc.org/github.com/mmcdole/gofeed?status.svg)](http://godoc.org/github.com/mmcdole/gofeed) [![Go Report Card](https://goreportcard.com/badge/github.com/mmcdole/gofeed)](https://goreportcard.com/report/github.com/mmcdole/gofeed) [![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg)]()

The `gofeed` library is a robust feed parser that supports parsing both [RSS](https://en.wikipedia.org/wiki/RSS) and [Atom](https://en.wikipedia.org/wiki/Atom_(standard)) feeds.  These can be parsed faithfully into their respective ```atom.Feed``` and ```rss.Feed``` representations using the ```atom.Parser``` or ```rss.Parser```. You can also parse them with the universal ```gofeed.FeedParser``` that will detect the feed type, parse it and then normalize both types of feeds into a hybrid ```gofeed.Feed``` representation.

##### Supported feed types:
* RSS 0.90
* Netscape RSS 0.91
* Userland RSS 0.91
* RSS 0.92
* RSS 0.93
* RSS 0.94
* RSS 1.0
* RSS 2.0
* Atom 0.3
* Atom 1.0
{'fraction_non_alphanumeric': 0.1744186046511628, 'fraction_numerical': 0.020850040096230954, 'mean_word_length': 5.085365853658536, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 18, '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': '1901787', 'n_tokens_mistral': 945, 'n_tokens_neox': 848, 'n_words': 196}