Page 1 of 2
CGFeedMaker does not work
Posted: Tue Feb 09, 2010 2:06 pm
by Torpedine
Hi all,
I am trying again to use CGFeedmaker (latest version with CMSMS 1.6.6) but the feed generated is empty.
I am not using pretty URLs.
Can somebody help me please?
Re: CGFeedMaker does not work
Posted: Tue Feb 09, 2010 2:30 pm
by Matio
I have the same problem.
Re: CGFeedMaker does not work
Posted: Tue Feb 09, 2010 2:37 pm
by Jeff
You have something wrong.
No information = no help.
Re: CGFeedMaker does not work
Posted: Tue Feb 09, 2010 5:38 pm
by jukums
Ok, same problem here...
Returned page where RSS feed has to be
http://localhost/feeds/cgblog/ is blank
http://localhost/feeds/cgblog is 404
http://localhost/feeds/cgblog.rss is 404
CMS Version 1.6.6
CGFeedMaker 1.0.9
assume_mod_rewrite: true
internal_pretty_urls: false
use_hierarchy: true
Current PHP Version (phpversion): 5.1.6
feed alias: cgblog
feed link:
http://localhost/feeds/cgblog
title: rss feeds
also, to include trailing slash at the end URL, i have following lines enabled (provided with cmsms, but was disabled i think)
Code: Select all
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# but ignore POST requests.
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteCond %{REQUEST_METHOD} !POST$
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
though it doesn't change anything if i disable those lines
Re: CGFeedMaker does not work
Posted: Tue Feb 09, 2010 6:28 pm
by JeremyBASS
Well I'd think you may be mistaken on your cmsms version.. your config.php should have...
Code: Select all
#------------
#URL Settings
#------------
#What type of URL rewriting should we be using for pretty URLs? Valid options are:
#'none', 'internal', and 'mod_rewrite'. 'internal' will not work with IIS some CGI
#configurations. 'mod_rewrite' requires proper apache configuration, a valid
#.htaccess file and most likely {metadata} in your page templates. For more
#information, see:
#http://wiki.cmsmadesimple.org/index.php/FAQ/Installation/Pretty_URLs#Pretty_URL.27s
$config['url_rewriting'] = 'mod_rewrite';
#Extension to use if you're using mod_rewrite for pretty URLs.
$config['page_extension'] = '.html';
#If you're using the internal pretty url mechanism or mod_rewrite, would you like to
#show urls in their hierarchy? (ex. http://www.mysite.com/parent/parent/childpage)
$config['use_hierarchy'] = true;
#If using none of the above options, what should we be using for the query string
#variable? (ex. http://www.mysite.com/index.php?page=somecontent)
$config['query_var'] = 'page';
Here is a hint to.. people should not use / as the extension.. use .html... there are many many reasons but just a tip.. also..
try...
# CMSMS Rewriting
# Set assume mod_rewrite to true in config.php and clear CMSMS cache
RewriteCond %{REQUEST_FILENAME} !-f [NC]
RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
in your .htaccess...
Last thing.. make sure to read the help, it'll tell you some what’s and how’s to insure correctness of the feed code as IE will just show up blank..
Hope this helps .. cheers Jeremy
Re: CGFeedMaker does not work
Posted: Tue Feb 09, 2010 7:21 pm
by Matio
The feed itself works fine for me, when I have Hierachy allowed in my config.php. But when I turn off hierarchy, the generated feed is blank.
Re: CGFeedMaker does not work
Posted: Tue Feb 09, 2010 10:39 pm
by Jeff
check your cgfeedback setup/settings you should have set the extension for your feed.
Re: CGFeedMaker does not work
Posted: Tue Feb 09, 2010 10:48 pm
by Matio
I tried extension "rss" and no extension too, but feed is still empty.
Re: CGFeedMaker does not work
Posted: Tue Feb 09, 2010 10:50 pm
by Jeff
check the source, the browser might not render it.
Re: CGFeedMaker does not work
Posted: Tue Feb 09, 2010 10:54 pm
by Matio
Source shows only rendering times:
Code: Select all
<!-- 0,093034 / 9 / 12728696 / 13042592 -->
Re: CGFeedMaker does not work
Posted: Tue Feb 09, 2010 11:22 pm
by Jeff
what are you using for a template?
Re: CGFeedMaker does not work
Posted: Tue Feb 09, 2010 11:35 pm
by Matio
Default template, that one with {news assign="junk"}
Weird thing is, that with hierarchy turned on, the feed works...
Re: CGFeedMaker does not work
Posted: Wed Feb 10, 2010 12:12 am
by JeremyBASS
JeremyBASS wrote:
Last thing.. make sure to read the help, it'll tell you some what’s and how’s to insure correctness of the feed code as IE will just show up blank..
Hope this helps .. cheers Jeremy
if it's blank here you go... ;D
Re: CGFeedMaker does not work
Posted: Wed Feb 10, 2010 12:24 pm
by jukums
Right, this might sound stupid, but is there any need to restart apache, as I have modified extension from "/" to ".html" in config.php and reverted .htaccess file back to original and cleared CMSMS cache.
Now menu on the top level shows correct links, but none of them works - all of previous links with trailing slash as extension work as before if you type them by hand, this is tested even after clearing browsers cache.
Re: CGFeedMaker does not work
Posted: Thu Feb 11, 2010 6:15 pm
by Jeff
No you shouldn't have to restart apache.