Page 1 of 1

Problem setting extension for feeds using CGFeedmaker

Posted: Tue Oct 26, 2010 6:32 pm
by Paul J
Hello all

I have what is probably a simple problem for those who know more about this sort of thing than I do, but it's been puzzling me all afternoon.

I'm setting up several feeds on a development site using CGFeedmaker 1.0.11 and CMSMS 1.8.2 (I then hope to implement Rolf's advice from way back on http://forum.cmsmadesimple.org/index.php/topic,42792.0/topicseen.html now that I'm more comfortable editing templates  :))

I want the feeds to have the extension .rss. I've specified this in the settings tab of the module but the . is somehow getting missed out of them, ie I get links to www.mydomain.com/feeds/newsrss instead of news.rss.

Clicking on them brings up a blank page, but if I then insert the . into the address bar manually, I get the expected results.

I'm using pretty URLs with no extension for pages, hierarchy is true and the templates are all using relevant calls (from news, Calguy's blog, Calguy's calendar).

Does anyone have an idea what I'm missing? The strange thing is, I have another site (using CMSMS 1.7 and CGFeedmaker 1.09) where everything works as expected, but just copying the templates and settings across hasn't solved it)

Thanks in advance for any help

Paul  :)

Re: Problem setting extension for feeds using CGFeedmaker

Posted: Wed Oct 27, 2010 2:03 am
by Dr.CSS
Are they both the same version of everything, does the other one use pretty URLs, does the other one have page extension set in config, are they both on the same server, etc., etc. etc...

Re: Problem setting extension for feeds using CGFeedmaker

Posted: Wed Oct 27, 2010 9:00 am
by Paul J
Thanks for your reply.
Dr.CSS wrote: Are they both the same version of everything, does the other one use pretty URLs, does the other one have page extension set in config, are they both on the same server, etc., etc. etc...
Yes, both have pretty URLs with no page extension, hierarchies true all set in config.php. They're with the same hosting company, but on different servers and using different database servers.

As I'm not yet very familiar with RSS, I copied the templates across from the older site, and referred to this older site when setting the prefs in the new one. So I've no idea what's happening! Any help gratefully received!  :)

Re: Problem setting extension for feeds using CGFeedmaker

Posted: Fri Oct 29, 2010 3:00 pm
by Paul J
I was hoping this would be a simple problem to solve...

I've since:

Uninstalled and reinstalled the module
Tried changing the required extension to xml instead of rss (and back again)

Neither of which has made any difference. The . is still missing  >:(

I just set up a test feed on a test page on the site where the RSS is working: this new test feed also works OK.

I wondered if it might be something to do with .htaccess, but my .htaccess files for both sites are exactly the same.

Does anybody have any ideas?

Thanks in advance

Paul

Re: Problem setting extension for feeds using CGFeedmaker

Posted: Mon Nov 01, 2010 12:13 pm
by Paul J
OK, I've sort of solved this. I edited config.php to add the extension .html to pages, and this corrected the RSS URLs.

I'm not sure why it works without page extensions on another site with the same hosting company... perhaps something changed in one of the more recent versions of CMSMS or the CGBlog module  ???

Re: [SOLVED sort of] Problem setting extension for feeds using CGFeedmaker

Posted: Tue Nov 30, 2010 11:07 pm
by Sonya
Setting extension in config.php is not a solution for old websites having pages indexed as they will not be found by search engines any more and have to be reindexed.

This is a known bug http://dev.cmsmadesimple.org/bug/view/4230

Please remove solved from your first post, so that module developer knows that there is still a bug.

Re: [SOLVED sort of] Problem setting extension for feeds using CGFeedmaker

Posted: Wed Dec 01, 2010 11:14 pm
by Paul J
Sonya wrote: Setting extension in config.php is not a solution for old websites having pages indexed as they will not be found by search engines any more and have to be reindexed.

This is a known bug http://dev.cmsmadesimple.org/bug/view/4230

Please remove solved from your first post, so that module developer knows that there is still a bug.
OK, done.

Re: Problem setting extension for feeds using CGFeedmaker

Posted: Thu Dec 02, 2010 3:01 am
by Dr.CSS
The Developers don't always look here so may be best to remind them in a comment on that BR...

Re: Problem setting extension for feeds using CGFeedmaker

Posted: Thu Dec 02, 2010 8:33 am
by Sonya
Dr.CSS wrote: The Developers don't always look here so may be best to remind them in a comment on that BR...
done :)