B4A Library CustomRSSView

Similar threads

B4A Tutorial XML Parsing with the XmlSax library
B4A Question "Quote of the day" widget demo
B4A Question RSS feed question
B4A Question Combine 2 rss-feeds
B4A Question Rss Feed help

Alisson

Active Member
Licensed User
The code work it:
1- User conected loading rss
2- the code downloaded file rss.

If the users is offline, the file rss downloaded is read.

But if use read rss online and downloaded.
When accsses other module/view, example:

Loading module1/view1, the module/view RSS override the module1/view1.

I'll talk to my boss, available apk .

Thanks help.
 

Alisson

Active Member
Licensed User
NJDUde a found the error:


B4X:
Sub JobDone (Job As HttpJob)
   If Job.Success = True Then
       Job.Download(link1) '' I repeat the line, It is the error
           Dim out As  OutputStream
          out = File.OpenOutput(File.DirRootExternal,"folder/rss.xml",False)
           File.Copy2(Job.GetInputStream,out)
           out.Close
           Job.Release
   End If
   ProgressDialogHide
End Sub
The line is repeat: Job.Download(link1)
It is error.

Thanks very much!
 

tpakis

Active Member
Licensed User
@NJDude I'm trying to use your library for a small project, which is excellent for this purpose, but i found two small problems:

1) At the initialize you can set height but not width. I tried to add the view in a panel smaller than the activity width and the rssview was "chopped" from the right.
2) At customrssviewbackgroundcolor if i set it to any color but with alpha = 0 the background turns white not transparent (as i wanted)
 

NJDude

Expert
Licensed User
@NJDude I'm trying to use your library for a small project, which is excellent for this purpose, but i found two small problems:

1) At the initialize you can set height but not width. I tried to add the view in a panel smaller than the activity width and the rssview was "chopped" from the right.
That is correct, only the width can be set.
2) At customrssviewbackgroundcolor if i set it to any color but with alpha = 0 the background turns white not transparent (as i wanted)
What's the color of the activity/panel you added the RSS view to? it might be white.
 

Devv

Active Member
Licensed User
You will have to parse that XML yourself since that format is not supported by the library, after parsing you can add the results to the library.
how many rss formats is there ?
can you please give an example of parsing XML manually ?
 

Jack Cole

Active Member
Licensed User
There seems to be an issue with this library and https. See screenshot. The site has a valid certificate, but the library seems to be doing something like resolving to the IP and reverse lookup?

upload_2019-2-4_8-44-43.png
 

jchal

Active Member
Licensed User
unfortunately jack i am facing the same problem did you manage to find a soloution with the libray?
 
Top