[SOLVED]CGFeedMaker and News - about to give up......

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
zigge
Forum Members
Forum Members
Posts: 75
Joined: Tue Jan 22, 2008 6:53 pm

[SOLVED]CGFeedMaker and News - about to give up......

Post by zigge »

Well, upgrading to 1.5.1 caused me to use the new way of creating feeds. Simple thing I thought, but no, three days of struggle, reading all I could find in the forums, trying all kinds of stuff have made me seriously thinking about give this up. It simply does not work, or I'm so very stupid.

The site:

http://www.skanskakustfiskekluben.se

At the right side I have the News module, and the feed in earlier versions of CMSMS worked perfectly. With the CGFeedMaker, the feed will not validate as you can se if you click on the icon.

Now, I have tried everything(I think...), and I use bog standard template for the news feed, the News module is also bog standard with no extra fields. CGExtensions 1.14.1, CGFeedMaker 1.0.3

No pretty URL's

What I also have found is when removing

Code: Select all

  <atom:link href="{root_url}{$smarty.server.REQUEST_URI}" rel="self" type="application/rss+xml" />
from the template, i will get a subscription page, but only one(1) link on the page. Not using the

Code: Select all

number='10'
results in a subscription page containing no links at all.

My page template:

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="sv">
{* Change lang="en" to the language of your site *}

<head>

<link rel="shortcut icon" href="http://www.skanskakustfiskeklubben.se/uploads/images/SKKmarken/favicon.ico">

<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 *}
{Statistics}

