Custom Full Text Root for Article Parsing
1. Environment
- Device: [Moto E7 Power]
- OS: [Android 10]
- APP: [Latest]
2. Describe the feature request
One amazing feature from https://github.com/yanus171/Handy-News-Reader that can be replicated here is Custom Parsing of full text for articles. There you go to SETTING>Advanced and scroll down to content extraction rules. The in Full Text Root field if you put below lines
pulse.zerodha.com:class=title lenta.ru:class=b-topic__content wikipedia.org:id=bodyContent developer.android.com:id=body-content livejournal.com:class=entry-content nytimes.com:class=css-53u6y8 bhaskar.com:CLASS=f5afa1d3 gfycat.com:CLASS=video-container media-container noselect reddit.com:CLASS=entry stonetoss.com:ID=comic bakchodi.org:CLASS=comments business-standard.com:CLASS=content__standfirst article_content
It will only parse the required content with div elements having that specific class or id only in reader. This is extremely helpful to remove spam and things like that and get "just wha you want" for each website.
This can fix many RSS feed parse errors and the community can also maintain a common file containing parse rules for famous websites.