help setting up cgfeedmaker
help setting up cgfeedmaker
I dont really understand how to set this up. Could anyone post a little guide?
I dont know if its possible, but what Im really trying to do is make an xml feed from a certain category in my news module.
Ideally I would like to give this fee url to other sites so they can display my feed on their sites.
I dont know if its possible, but what Im really trying to do is make an xml feed from a certain category in my news module.
Ideally I would like to give this fee url to other sites so they can display my feed on their sites.
-
- Power Poster
- Posts: 424
- Joined: Sat Feb 02, 2008 12:42 am
- Location: USA
Re: help setting up cgfeedmaker
See this thread: http://forum.cmsmadesimple.org/index.php/topic,26017.msg127057.html#msg127057
Hope that helps.
Hope that helps.
Take a penny, leave a penny.
Re: help setting up cgfeedmaker
did read that post, but didnt quite understand it. Just wondering if someone has the module working, whether they could give me a guide on how to set it up??
Re: help setting up cgfeedmaker
I'm also having problems figuring out setup. After setting up the parameters to generate a feed for the News Module (using the default "News" template), the produced RSS feed link just sends me back to the CGFeedMaker admin page (http://www.parkviewchurch.org/contents/ ... late=false).
I'm not sure if I have the feed settings correct, especially the "Use this page for links:" dropdown. Is this to be set to the page from which the feed will be generated? I have it set to the page the News module is located. I've tried placing the auto-discovery tag {CGFeedMaker action='autodiscovery' feed='news'} in the template head as well as in the metadata area of the page. I'm not sure I understand how the feed is to be generated.
I'm not sure if I have the feed settings correct, especially the "Use this page for links:" dropdown. Is this to be set to the page from which the feed will be generated? I have it set to the page the News module is located. I've tried placing the auto-discovery tag {CGFeedMaker action='autodiscovery' feed='news'} in the template head as well as in the metadata area of the page. I'm not sure I understand how the feed is to be generated.
Re: help setting up cgfeedmaker
Honestly, until you provide more information we can't really help you. We will at the very least need to see your templates and know what your settings are for that feed. We can't see that stuff so we have no idea where you went wrong. It would just turn out to be a big guessing game.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Re: help setting up cgfeedmaker
Here are the feed settings:

