Answer the question
In order to leave comments, you need to log in
Is it possible to convert RSS to JSON? Are there other options?
Hello. There is a site of free announcements having RSS. There is also an application for android on WebView. Is it possible to somehow convert RSS to JSON to get a more adequate application? If so, where is it better to convert - in the application or on the server? I think it will be expensive to convert on the server in terms of resources, but on the phone ... I don’t even know. Or maybe RSS itself can be used instead of JSON? Will this method work on an iPhone? Thanks in advance
Answer the question
In order to leave comments, you need to log in
Not a very clear question. Do you want to create your own application on android, and display data from the ad site there? If you know how to work with json, then there should be no issues with rss(xml). You can convert it like this (did not check):
JSONObject jObject = XML.toJSONObject("ваш xml");
String json = jObject.toString();
I think it will be expensive to convert on the server in terms of resources- on what resources - financial. You can take VPS for $1, and this is not a burden for him at all (in the literal sense of the word).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question