CGFeedMaker does not work

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Torpedine
Forum Members
Forum Members
Posts: 142
Joined: Thu May 18, 2006 3:53 pm

CGFeedMaker does not work

Post 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?
Matio
Forum Members
Forum Members
Posts: 17
Joined: Sat Jul 14, 2007 2:54 pm

Re: CGFeedMaker does not work

Post by Matio »

I have the same problem.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm
Location: MI

Re: CGFeedMaker does not work

Post by Jeff »

You have something wrong.

No information = no help.
jukums
New Member
New Member
Posts: 9
Joined: Fri Jan 15, 2010 10:13 pm

Re: CGFeedMaker does not work

Post 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
JeremyBASS

Re: CGFeedMaker does not work

Post 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
Last edited by JeremyBASS on Tue Feb 09, 2010 7:23 pm, edited 1 time in total.
Matio
Forum Members
Forum Members
Posts: 17
Joined: Sat Jul 14, 2007 2:54 pm

Re: CGFeedMaker does not work

Post 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.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm
Location: MI

Re: CGFeedMaker does not work

Post by Jeff »

check your cgfeedback setup/settings you should have set the extension for your feed.
Matio
Forum Members
Forum Members
Posts: 17
Joined: Sat Jul 14, 2007 2:54 pm

Re: CGFeedMaker does not work

Post by Matio »

I tried extension "rss" and no extension too, but feed is still empty.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm
Location: MI

Re: CGFeedMaker does not work

Post by Jeff »

check the source, the browser might not render it.
Matio
Forum Members
Forum Members
Posts: 17
Joined: Sat Jul 14, 2007 2:54 pm

Re: CGFeedMaker does not work

Post by Matio »

Source shows only rendering times:

Code: Select all

<!-- 0,093034 / 9 / 12728696 / 13042592 -->
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm
Location: MI

Re: CGFeedMaker does not work

Post by Jeff »

what are you using for a template?
Matio
Forum Members
Forum Members
Posts: 17
Joined: Sat Jul 14, 2007 2:54 pm

Re: CGFeedMaker does not work

Post by Matio »

Default template, that one with {news assign="junk"}

Weird thing is, that with hierarchy turned on, the feed works...
JeremyBASS

Re: CGFeedMaker does not work

Post 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
jukums
New Member
New Member
Posts: 9
Joined: Fri Jan 15, 2010 10:13 pm

Re: CGFeedMaker does not work

Post 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.
Jeff
Power Poster
Power Poster
Posts: 961
Joined: Mon Jan 21, 2008 5:51 pm
Location: MI

Re: CGFeedMaker does not work

Post by Jeff »

No you shouldn't have to restart apache.
Post Reply

Return to “Modules/Add-Ons”