{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" *}


<!--[if IE]>
<__script__ type="text/javascript" src="modules/MenuManager/CSSMenu.js"></__script>
<![endif]-->
{* The above JavaScript is required for CSSMenu to work in IE *}

</head>

</__body>

<div id="pagewrapper">

    {* start accessibility skip links *}
    <ul class="accessibility">
      <li>{anchor anchor='menu_vert' title='Hoppa till navigering' accesskey='n' text='Hoppa till navigering'}</li>
      <li>{anchor anchor='main' title='Hoppa till innehåll' accesskey='s' text='Hoppa till innehåll'}</li>
    </ul>
    {* end accessibility skip links *}


    <hr class="accessibility" />
    {* Horizontal ruler that is hidden for visual browsers by CSS *}


   {* Start Header, with logo image that links to the default start page. Logo image is changed in the stylesheet  "For template: Left menu + 1 column" *}
   <div id="header">
           <h1>{cms_selflink dir="start" text="$sitename"}</h1>
   <hr class="accessibility" />
   </div>
   {* End Header *}


      {* Start Navigation *}
      <div id="menu_vert">
         <h2 class="accessibility">Navigation</h2>
         {menu template='cssmenu.tpl'}
      <hr class="accessibility" />
      </div>
      {* End Navigation *}


   {* Start Search *}
   <div id="search">
          {cms_module module="pisearch" action="showform" lang="sv_SE"}        
   </div>
   {* End Search *}


   {* Start Breadcrumbs *}
   <div class="breadcrumbs">
        {breadcrumbs starttext='Du är här' root='Home' delimiter='»'}
   <hr class="accessibility" />
   </div>
   {* End Breadcrumbs *}


   {* Start Content (Navigation and Content columns) *}
   <div id="content">

      {* Start Sidebar *}
      <div id="sidebar" class="hascontent">
         {content block='Sidebar'}

      {cms_module module="RSS2HTML" feed="SKK Blogg" template="SKK" numitems=5}
      {* Start News *}
      <div id="news">
         <h2>Nyheter</h2>
          {news number='2' detailpage='news'}
          {CGFeedMaker action='rsslink' feed='skknews' imageonly="1"}
      </div>
      {* End News *}
      </div>
      {* End Sidebar *}

      {* Start Content Area *}
      <div id="main">
         <div style="float: right;">{print showbutton=true script=true}</div>
         <h2>{title}</h2>
        {content} <br />

         {* Start relational links *}
	 <div class="hr"></div>
	 <div class="right49">
	 	<p>{anchor anchor='main' text='^ Upp'}</p>
	 </div>
{*         <div class="left49">
            <p>{cms_selflink dir="previous" label="Föregående sida: "} <br />
            {cms_selflink dir="next" label="Nästa sida: "}</p> *}
         </div>
         {* The label parameter doesn't need to be there if you're using English, but is here to show how it's used if you don't want the English text "Previous page" *}
	 {* End relational links *}

      <hr class="accessibility" />
      </div>
	  {* End Content Area *}

   </div>
   {* End Content *}


   {* Start Footer. Edit the footer in the Global Content Block called "footer" *}
   <div id="footer">
      {global_content name='footer'}
   </div>   
   {* End Footer  *}


</div>{* end pagewrapper *}
<__body>
</__html>


My feed template:

Code: Select all

{* original rss feed template *}
<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
  <atom:link href="{root_url}{$smarty.server.REQUEST_URI}" rel="self" type="application/rss+xml" />
    <title>{$feed.title}</title>
    {if isset($feed.link) && !empty($feed.link)}<link>{$feed.link}</link>{/if}
    {if isset($feed.description) && !empty($feed.description)}<description>{$feed.description}</description>{/if}
    {if isset($feed.copyright) && !empty($feed.copyright)}<copyright>{$feed.copyright}</copyright>{/if}
    {if isset($generator)}<generator>{$generator}</generator>{/if}
    {if isset($feed.managing_editor) && !empty($feed.managing_editor)}<managingEditor>{$feed.managing_editor}</managingEditor>{/if}
    {if isset($admin_email)}<webMaster>{$admin_email} ({$admin_user->firstname} {$admin_user->lastname})</webMaster>{/if}
    {if isset($feed.image) && !empty($feed.image)}
      <image>
	{if isset($feed.description) && !empty($feed.description)}<description>{$feed.description}</description>{/if}
        {if isset($feed.link) && !empty($feed.link)}<link>{$feed.link}</link>{/if}
        <title>{$feed.title}</title>
        <url>{$file_location}/{$feed.image}</url>
      </image>
    {/if}

    {* an example of how to create a feed from a call to the news module *}
    {* you can use any smarty variable that is available in the news summary template *}
    {* you can substitute this logic with output from any module that supports a summary
       view, or possibly get artistic and mix output from different modules *}
    {news assign='junk' number='10'}
    {foreach from=$items item='entry'}
    <item>
      <title>{$entry->title}</title>
      <link>{$entry->moreurl}</link>
      <description>{if isset($entry->summary)}{$entry->summary|strip_tags|summarize:40}{else}{$entry->content|strip_tags|summarize:40}{/if}</description>
      <pubDate>{$entry->postdate|us_date_format:"%a, %d %b %Y %H:%M:%S %Z"}</pubDate>
      <guid>{$entry->moreurl}</guid>
    </item>
    {/foreach}
  </channel>
</rss>

Any clue to what I'm doing wrong would be great. I'm totally out of ideas.

Oh, by the way, the 'junk' value of asign parameter in the template, what is it's fuction? Cant reaaly get the grips of that one.

Mats
Last edited by zigge on Fri Jan 09, 2009 6:32 pm, edited 1 time in total.
zigge
Forum Members
Forum Members
Posts: 75
Joined: Tue Jan 22, 2008 6:53 pm

Re: CGFeedMaker and News - about to give up......

Post by zigge »

More troubleshooting done, and two things discovered:

1: The first error I get in FF/IE is "a semicolon is expected" and pointing at the tag.

2. Removing the atom:link stuff reveals my second problem, only the two first news entrys are shown in the subscription. However, I see that the error in IE/FF is "an invalid character have been detected" My news articles contains Swedish special  characters. Am I running into bug [#2391]?

Mats
zigge
Forum Members
Forum Members
Posts: 75
Joined: Tue Jan 22, 2008 6:53 pm

Re: CGFeedMaker and News - about to give up......

Post by zigge »

Even more validating and troubleshooting done. The or any other HTML-tag, any special character will be transformed to umlauts and then not validate. Removing the HTML tags will keep the unicode characters.

Now, how should one approach this? Not using html in the News articles makes the webpart unusable in terms of styling, and using styles makes the feed usless.

Am I the only one with these issues?

Mats
zigge
Forum Members
Forum Members
Posts: 75
Joined: Tue Jan 22, 2008 6:53 pm

Re: CGFeedMaker and News - about to give up......

Post by zigge »

Well, the encoding stuff seems to bee a result from a old setting in TinyMCE or FCKeditorX to transform characters to umlauts. formatting tags do not affect the encoding as I was thinking. just opening the offending News articles and save them again solved this issue.

However, now I found a new thing...arrgggg....clicking on a link in the subscription doesn't work. Removing the last parameter int the generated link: &cntnt01returnid=1 seems to solve this, but how do I remove this last parameter in my feedmaker template?

Also, left is the atom:link issue that I can't figure out

Mats
zigge
Forum Members
Forum Members
Posts: 75
Joined: Tue Jan 22, 2008 6:53 pm

Re: CGFeedMaker and News - about to give up......

Post by zigge »

zigge wrote: Well, the encoding stuff seems to bee a result from a old setting in TinyMCE or FCKeditorX to transform characters to umlauts. formatting tags do not affect the encoding as I was thinking. just opening the offending News articles and save them again solved this issue.

However, now I found a new thing...arrgggg....clicking on a link in the subscription doesn't work. Removing the last parameter int the generated link: &cntnt01returnid=1 seems to solve this, but how do I remove this last parameter in my feedmaker template?

Also, left is the atom:link issue that I can't figure out

Mats
Solved the returnid....selecting a page in the CGFeedMaker admin solved this. My on stupidity.

Only the atom:link stuff left....
applekeith
Forum Members
Forum Members
Posts: 23
Joined: Wed Jan 07, 2009 4:20 pm

Re: CGFeedMaker and News - about to give up......

Post by applekeith »

I too am having issues with the CGFeedMaker. After two days of fighting with it, I really want this to work but I am running out of ideas.

I updated my CMSMS to the latest (1.51 San Juan; as of Jan. 6, 2009), installed the latest CGFeedMaker (1.0.3) and CGExtensions (1.14.1). I read all of the FAQs, and boards with similar problems. I am NOT usining pretty urls. So, everything back to original, reloaded CMSMS, and all CG modules, reset all templates.

My website is http://akapplegarth.us. The link to the RSS feed is on the left, just above the news.

I am making progress of a sort. Now I am getting from IE:
A semi colon character was expected.
Line: 4 Character: 99

 
When I run my url through the feed validator (http://feedvalidator.org/), I get the following:
This feed does not validate.

line 4, column 98: XML parsing error: :4:98: not well-formed (invalid token) [help]

... GFeedMaker,cntnt01,default,0&cntnt01feed=news&cntnt01showtemplate=false& ...
You cannot see it, but on the validator page, a pointer is pointing to the "n" in "news". And it highlights the atom:link line:

Code: Select all

Source: http://akapplegarth.us/index.php?mact=CGFeedMaker%2Ccntnt01%2Cdefault%2C0&cntnt01feed=news&cntnt01showtemplate=false&cntnt01returnid=15
<?xml version="1.0"?> 
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> 
 <channel> 
 <atom:link href="http://akapplegarth.us/index.php?mact=CGFeedMaker,cntnt01,default,0&cntnt01feed=news&cntnt01showtemplate=false&cntnt01returnid=15" rel="self" type="application/rss+xml" /> 
   <title>RSS Feed</title> 
   <link>http://akapplegarth.us/index.php</link>    <description>Keith's World of BEAM Robots, Computer Hacks and Other Stuff</description>    <copyright>2007 Keith Applegarth</copyright>    <generator>CGFeedMaker 1.0.3 on CMS Made Simple</generator>    <managingEditor>keith.applegarth@gmail.com</managingEditor>    <webMaster>Keith.Applegarth@gmail.com (Keith Applegarth)</webMaster>     
               <!-- Displaying News Module --> 
<!-- News Categories: 'RSS Feed' --> 
<!-- Start News Display Template --> 
<!-- End News Display Template --> 
  
     </channel> 
</rss> 
<!-- 0.524179 / 14 / 5657312 / 0 --> 
  
If I remove the line, I do get the subsciption page, but with no items on it. I put the line back in and the error returns...

Here is the feed info:
Feed Name/Alias: news
Use this page for links: 1. – The Front Page
Feed Title: RSS Feed
Feed Link: http://akapplegarth.us/index.php
Feed Description: Keith's World of BEAM Robots, Computer Hacks and Other Stuff
Feed Copyright: 2007 Keith Applegarth
Feed Editor: keith.applegarth@gmail.com
Time To Live: 60
Feed Image:
Categories: RSS Feed

Here is the RSS Feed Template

Code: Select all

{* original rss feed template *}
<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
  <atom:link href="{root_url}{$smarty.server.REQUEST_URI}" rel="self" type="application/rss+xml" />
    <title>{$feed.title}</title>
    {if isset($feed.link) && !empty($feed.link)}<link>{$feed.link}</link>{/if}
    {if isset($feed.description) && !empty($feed.description)}<description>{$feed.description}</description>{/if}
    {if isset($feed.copyright) && !empty($feed.copyright)}<copyright>{$feed.copyright}</copyright>{/if}
    {if isset($generator)}<generator>{$generator}</generator>{/if}
    {if isset($feed.managing_editor) && !empty($feed.managing_editor)}<managingEditor>{$feed.managing_editor}</managingEditor>{/if}
    {if isset($admin_email)}<webMaster>{$admin_email} ({$admin_user->firstname} {$admin_user->lastname})</webMaster>{/if}
    {if isset($feed.image) && !empty($feed.image)}
      <image>
	{if isset($feed.description) && !empty($feed.description)}<description>{$feed.description}</description>{/if}
        {if isset($feed.link) && !empty($feed.link)}<link>{$feed.link}</link>{/if}
        <title>{$feed.title}</title>
        <url>{$file_location}/{$feed.image}</url>
      </image>
    {/if}

    {* an example of how to create a feed from a call to the news module *}
    {* you can use any smarty variable that is available in the news summary template *}
    {* you can substitute this logic with output from any module that supports a summary
       view, or possibly get artistic and mix output from different modules *}
    {news category='RSS Feed' number='10' assign='junk'}
    {foreach from=$items item='entry'}
    <item>
      <title>{$entry->title}</title>
      <link>{$entry->moreurl}</link>
      <description>{if isset($entry->summary)}{$entry->summary|strip_tags|summarize:40}{else}{$entry->content|strip_tags|summarize:40}{/if}</description>
      <pubDate>{$entry->postdate|rfc_date}</pubDate>
      <guid>{$entry->moreurl}</guid>
    </item>
    {/foreach}
  </channel>
</rss>
Here is the page template:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/2002/REC-xhtml1-20020801/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<head>

<!Added for RSS feed>
{CGFeedMaker action='autodiscovery' feed="news"}
<!Added for RSS feed>

<title>{sitename} - {title}</title>
<link rel="stylesheet" type="text/css" href="1024px.css" title="1024px style" media="screen,projection" />
{stylesheet}
{metadata}
</head>
<!-- 1024px fixed left (default): no special classes needed on body, wrap or content -->
</__body>
<div id="wrap">

<div id="header">
<p id="toplinks">Skip to: {anchor anchor='content' text='Content'} | {anchor anchor='sidebar' text='Navigation'} | {anchor anchor='footer' text='Footer'} </p>
<img src="images/kw.jpg" alt="Keith's World" align="top" >
<p id="slogan">There is no try, just do or do not...Yoda</p>
<div id="content"><p align="right">Today is 
<__script__ type="text/javascript">
<!--
var currentTime = new Date()
var month = currentTime.getMonth() + 1
var day = currentTime.getDate()
var year = currentTime.getFullYear()
document.write(month + "/" + day + "/" + year)
//-->
</__script>
</div>
</div><!-- /header -->

<div id="content">
<h2>{title}</h2>
{content}
<div id="footer">
<p><a href="mailto:keith.applegarth@gmail.com">Contact us</a> | {anchor anchor='header' text='Back to top'}</<br />
© 2007 <a href="mailto:keith.applegarth@gmail.com">Keith Applegarth</a> | Design by <a href="http://andreasviklund.com/">Andreas Viklund</a></p>
</div><!-- /footer -->

</div><!-- /content -->

<div id="sidebar">
<h2>Welcome!</h2>
<p>Constantly Evolving...</p>

<h2>Navigate:</h2>
{cms_module module='menumanager' template='1024px : basic'   collapse='1'}
<h2 class="printonly">Site news:</h2>
<!Added for RSS feed>{CGFeedMaker action='rsslink' feed='news'}<!END of Added for RSS feed>
{news number='8' category='General'}
<br>
<h2>Front Page links:</h2>
<ul>
  <li><a href="http://andreasviklund.com/templates/" target="Templates">Andreas Viklund</a> - Original designer of this template</li>
  <li><a href="http://cmsmadesimple.org/" target="CMS">CMS Made Simple</a> - Content management system</li>
  <li><a href="http://akapplegarth.us/php/index.php?page=my-resume">My Resume</a> - All about me!</li>
  <li><a href="http://www.scrapalaska.com/" target="ScrapAlaska">ScrapAlaska.com</a> - Judy's Scrapbooking and Stamping Stuff!</li>
  <li><a href="http://www.scrampalot.com/" target="ScrampAlot">ScrampAlot.com</a> - Judy's Scrapbooking And Stamping Store!</li>
  <li><a href="mailto:keith.applegarth@gmail.com?subject=Comment on Web Site">Leave a Comment</a></li>

</ul>
</div><!-- /sidebar -->

<!-- Start of StatCounter Code -->
<p>Visitors:
<__script__ type="text/javascript">
sc_project=3720950; 
sc_invisible=0; 
sc_partition=45; 
sc_security="e2c30856"; 
sc_text=2; 
</__script>

<__script__ type="text/javascript" src="http://www.statcounter.com/counter/counter_xhtml.js"></__script><noscript><div class="statcounter"><a href="http://www.statcounter.com/" target="_blank"><img class="statcounter" src="http://c46.statcounter.com/3720950/0/e2c30856/0/" alt="hit counter" ></a></div></noscript>
<!-- End of StatCounter Code --><br><a href="http://my.statcounter.com/project/standard/stats.php?project_id=3720950&guest=1">View My Stats</a>
</p>
</div><!-- /wrap -->


<!-- original template by andreas viklund, adapted for cms made simple 1.04 by kermit -->
<__body>
</__html>
Many thanks in advance. I really do appreciate it.

Keith Applegarth
zigge
Forum Members
Forum Members
Posts: 75
Joined: Tue Jan 22, 2008 6:53 pm

Re: CGFeedMaker and News - about to give up......

Post by zigge »

First I troubleshoot by changing the:

Code: Select all

{news category='RSS Feed' number='10' assign='junk'}
to:

Code: Select all

{news number='10' assign='junk'}
and se if yo get any news at all. I have removed the atom:link since it is not really neccessary.

Mats
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: CGFeedMaker and News - about to give up......

Post by Dr.CSS »

What ver. of CGFeedmaker are you using, as I believe this has been fixed in latest ver...
applekeith
Forum Members
Forum Members
Posts: 23
Joined: Wed Jan 07, 2009 4:20 pm

Re: CGFeedMaker and News - about to give up......

Post by applekeith »

I am running the latest versions as of Jan. 6 2009, CGExtersions is 1.14.1 and CDFeedMaker is 1.0.3. Additionally, I have removed and reinstalled both and reset templates to factory original.

I changed both items (removed "category='RSS Feed'" and the line and now IE says:
Reference to undefined entity 'nbsp'.
Line: 14 Character: 6

Page 1 of 6
The feedvalidator(http://feedvalidator.org/) literally craps itself with all sorts of errors.

The news line now reads:

Code: Select all

{news number='8' assign='junk'}
I have the number set to 8 to match my page display of 8. I did try 10, but it had no effect.

With the (and no "category='RSS Feed'") line in there IE displays the following:
A semi colon character was expected.
Line: 4 Character: 99

 
And the feedvalidator (http://feedvalidator.org/)displays:
Sorry
This feed does not validate.

line 4, column 98: XML parsing error: :4:98: not well-formed (invalid token) [help]

... GFeedMaker,cntnt01,default,0&cntnt01feed=news&cntnt01showtemplate=false& ...                                             ^Source: http://akapplegarth.us/index.php?mact=C ... eturnid=15


The pointer is to the 'n' in 'feed=news'. And still I get no news...

Maybe it will give you a bit more of a clue than it does me. I would really like to get this working...Especially since I know others have it working...

Thanks again,
Keith Applegarth
applekeith
Forum Members
Forum Members
Posts: 23
Joined: Wed Jan 07, 2009 4:20 pm

Re: CGFeedMaker and News - about to give up......

Post by applekeith »

As a side note I put the back in left the and category out and number='10'; I get the following from Firefox:
XML Parsing Error: not well-formed
Location: http://akapplegarth.us/index.php?mact=C ... eturnid=15
Line Number 4, Column 99: 
--------------------------------------------------------------------------------------------------^
It still is pointing to the n in news...

Keith
applekeith
Forum Members
Forum Members
Posts: 23
Joined: Wed Jan 07, 2009 4:20 pm

Re: CGFeedMaker and News - about to give up......

Post by applekeith »

I am not sure what happened to my previous post...the last post was an addendum... I am running CGFeedMaker 1.0.3. & CGExtensions 1.14.1. I have uninstalled and reinstalled both, and reset the templates to factory.

I tried both of your suggestions (without the atom line and category removed) and I still don't get any news feed. IE says:
Reference to undefined entity 'nbsp'.
Line: 14 Character: 6

Page 1 of 3
Firefox shows the RSS Feed but no news items.

Thanks again,
Keith
zigge
Forum Members
Forum Members
Posts: 75
Joined: Tue Jan 22, 2008 6:53 pm

Re: CGFeedMaker and News - about to give up......

Post by zigge »

applekeith wrote: I am not sure what happened to my previous post...the last post was an addendum... I am running CGFeedMaker 1.0.3. & CGExtensions 1.14.1. I have uninstalled and reinstalled both, and reset the templates to factory.

I tried both of your suggestions (without the atom line and category removed) and I still don't get any news feed. IE says:
Reference to undefined entity 'nbsp'.
Line: 14 Character: 6

Page 1 of 3
Firefox shows the RSS Feed but no news items.

Thanks again,
Keith
Now, the &nbsp is umlaut for non breaking space and seems to be the result of your parameter number="8". Try removing this as well i.e:

Code: Select all

{news assign='junk'}


Or: Go into yout news summary tempate and remove the whitespaces in the row:

Code: Select all

{$pagetext} {$pagenumber} {$oftext} {$pagecount}
to

Code: Select all

{$pagetext}{$pagenumber}{$oftext}{$pagecount}
and see what happens. It loooks more and more as my problems with characters beeing translated to umlauts.

What editor do you use for tempaltes? standard no editor or CodePress?

Mats
Last edited by zigge on Thu Jan 08, 2009 8:08 pm, edited 1 time in total.
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: CGFeedMaker and News - about to give up......

Post by tyman00 »

zigge wrote:
Oh, by the way, the 'junk' value of asign parameter in the template, what is it's fuction? Cant reaaly get the grips of that one.
Junk is just a name that you need to give the assignment. To my knowledge, it really does not matter what it is named (for this specific purpose).


zigge wrote:
Only the atom:link stuff left....
When I "improved" the template to make the W3 validator happier, I was testing with Pretty URL's turned on. Apparently the ATOM link will not work if you do not have Pretty URL's turned on. Some of the characters in the URL's throw off the validator. You will need to delete that reference from your template if you do not intend to turn Pretty URL's on. The ATOM feed is not required, just recommended.

applekeith wrote: I am not sure what happened to my previous post...the last post was an addendum... I am running CGFeedMaker 1.0.3. & CGExtensions 1.14.1. I have uninstalled and reinstalled both, and reset the templates to factory.

I tried both of your suggestions (without the atom line and category removed) and I still don't get any news feed. IE says:
Reference to undefined entity 'nbsp'.
Line: 14 Character: 6

Page 1 of 3
Firefox shows the RSS Feed but no news items.

Thanks again,
Keith
Go through your news articles and be sure that you do not have any random characters that could be encoded. It looks like your issue comes from an encoded space ( ). As stated above be sure TinyMCE and FCKEditor are not encoding the characters. Also be sure that if you have special characters, like an umlaut a (ä) you write it ae instead. This is a validation issue, not a CGFeedMaker Issue. FF will display the feed, but if it has an issue with certain things it will not display the content.

If it is still a huge issue you can try wrapping your description in the CDATA call. Though most would recommend against it because it's not the proper way to handle the issue..
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.
zigge
Forum Members
Forum Members
Posts: 75
Joined: Tue Jan 22, 2008 6:53 pm

Re: CGFeedMaker and News - about to give up......

Post by zigge »

Yep, atom:link stuff already removed since it's only recommended, not mandatory. Pretty URL is not an option on my server.

Mats
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: CGFeedMaker and News - about to give up......

Post by tyman00 »

zigge wrote: Yep, atom:link stuff already removed since it's only recommended, not mandatory. Pretty URL is not an option on my server.

Mats
Didn't know if you were still hanging on that issue or not :) The new template will have a comment in there about Pretty Url's. Sorry for the confusion.
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.
Post Reply

Return to “Modules/Add-Ons”