feeds icon indicating copy to clipboard operation
feeds copied to clipboard

RSS Parser Library

Open devYonz opened this issue 2 years ago • 5 comments

Hey @agazso, you may have the best RN RSS parser that supports both Atom and RSS 1.0 and 2.0 specs. Would be great to see the RSSFeedHelper broken out to a an RN-rss-parser or something like that. I'm sure you had already looked at react-native-rss-parser or tried to rn-nodify rss-parser before resorting to building your own.

One huge feature would be to implement a light HTML parser for content values like Reddit. I am currently using RenderHtml from "react-native-render-html"; but it is doing too much.

Reddit content value for: https://www.reddit.com/top.rss?t=all <content type="html">&lt;table> &lt;tr>&lt;td> &lt;a href="https://www.reddit.com/r/pics/comments/haucpf/ive_found_a_few_funny_memories_during_lockdown/"> &lt;img src="https://preview.redd.it/f58v4g8mwh551.jpg?width=640&amp;amp;crop=smart&amp;amp;auto=webp&amp;amp;s=f1ac5ce4b8411b6ba000dc0c4c37cd2e926fe814" alt="I’ve found a few funny memories during lockdown. This is from my 1st tour in 89, backstage in Vegas." title="I’ve found a few funny memories during lockdown. This is from my 1st tour in 89, backstage in Vegas." /> &lt;/a> &lt;/td>&lt;td> &amp;#32; submitted by &amp;#32; &lt;a href="https://www.reddit.com/user/ReallyRickAstley"> /u/ReallyRickAstley &lt;/a> &amp;#32; to &amp;#32; &lt;a href="https://www.reddit.com/r/pics/"> r/pics &lt;/a> &lt;br/> &lt;span>&lt;a href="https://i.redd.it/f58v4g8mwh551.jpg">[link]&lt;/a>&lt;/span> &amp;#32; &lt;span>&lt;a href="https://www.reddit.com/r/pics/comments/haucpf/ive_found_a_few_funny_memories_during_lockdown/">[comments]&lt;/a>&lt;/span> &lt;/td>&lt;/tr>&lt;/table></content>

devYonz avatar Nov 17 '22 17:11 devYonz