Skip to content

Commit 904aa27

Browse files
committed
docs(readme): Don't recommend abandoned project
It seems like the shipped feed parser is in line with node-feedparser feature-wise and it is maintained, so the previous recommendation no longer makes sense.
1 parent b743b3b commit 904aa27

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,14 @@ const dom = htmlparser2.parseDocument(htmlString);
117117
The `DomHandler`, while still bundled with this module, was moved to its [own module](https://github.com/fb55/domhandler).
118118
Have a look at that for further information.
119119

120-
## Parsing RSS/RDF/Atom Feeds
120+
## Parsing Feeds
121+
122+
`htmlparser2` makes it easy to parse RSS, RDF and Atom feeds, by providing a `parseFeed` method:
121123

122124
```javascript
123125
const feed = htmlparser2.parseFeed(content, options);
124126
```
125127

126-
Note: While the provided feed handler works for most feeds,
127-
you might want to use [danmactough/node-feedparser](https://github.com/danmactough/node-feedparser), which is much better tested and actively maintained.
128-
129128
## Performance
130129

131130
After having some artificial benchmarks for some time, **@AndreasMadsen** published his [`htmlparser-benchmark`](https://github.com/AndreasMadsen/htmlparser-benchmark), which benchmarks HTML parses based on real-world websites.

0 commit comments

Comments
 (0)