CGFeedMaker does not work
CGFeedMaker does not work
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?
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
I have the same problem.
Re: CGFeedMaker does not work
You have something wrong.
No information = no help.
No information = no help.
Re: CGFeedMaker does not work
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)
though it doesn't change anything if i disable those lines
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]
Re: CGFeedMaker does not work
Well I'd think you may be mistaken on your cmsms version.. your config.php should have...
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
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';
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
Last edited by JeremyBASS on Tue Feb 09, 2010 7:23 pm, edited 1 time in total.
Re: CGFeedMaker does not work
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
check your cgfeedback setup/settings you should have set the extension for your feed.
Re: CGFeedMaker does not work
I tried extension "rss" and no extension too, but feed is still empty.
Re: CGFeedMaker does not work
check the source, the browser might not render it.
Re: CGFeedMaker does not work
Source shows only rendering times:
Code: Select all
<!-- 0,093034 / 9 / 12728696 / 13042592 -->
Re: CGFeedMaker does not work
what are you using for a template?
Re: CGFeedMaker does not work
Default template, that one with {news assign="junk"}
Weird thing is, that with hierarchy turned on, the feed works...
Weird thing is, that with hierarchy turned on, the feed works...
Re: CGFeedMaker does not work
if it's blank here you go... ;DJeremyBASS 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
Re: CGFeedMaker does not work
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.
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
No you shouldn't have to restart apache.