[SOLVED] CGFeedMaker

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Hannibal
Forum Members
Forum Members
Posts: 74
Joined: Wed Nov 05, 2008 5:47 pm

[SOLVED] CGFeedMaker

Post by Hannibal »

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.
Last edited by Hannibal on Wed Dec 16, 2009 3:48 pm, edited 1 time in total.
Hannibal
Forum Members
Forum Members
Posts: 74
Joined: Wed Nov 05, 2008 5:47 pm

Re: CGFeedMaker

Post by Hannibal »

Dr. CSS wrote: You may have to use pretty URLs to get it to work, and hey why not have them anyways...
Cheers, will have a look into setting them up. Is it just a case of following the instructions here to set up pretty URLs?
Hannibal
Forum Members
Forum Members
Posts: 74
Joined: Wed Nov 05, 2008 5:47 pm

Re: CGFeedMaker

Post by Hannibal »

I've changed my config.php as per the instructions in the link above, and my .htaccess text in my root folder is:

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>
but for some reason I'm getting a 500 Server Error
Hannibal
Forum Members
Forum Members
Posts: 74
Joined: Wed Nov 05, 2008 5:47 pm

Re: CGFeedMaker

Post by Hannibal »

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
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: CGFeedMaker

Post by Rolf »

Hannibal,

Try to add a # in the .htaccess in front of this line:

Code: Select all

#Options +FollowSymLinks
Grtz. Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Hannibal
Forum Members
Forum Members
Posts: 74
Joined: Wed Nov 05, 2008 5:47 pm

Re: CGFeedMaker

Post by Hannibal »

Rolf wrote: Hannibal,

Try to add a # in the .htaccess in front of this line:

Code: Select all

#Options +FollowSymLinks
Grtz. Rolf
Rolf you are a star! That fixed it completely.

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"?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: CGFeedMaker

Post by Rolf »

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 ??? I don't know where this comes from... detailpage perhaps?

You can't change the first three I'm afraid...

®
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Hannibal
Forum Members
Forum Members
Posts: 74
Joined: Wed Nov 05, 2008 5:47 pm

Re: CGFeedMaker

Post by Hannibal »

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?  ???
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: CGFeedMaker

Post by Rolf »

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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Hannibal
Forum Members
Forum Members
Posts: 74
Joined: Wed Nov 05, 2008 5:47 pm

Re: CGFeedMaker

Post by Hannibal »

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
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: CGFeedMaker

Post by Rolf »

Whow, you have got a detailtemplate which is called production:

Code: Select all

<a href="http://www.fbtvonline.co.uk/index.php?mact=News,....//....detailtemplate=production&...>>></a>
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  ;)
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Hannibal
Forum Members
Forum Members
Posts: 74
Joined: Wed Nov 05, 2008 5:47 pm

Re: CGFeedMaker

Post by Hannibal »

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!
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: CGFeedMaker

Post by Rolf »

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  :D
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Hannibal
Forum Members
Forum Members
Posts: 74
Joined: Wed Nov 05, 2008 5:47 pm

Re: CGFeedMaker

Post by Hannibal »

I'm lost now! My news tag is currently:

Code: Select all

{* Start News *} 
{news number='3' category='productions' detailpage='production' summarytemplate='production' detailtemplate='production'}
 {* End News*}
How should it be?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: CGFeedMaker

Post by Rolf »

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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Post Reply

Return to “Modules/Add-Ons”