[SOLVED] CGFeedMaker
[SOLVED] CGFeedMaker
I'm having trouble getting FeedMaker working. I have used the default template for 'news' but it doesn't seem to work. I can see the RSS button on my pages, and the RSS title shows up, but when I click it I get redirected to: http://www.fbtvonline.co.uk/index.php?m ... eturnid=83
Also, I'm using two main categories in my News module, is there a way I can set up two different feeds for for these (Latest News and Latest Productions)?
I've tried to do it in CGFeedMaker, but have am a bit lost.
Also, I'm using two main categories in my News module, is there a way I can set up two different feeds for for these (Latest News and Latest Productions)?
I've tried to do it in CGFeedMaker, but have am a bit lost.
Last edited by Hannibal on Wed Dec 16, 2009 3:48 pm, edited 1 time in total.
Re: CGFeedMaker
Cheers, will have a look into setting them up. Is it just a case of following the instructions here to set up pretty URLs?Dr. CSS wrote: You may have to use pretty URLs to get it to work, and hey why not have them anyways...
Re: CGFeedMaker
I've changed my config.php as per the instructions in the link above, and my .htaccess text in my root folder is:
but for some reason I'm getting a 500 Server Error
Code: Select all
# Attempt to override some php settings, these settings may be helpful on some hosts if your
# default configuration does not meet CMS's minimum requirements, and your host
# has given your account appropriate permissions
#php_value upload_max_filesize "10M"
#php_value session_save_path "tmp/cache"
#php_flag magic_quotes_gpc Off
#php_flag register_globals Off
#php_flag session.use_trans_sid Off
# (this is important, so uncomment if your host permit)
#Options -Indexes
#ServerSignature Off
#
Options +FollowSymLinks
#
<IfModule mod_rewrite.c>
RewriteEngine on
#
#Sub-dir e.g: /cmsms
RewriteBase /
#
# 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]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
#
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
</IfModule>
Re: CGFeedMaker
It seems my hosting is rubbish and doesn't want to give me mod_rewrite, which I assume is what's causing the 500 error. Time to change hosts me thinks
Re: CGFeedMaker
Hannibal,
Try to add a # in the .htaccess in front of this line:
Grtz. Rolf
Try to add a # in the .htaccess in front of this line:
Code: Select all
#Options +FollowSymLinks
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: CGFeedMaker
Rolf you are a star! That fixed it completely.Rolf wrote: Hannibal,
Try to add a # in the .htaccess in front of this line:Grtz. RolfCode: Select all
#Options +FollowSymLinks
One other question, some URLs are displaying as: http://www.fbtvonline.co.uk/news/106/53 ... ction.html
Is there a way to remove the "/106/53/" and "d,production.html"?
Re: CGFeedMaker
106 is the id of the news article
53 is the return page
Inside-The-Body-of-Henry-VIII is the name of the news article.
d,production.html

You can't change the first three I'm afraid...
®
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: CGFeedMaker
Thanks Rolf. I'd guess what the numbers were, it was more the last bit that confused me. The link works fine if I remove it though, so I guess I'll just make sure we do that if we email people links.
Any thoughts on how I can pull out 2 different feeds from my news categories?
Any thoughts on how I can pull out 2 different feeds from my news categories?

Re: CGFeedMaker
Hannibal,
Have you looked into the News templates of you can find the text d,production there?
In the news links on the page http://www.fbtvonline.co.uk/productions-catalogue.html the text is also there.
Don't think it is Feed related.
Rolf
Have you looked into the News templates of you can find the text d,production there?
In the news links on the page http://www.fbtvonline.co.uk/productions-catalogue.html the text is also there.
Don't think it is Feed related.
Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: CGFeedMaker
I've had a quick look through the News templates, but couldn't see anything (although I'm a bit out of my depth with templates etc). It's pretty odd
Re: CGFeedMaker
Whow, you have got a detailtemplate which is called production:
Perhaps: detailtemplate=production??
Have never seen this before though...
But please try to remove the detailtemplate out of the news-tag and see what happens.
Rolf
Code: Select all
<a href="http://www.fbtvonline.co.uk/index.php?mact=News,....//....detailtemplate=production&...>>></a>
Have never seen this before though...

But please try to remove the detailtemplate out of the news-tag and see what happens.
Rolf

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: CGFeedMaker
I'll give it a go but am not 100% sure what I need to do. The site was a mess when I inherited it, I didn't want to touch much in case it broke!
Re: CGFeedMaker
No problem, I have tested it on my testsite just now.
And yes the d,production means detailtemplate=production!!!
The news tag in your template should be a.t.m. {news detailtemplate="production"} then...
You have to change this to solve your Feed problem.
Rolf
And yes the d,production means detailtemplate=production!!!
The news tag in your template should be a.t.m. {news detailtemplate="production"} then...
You have to change this to solve your Feed problem.
Rolf

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Re: CGFeedMaker
I'm lost now! My news tag is currently:
How should it be?
Code: Select all
{* Start News *}
{news number='3' category='productions' detailpage='production' summarytemplate='production' detailtemplate='production'}
{* End News*}
Re: CGFeedMaker
It should be something like:
{* Start News *}
{news number='3' category='productions' detailpage='production' summarytemplate='production' detailtemplate='production'}
{* End News*}
But do you have more detailtemplates on your site?
Might be getting problems here. But try this first.
Rolf
{* Start News *}
{news number='3' category='productions' detailpage='production' summarytemplate='production' detailtemplate='production'}
{* End News*}
But do you have more detailtemplates on your site?
Might be getting problems here. But try this first.

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
Migrating Company Directory module to LISE
- + - + - + - + - + - + -