Answer the question
In order to leave comments, you need to log in
How to implement parsing news from a website for an Android application?
I am making an application in which it will be possible to read news from the site. The question arose of how to correctly transfer news from a site with style support: indents, italics, bold text, hyperlinks, pictures and their alignment, video?
For example, like here: I
made a news feed using JSON, but what should I use here?
Answer the question
In order to leave comments, you need to log in
Alternatively, you can use the Readability Developers API - https://www.readability.com/developers/api
Yes, even with the help of the same json. Just escape quotes or replace them with single quotes.
If you are satisfied with how the site itself looks on the mobile. devices, then a regular WebView should be sufficient.
There are really only 2 options.
Or pass html5 which you display in webview.
Or make your own format and your own parser :)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question