aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: f5c812b385499d9db3fcfe24a8dc0004a011ab13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Feed-Nim
A feed parsing module for Nim, which reads RSS, Atom, and JSONfeed syndication formats. This was a re-written and expanded from [Nim-RSS](https://github.com/achesak/nim-rss)

## Usage

<code>loadAtom(filename: string): Atom</code> Loads the Atom from the given _filename_

<code>getAtom(url: string):</code> Gets the Atom over from the specified _url_

<code>loadRSS(filename: string): RSS</code> Loads the RSS from the given _filename_

<code>getRSS(url: string):</code> Gets the RSS over from the specified _url_

<code>loadJsonFeed(filename: string):JSONfeed</code> Loads the JSONFeed from the given _filename_

<code>getJsonFeed(url: string): </pre>JsonFeed = JSONFeed over from the specified _url_