Page 1 of 1

[Solved] Pirss and RSS Module do not support Google News RSS

Posted: Thu Nov 08, 2007 3:10 am
by WarMace
If you try Google's example RSS feed: http://news.google.com/news?q=lemurs&output=rss  you either get smarty errors or nothing when using Pirss and RSS Modules.

When testing the above RSS URL in http://feedvalidator.org/ it states it is valid, with a few recommendations.

Any tips, or help in adding Google RSS to one of my sites would be greatly appreciated.

Is there another RSS reader that you know of that will work?

Re: Pirss and RSS Module do not support Google News RSS

Posted: Thu Nov 08, 2007 5:02 am
by kermit
I just tried that feed on a CMSMS 1.08 install running the RSS module 1.1; works just fine; output needs a bit of styling my regular feeds don't need, but it works -- no errors.

Re: Pirss and RSS Module do not support Google News RSS

Posted: Thu Nov 08, 2007 1:21 pm
by WarMace
I do not know how you go it to work...  ???

When i add the following code to a test page, i get the below result.

Code: Select all

{cms_module module="rss" url="http://multimonitor.net/rss" numbertoshow="2"}

---

{cms_module module="rss" url="http://news.google.com/news?q=lemurs&output=rss" numbertoshow="2"} 
Image

So is there a special switch you used in RSS to get Google News to display, I can get all other RSS feeds other than Google to work.

You can follow my progress with this until its solved here.

Re: Pirss and RSS Module do not support Google News RSS

Posted: Thu Nov 08, 2007 4:57 pm
by kermit
hmmm... where have i seen that template before. ;)


i didn't do anything special; just using what was already working, and has been virtually untouched for well over a year. (upgraded only to) cmsms 1.0.8; rss module 1.1; and a couple minor tweaks involving feed caching. site runs under php4 as a module. i don't think i did anything to the underlying functions of magpie.

i just tried it on one of my test installs of cmsms 1.2 with same version (as downloaded from forge) of rss module. get the same error as you running under both php4 as a module and php5/cgi.  ???

just for the sake of thoroughness, i took the exact same ./modules/RSS directory from the working install and used that on cmsms 1.2 and that didn't work either..

i guess i won't be updating that particular site any time soon; as the feeds are its primary focus... although i did test every feed source i do currently use (6 sources) and all did work fine...

fwiw; here's the lines i used in both the working 1.0.8 and non-working 1.2:

Code: Select all

{cms_module module='rss' descriptions='1' numbertoshow='10' url='http://news.google.com/news?q=lemurs&output=rss'}
<hr />
{cms_module module='rss' numbertoshow='10' url='http://news.google.com/news?q=lemurs&output=rss'}
and the attachment is the output from 1.0.8.

Re: Pirss and RSS Module do not support Google News RSS

Posted: Thu Nov 08, 2007 6:18 pm
by cyberman
Pirss works too with Google News :) - please look here

http://test.cmsmadesimple.de/index.php?page=warmace

Re: Pirss and RSS Module do not support Google News RSS

Posted: Thu Nov 08, 2007 10:12 pm
by WarMace
cyberman wrote: Pirss works too with Google News :) - please look here

http://test.cmsmadesimple.de/index.php?page=warmace
Is this CMS site open to the public?  It seems to be the only CMSMS 1.2 working with RSS

Re: Pirss and RSS Module do not support Google News RSS

Posted: Thu Nov 08, 2007 10:23 pm
by cyberman
No, it's my page - I'm supporting CMSms in german area :).

And yes - it runs CMSms 1.2.

Re: Pirss and RSS Module do not support Google News RSS

Posted: Sat Nov 10, 2007 5:34 pm
by WarMace
I could possibly be a permission issue, or I installed it incorrectally.

Is there a install manual for the RSS or Pirss, i think i just unzipped them to the module Dir.

Re: Pirss and RSS Module do not support Google News RSS

Posted: Mon Nov 12, 2007 6:58 am
by cyberman
RSS module and PiRSS have both a help section :).

RSS module (like the name said) is a module and must be copied to /modules folder. Then you will see it in admin panel (Extensions > Modules).

PiRSS is a tag and must be copied to /plugin folder. Then it will be shown in admin panel too (Extensions > Tags). The .tpl files must be copied to /tmp/templates folder ...

Re: Pirss and RSS Module do not support Google News RSS

Posted: Tue Nov 13, 2007 3:42 pm
by WarMace
Thank you for laying it out for me, I created a brand new site by the book, permissions and all.  Added Pirss just like you say and still nothing.

There has got to be something I'm missing...  I am using Pirss version 1.40


From Pirss help:
"If you have problems with the encoding-type of the rdf-file use the parameter (example) encoding="utf-8" default is nothing.
This parameter works only if your webserver has the mb-libs enabled."

I added this, and saw no change.

Re: Pirss and RSS Module do not support Google News RSS

Posted: Tue Nov 13, 2007 5:33 pm
by cyberman
Please check your page source

Works:

{pirss url='http://news.google.com/news?q=lemurs&output=rss'}

Works not:

{pirss url='http://news.google.com/news?q=lemurs&amp;output=rss'}

Attention - some editors transform sign & to & so Google news will not work.

Re: Pirss and RSS Module do not support Google News RSS

Posted: Tue Nov 13, 2007 6:32 pm
by WarMace
Woohoo!!!  That fixed it!!

*High-Five CyberMan*

Thank you very much!