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

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
WarMace
Forum Members
Forum Members
Posts: 30
Joined: Tue Sep 25, 2007 5:15 pm
Location: Boston, MA, USA

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

Post 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?
Last edited by WarMace on Tue Nov 13, 2007 6:33 pm, edited 1 time in total.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

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

Post 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.
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
User avatar
WarMace
Forum Members
Forum Members
Posts: 30
Joined: Tue Sep 25, 2007 5:15 pm
Location: Boston, MA, USA

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

Post 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.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

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

Post 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.
Attachments
google-rss.gif
eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
cyberman

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

Post by cyberman »

Pirss works too with Google News :) - please look here

http://test.cmsmadesimple.de/index.php?page=warmace
User avatar
WarMace
Forum Members
Forum Members
Posts: 30
Joined: Tue Sep 25, 2007 5:15 pm
Location: Boston, MA, USA

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

Post 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
Last edited by WarMace on Thu Nov 08, 2007 10:21 pm, edited 1 time in total.
cyberman

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

Post by cyberman »

No, it's my page - I'm supporting CMSms in german area :).

And yes - it runs CMSms 1.2.
User avatar
WarMace
Forum Members
Forum Members
Posts: 30
Joined: Tue Sep 25, 2007 5:15 pm
Location: Boston, MA, USA

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

Post 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.
cyberman

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

Post 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 ...
User avatar
WarMace
Forum Members
Forum Members
Posts: 30
Joined: Tue Sep 25, 2007 5:15 pm
Location: Boston, MA, USA

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

Post 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.
cyberman

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

Post 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.
User avatar
WarMace
Forum Members
Forum Members
Posts: 30
Joined: Tue Sep 25, 2007 5:15 pm
Location: Boston, MA, USA

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

Post by WarMace »

Woohoo!!!  That fixed it!!

*High-Five CyberMan*

Thank you very much!

Post Reply

Return to “CMSMS Core”