I'm using the default template for this feed, which is set for the News Module.
Here is the template for the page I am trying to send from (it is the site's home page) with the auto-discovery tag:
This is the code I have set in the page to generate the feed:

I'm using the default template for this feed, which is set for the News Module.
Here is the template for the page I am trying to send from (it is the site's home page) with the auto-discovery tag:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- Change lang="en" to the language of your site -->
<head>
<title>{sitename} - {title}</title>
<!-- The sitename is changed in Site Admin/Global settings. {title} is the name of each page -->
{metadata}
<!-- Don't remove this! Metadata is entered in Site Admin/Global settings. -->
{stylesheet}
<!-- This is how all the stylesheets attached to this template are linked to -->
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
<!-- Relational links for interconnections between pages, good for accessibility and Search Engine Optmization -->
{literal}
<__script__ type="text/JavaScript">
<!--
//pass min and max -measured against window width
function P7_MinMaxW(a,b){
var nw="auto",w=document.documentElement.clientWidth;
if(w>=b){nw=b+"px";}if(w<=a){nw=a+"px";}return nw;
}
//-->
</__script>
<!--[if lte IE 6]>
<style type="text/css">
#pagewrapper {width:expression(P7_MinMaxW(720,950));}
#container {height: 1%;}
</style>
<![endif]-->
{/literal}
<!-- The min and max page width for Internet Explorer is set here. For other browsers it's in the stylesheet "Layout: Top menu + 2 columns" -->
{global_content name='scripts'}
{CGFeedMaker action='autodiscovery' feed='news'}
</head>
</__body>
<!-- start pagewrapper -->
<div id="pagewrapper">
<!--{global_content name='alert'}-->
{global_content name='top_info'}
{global_content name='header'}
<!-- start accessibility skip links -->
<!--<ul class="accessibility">
<li>{anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}</li>
<li>{anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}</li>
</ul>-->
<!-- end accessibility skip links -->
<!--<hr class="accessibility" />-->
<!-- Horizontal ruler that is hidden for visual browsers by CSS -->
<!-- Start Navigation -->
<div style="float:left;clear:both;">
<img src="images/cms/menu_left.jpg" alt="" />
</div>
<div style="float:left;width: 803px;" id="menu_vert">
<!--<h2 class="accessibility">Navigation</h2>-->
{menu template='cssmenu.tpl'}
<!--<hr class="accessibility" />-->
</div>
<div style="float:right;">
<img src="images/cms/menu_right.jpg" alt="" />
</div>
<!-- End Navigation -->
{global_content name='header_bottom'}
{global_content name='flood'}
{global_content name='home_info'}
{global_content name='home_ads'}
{global_content name='footer_info'}
</div>
<!--end pagewrapper -->
<__body>
</__html>
Code: Select all
{CGFeedMaker action='rsslink' feed='news'}
Re: help setting up cgfeedmaker
That's odd because this displays the feed: http://www.parkviewchurch.org/contents/ ... feeds/news
I will try to look into it more later tonight.
Edit: Try downloading the new release that was released today and see if that solves the problem. If not try creating a new feed with a different name.
I will try to look into it more later tonight.
Edit: Try downloading the new release that was released today and see if that solves the problem. If not try creating a new feed with a different name.
Last edited by tyman00 on Wed Dec 17, 2008 8:54 pm, edited 1 time in total.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Re: help setting up cgfeedmaker
I downloaded the latest release (1.0.2), tried creating a new feed with the same settings, tried the link from another network, but no change. The link generated (for me) still takes me to the CMSMS admin page.
Re: help setting up cgfeedmaker
Try removing the calls for all of your Javascripts and see what happens. Maybe one of the Javascripts is throwing something off.
If all else fails, use a bigger hammer.
M@rtijn wrote: This is a community. This means that we work together and have the same goal (a beautiful CMS), not that we try to put people down and make their (voluntary) job as difficult as can be.
Re: help setting up cgfeedmaker
tyman00 is right... try move things in the right areas...
ex:
analytics should be at the bottom...
and
should be in the body
and much more... pretty site thou...
but the structural mishaps you have going don't explain the fact that the RSS link is to the admin area...
try making a test page... one that have nothing in the template ... see if that forces it to work... also... I when I had this issues... when I moved it up and down the head... and in fact for me making it last is what finally got it going (so below the ajax)... also change the feed link your RSS site feed is http://www.parkviewchurch.org/contents/... that may help as well... may...
I'm just listing out things that got it to work for me..
Hope this helps...
cheers
jeremyBass
ex:
analytics should be at the bottom...
and
Code: Select all
<noscript>
<div style="text-align: center;color:red;font-size:1.3em">
Note: This page uses JavaScript</div>
<div style="text-align: center;color:red;font-size:1em">
Please make sure that JavaScript is enabled in your browser in order to properly view this site.</div>
</noscript>
and much more... pretty site thou...
but the structural mishaps you have going don't explain the fact that the RSS link is to the admin area...
try making a test page... one that have nothing in the template ... see if that forces it to work... also... I when I had this issues... when I moved it up and down the head... and in fact for me making it last is what finally got it going (so below the ajax)... also change the feed link your RSS site feed is http://www.parkviewchurch.org/contents/... that may help as well... may...
I'm just listing out things that got it to work for me..

Hope this helps...
cheers
jeremyBass
Re: help setting up cgfeedmaker
Jeremy - Thanks for the coding tips.
I've created a test page (http://www.parkviewchurch.org/contents/ ... age=test-2) using a bare template with no javascript, etc. that contains the autodiscovery link {CGFeedMaker action='autodiscovery' feed='news'}:
I've uninstalled and reinstalled the module and tried both the sample news feed 'news' and the Google products sample feed 'google products' but the link still takes me to the CGFeedmaker page of CMS MS admin (http://www.parkviewchurch.org/contents/ ... late=false). The code found in the html source that is created from the autodiscovery code is:
...which also points to the CGFeedMaker admin page.
Here is the source code of the created page:
Here is a screenshot of the 'news' feed:

I have the "Use this page for links:" set to the page where the News Module is displayed. Is this correct? I'm unclear as to what this should be set for. What is the correct link to the RSS feed supposed to look like? Maybe I can hard code it in since I'm only going to be using one feed (News).
I've created a test page (http://www.parkviewchurch.org/contents/ ... age=test-2) using a bare template with no javascript, etc. that contains the autodiscovery link {CGFeedMaker action='autodiscovery' feed='news'}:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>{sitename} - {title}</title>
{CGFeedMaker action='autodiscovery' feed='news'}
</head>
</__body>
<div id="pagewrapper">
<!-- Start Content (Navigation and Content columns) -->
<div id="content">
<!-- Start Content Area -->
<div id="main" style="padding:8px 20px 8px 20px;">
{content}
<!-- End Content Area -->
<!--<hr class="accessibility" />-->
</div>
</div>
<!-- End Content -->
</div><!-- end pagewrapper -->
<__body>
</__html>
...which also points to the CGFeedMaker admin page.
Here is the source code of the created page:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Parkview Church :: Iowa City - Test</title>
<link rel="alternate" type="application/rss+xml" title="Sample News feed" href="http://www.parkviewchurch.org/contents/admin/moduleinterface.php?mact=CGFeedMaker,m2,default,0&_s_=f2cb6d6e&m2feed=news&m2showtemplate=false" />
<!-- TinyMCE Session vars empty --></head>
</__body>
<div id="pagewrapper">
<!-- Start Content (Navigation and Content columns) -->
<div id="content">
<!-- Start Content Area -->
<div id="main" style="padding:8px 20px 8px 20px;">
<a href="http://www.parkviewchurch.org/contents/admin/moduleinterface.php?mact=CGFeedMaker,m3,default,0&_s_=f2cb6d6e&m3feed=news&m3showtemplate=false" title="Sample News feed"><img src="images/cms/rss.png" alt="Sample News feed" title="Sample News feed" />Sample News feed</a>
<!-- End Content Area -->
<!--<hr class="accessibility" />-->
</div>
</div>
<!-- End Content -->
</div><!-- end pagewrapper -->
<__body>
</__html><!-- 0.198832 / / 18924608 / 19129192 -->

I have the "Use this page for links:" set to the page where the News Module is displayed. Is this correct? I'm unclear as to what this should be set for. What is the correct link to the RSS feed supposed to look like? Maybe I can hard code it in since I'm only going to be using one feed (News).
Re: help setting up cgfeedmaker
HMMMM... I'll get back... I need to check my site and see what I did for sure now... I forgot about this ...
cheers
jeremyBass
cheers
jeremyBass
Re: help setting up cgfeedmaker
Note: I've upgraded today to version 1.4 but no change. Still investigating what the issue could be.
Re: help setting up cgfeedmaker
Upgraded now to 1.5.2 "Caguas" but no change for me. Here's the sample Google Products feed on a bare-bones template (no scripts, etc.) if anyone wants to try it.
http://www.parkviewchurch.org/contents/ ... age=test-2
http://www.parkviewchurch.org/contents/ ... age=test-2
Re: help setting up cgfeedmaker
Just an update on what I've tried with this weird issue. I installed a fresh version of CMS Made Simple and CGFeedmaker worked fine with the sample content. I then loaded in a saved backup from the live site via FileBackup into the test site, at which point the test site's feed started to point to the CGFeedmaker Admin again. I systematically began deleting content, modules, etc. until now all I have is the one page with the feed code and one news article, and it still generates a link to the CGFeedmaker Admin page. So I'm stumped. I've tried clearing the cache and generating a feed for Google Products, but no change. Does the same in Firefox and Explorer. When I switch back to the saved MySQL Dump from the sample install, it works again, so there's something in the SQL that's causing the issue. I've tried it from another location and no difference.