Creating an RSS reader/parser.

Just starting out? Need help? Post your questions and find answers here.
jassing
Addict
Addict
Posts: 1767
Joined: Wed Feb 17, 2010 12:00 am

Creating an RSS reader/parser.

Post by jassing »

The closest thing I found was this post; which has no responses...

I know its simple XML parsing -- but it seems on a few feeds, there are subtle differences that make a one size fits all solution harder -- most notable problem is I ReceiveHTTPFile() sometimes fails, only retrieves part of it... My guess was chunked encoding...

Has anyone already tackled this?
User avatar
ultralazor
Enthusiast
Enthusiast
Posts: 186
Joined: Sun Jun 27, 2010 9:00 am

Re: Creating an RSS reader/parser.

Post by ultralazor »

webgadget or http://msdn.microsoft.com/en-us/library ... 85%29.aspx

Also mind encoding, usually UTF-8
so many ideas so little time..
jassing
Addict
Addict
Posts: 1767
Joined: Wed Feb 17, 2010 12:00 am

Re: Creating an RSS reader/parser.

Post by jassing »

ultralazor wrote:webgadget or http://msdn.microsoft.com/en-us/library ... 85%29.aspx

Also mind encoding, usually UTF-8
That would show the xml file - I want to parse it and present the data in an organized fashion.
User avatar
Bisonte
Addict
Addict
Posts: 1232
Joined: Tue Oct 09, 2007 2:15 am

Re: Creating an RSS reader/parser.

Post by Bisonte »

jassing wrote:That would show the xml file - I want to parse it and present the data in an organized fashion.
He means ...

Code: Select all

Result.s = GetGadgetItemText(#WebGadget, #PB_Web_HtmlCode)
So you can now parse Result.s
But this is windows only.
PureBasic 6.10 LTS (Windows x86/x64) | Windows10 Pro x64 | Asus TUF X570 Gaming Plus | R9 5900X | 64GB RAM | GeForce RTX 3080 TI iChill X4 | HAF XF Evo | build by vannicom​​
English is not my native language... (I often use DeepL to translate my texts.)
Post Reply