FORUMS CLOSED DUE TO SPAM. YOU STILL CAN ADD POST!

RSS Parser?

Feed 13 posts, 4 voices

Avatar
60 posts

Is there an RSS parser I can use to parse out my RSS feed url? The simplepie plugin seems incompatible with the newest version of FrogCMS as it returns a 404 error on me on my site…had to remove the simplepie code from my site. The download link for the Feedburner plugin seems to not exist so I can’t download it. Any ideas?

 
Avatar
651 posts

Don’t know. Since BDesign’s site went down, I tried “rescuing” his plugins and I did manage to get some of them but not all. (like feedburner)

I’m willing to help debug the simplepie plugin, but tomorrow is the queens birthday bash which I was planning to attend so I’ll probably won’t be able to help out until friday afternoon or so. (unless the weather’s nice, then I’ll be out and about to get some air ;-) )

 
Avatar
257 posts

You could try mine – you’ll need to register first but it should be enough to get an RSS feed online.

Note – you’ll need to change line 7 in RssController.php to read:

$this->assignToLayout('sidebar', new View('../../plugins/rss/views/sidebar'));

for it to work in the newest version of frog.

 
Avatar
60 posts

Ok, I changed the line…but it screwed up my plugins page. All the plugins that appeared in the list starting from the RSS Parser and downwards are not showing up…the list is cut off…and the RSS Parser tab itself shows a blank page.

 
Avatar
18 posts

Hi Andy,
Your plugin seems not to be working fine in version 0.9.5.

I didn’t change the line 7 in RssController.php because it was already done in the version I downloaded from your site.
Windrider07, please notice that the line posted here contains mistyped quotes. That’s why the app crashes.

To make things working a little bit I had to manually execute the 3 creation queries located in: rss\views\index.php
Now it saves me rss items and template code.

It seems all working perfect but when I include the code:
<?php rss('1'); ?>
in my page it returns many errors:

———-

Warning: MagpieRSS: Failed to fetch http://search.issuu.com/azote/docs/recent.rss (HTTP Error: connection failed () in C:\Condiv\wamp\www\INTERnet\sito_v5\frog\plugins\rss\inc\rss_fetch.inc on line 238

Notice: Trying to get property of non-object in C:\Condiv\wamp\www\INTERnet\sito_v5\frog\plugins\rss\index.php(42) : eval()‘d code on line 3

Warning: Invalid argument supplied for foreach() in C:\Condiv\wamp\www\INTERnet\sito_v5\frog\plugins\rss\index.php(42) : eval()‘d code on line 3

———-

I think the main problem here is that the “connection failed error” doesn’t create the right object to parse.
So.. My question is…

I don’t use a proxy and I’m attached to the internet.. ;)
What should I do to make this work?

Thanks!

 
Avatar
257 posts

I’ve just updated the plugin to try and fix a couple of bugs so please download the latest version

 
Avatar
18 posts

Thanks Andy!
Now the rss and rss_template tables are created correctly and nothing has to be done manually.

In the admin panel now it returns me the following notice:

Notice: Object of class PDOStatement could not be converted to int in C:\Condiv\wamp\www\INTERnet\sito_v5\frog\plugins\rss\views\index.php on line 26

———

and in the frontend I still have the same errors:

Warning: MagpieRSS: Failed to fetch http://search.issuu.com/azote/docs/recent.rss (HTTP Error: connection failed () in C:\Condiv\wamp\www\INTERnet\sito_v5\frog\plugins\rss\inc\rss_fetch.inc on line 238

Notice: Trying to get property of non-object in C:\Condiv\wamp\www\INTERnet\sito_v5\frog\plugins\rss\index.php(42) : eval()‘d code on line 3

Warning: Invalid argument supplied for foreach() in C:\Condiv\wamp\www\INTERnet\sito_v5\frog\plugins\rss\index.php(42) : eval()‘d code on line 3

———

What could I do to make this work?
Thanks

 
Avatar
257 posts

could you try redownloading and see if the admin panel is fixed now…

 
Avatar
18 posts

Yes Andy,
now the admin panel works fine ;)

Any idea about my error in the frontend?

 
Avatar
257 posts

Do you have any way of testing it outside of your local webserver? The two errors at the end are a result of not pulling a valid feed – the error which references line 238 is causing the other 2 errors.

It is working when I try it though

Perhaps you can test on a live server and see if it as a result of it running locally?

 
Avatar
18 posts

I tried saving the file in my webserver and it works fine.
What could be the matter?
Thanks

 
Avatar
257 posts

So just to be clear, it’s just your local machine that is delivering the error message?

 
Avatar
18 posts

We were crossing the same road.. ;)
When they’ll give me the production environment I’ll try there and I hope it’s all good there!
You were very kind,
many many thanks!
___

 
Avatar
257 posts

no probs, but be sure to let me know how you get on in a live environment.

I’m not too sure of the finer intricacies of Windows hosting so can’t really be of assistance there, but on a live server, it will hopefully sort itself out. Like I say, please post back if you have any more problems…