feed-nim
feed-nim copied to clipboard
A feed parsing module for Nim
When I parse RSS feed : https://www.euronews.com/rss?format=mrss&level=theme&name=news I get an error: ``` fatal.nim(54) sysFatal Error: unhandled exception: index 8 not in 0 .. 7 [IndexDefect] ``` While parsing similar URL...
Hello good sir. I believe I've addressed the CData handling of the parseText() functions in the atom and rss modules. It turns out that a xnCData type of XmlNode has...
Another simple fix! I had a crash when the feed content was shorter than 9 characters because of the check if the first 9 characters matched `
After running `nimble install feednim`, I was unable to actually import `FeedNim` into my project: ``` /home/reesmichael1/.nimble/pkgs/FeedNim-0.2.1/FeedNim.nim(3, 15) Error: cannot open file: feednim/atom ``` This was because `FeedNim.nim` was importing...
Atom common attributes xml:lang and xml:base aren't collected, so you can't access them. This is no good.
I think the encoding gets changed, causing the tests to fail. Investigate!
At the moment all the authors and categories found in each entry/item get copied to the feed-level node. In some ways this is good, I guess, but it's incorrect.
Tests should be expanded to some feeds in the wild.