modulepackage
0.0.0-20190507183633-f862cce5996a
Repository: https://github.com/wbernest/atom-parser.git
Documentation: pkg.go.dev
# README
Atom Feed Parser
This package allows a user to parse atom feeds either from a string of xml or directly from a URL.
There is also a CompareItems function that will compare two Atom Feeds and return any items that do not exist in both.
# Functions
CompareItems - This function will used to compare 2 atom feed xml item objects and will return a list of differing items.
CompareItemsBetweenOldAndNew - This function will used to compare 2 atom xml event objects and will return a list of items that are specifically in the newer feed but not in the older feed.
IsValidFeed checks feed to see if it is an Atom feed.
ParseString will be used to parse strings and will return the Atom object.
ParseURL will be used to parse a string returned from a url and will return the Rss object.