Currently, I am developing an RSS feed application using AngularJS with JSON data as a base. You can check out the progress here.
So far, I have successfully extracted the post titles and content. However, I encountered an issue while handling the content data. My goal is to remove all HTML entities from it and present it in a clean format similar to the Pocket app:
Specifically, I aim to display:
- Plain text content (maintaining the paragraph structure from the source feed)
- Center aligned images
- Hyperlinks
- List items (both unordered and ordered)
- Videos (from embed tags, if any are present)
I have looked into ngSanitize but found it challenging to comprehend how to utilize it for the desired outcome.
Any suggestions on how to accomplish this?