diff options
Diffstat (limited to 'src/FeedNim.nim')
| -rw-r--r-- | src/FeedNim.nim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/FeedNim.nim b/src/FeedNim.nim index be9832d..f6fc9cd 100644 --- a/src/FeedNim.nim +++ b/src/FeedNim.nim @@ -1,8 +1,8 @@ import httpclient -import feednim/atom -import feednim/rss -import feednim/jsonfeed +import FeedNim/atom +import FeedNim/rss +import FeedNim/jsonfeed proc loadAtom*(filename: string): Atom = ## Loads the Atom from the given ``filename``. var Atom: string = readFile(filename) # Load the data from the file. @@ -30,4 +30,4 @@ proc loadJsonFeed*(filename: string): JsonFeed = ## Loads the JSONFeed from the proc getJsonFeed*(url: string): JsonFeed = ## Gets the JSONFeed over from the specified ``url``. var jsonFeed: string = newHttpClient().getContent(url) # Get the data. - return parseJSONFeed(jsonFeed)
\ No newline at end of file + return parseJSONFeed(jsonFeed) |
