TrisectDevelopment Active Member Licensed User Longtime User Sep 28, 2011 #1 I working on an App that should read from RSS feed. I cant seem to find any solution on this board. How do I read from a RSS feed and how do I display it?
I working on an App that should read from RSS feed. I cant seem to find any solution on this board. How do I read from a RSS feed and how do I display it?
TrisectDevelopment Active Member Licensed User Longtime User Sep 28, 2011 #3 I have seen that but I dont get it. I dont have an XML file. Heres the link I need to use Android nyheder-nyheds sektionen om Google Android og apps I dont think it returns a XML file. Upvote 0
I have seen that but I dont get it. I dont have an XML file. Heres the link I need to use Android nyheder-nyheds sektionen om Google Android og apps I dont think it returns a XML file.
NJDude Expert Licensed User Longtime User Sep 28, 2011 #4 Yes it is an XML and you can also use the example to read this XML, just add the XML to the project files and change the name on the code. I have attached a copy of the XML you put on the link. Attachments XML.zip XML.zip 3.3 KB · Views: 722 Upvote 0
Yes it is an XML and you can also use the example to read this XML, just add the XML to the project files and change the name on the code. I have attached a copy of the XML you put on the link.
TrisectDevelopment Active Member Licensed User Longtime User Sep 29, 2011 #5 The question is then How did you get that XML in B4A? Last edited: Sep 29, 2011 Upvote 0
NJDude Expert Licensed User Longtime User Sep 29, 2011 #6 If by "gettting it to B4A" you mean how to add it to your project, you will have to ADD FILES, you will see that button on the designer, click there and then search for the XML you need and that's all. Read the sample code I mentioned before, these lines load the XML: Code: Copy Dim in As InputStream in = File.OpenInput(File.DirAssets, "test.xml") '<--- Your XML file name Parser.Parse(in, "Parser") in.Close Check the attached picture. Attachments AddFiles.JPG 6.3 KB · Views: 668 Upvote 0
If by "gettting it to B4A" you mean how to add it to your project, you will have to ADD FILES, you will see that button on the designer, click there and then search for the XML you need and that's all. Read the sample code I mentioned before, these lines load the XML: Code: Copy Dim in As InputStream in = File.OpenInput(File.DirAssets, "test.xml") '<--- Your XML file name Parser.Parse(in, "Parser") in.Close Check the attached picture.
TrisectDevelopment Active Member Licensed User Longtime User Oct 6, 2011 #7 No I mean how do I call that RSS link in B4A and recieve the XML so I can display whatever et gets? Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 8, 2011 #8 Use HttpUtils to download the XML response. Upvote 0
C CidTek Active Member Licensed User Longtime User Mar 20, 2013 #9 I just started thinking about displaying an RSS feed myself. My question is if an RSS feed displays fine in a browser, can you not just use a webview to display it? Upvote 0
I just started thinking about displaying an RSS feed myself. My question is if an RSS feed displays fine in a browser, can you not just use a webview to display it?