[SOLVED] - Severe: CGFeedMaker not linking correct feeds
[SOLVED] - Severe: CGFeedMaker not linking correct feeds
I am using CGFeedMake 1.0.3 and CMSMS 1.5.1 but I am experiencing a severe problem: all the feeds in my list are pointing to the same article! The feed corretcly lists the title for each article, but the link is the same for each one!
Last edited by saltydog on Sun Jan 04, 2009 1:03 pm, edited 1 time in total.
Re: Severe: CGFeedMaker not linking correct feeds
UPDATE: I was doing some debuggin and I have found that the link is malformed. Here it is what CGFeedMaker writes in the feed:
and this is the correct link:
For some reason, CGFeedMaker transposes the ampersand character with & , which is not recognized by the reader and it brings to another article (always the same).
Code: Select all
index.php?mact=News,cntnt01,detail,0&cntnt01articleid=190
Code: Select all
index.php?mact=News,cntnt01,detail,0&cntnt01articleid=190
Re: Severe: CGFeedMaker not linking correct feeds
Check if you are using latest feedmaker, and if sp after upgrading, make sure, that you have the latest default template. You get that by restoring it, as an upgrade doesnt touch your template.
Ronny
Ronny
Re: Severe: CGFeedMaker not linking correct feeds
Ronny,
I have removed and reinstalled new version of CGFeedMaker and checked that latest template is in use. Now it is even worst: the feed doesn't work and gives this error:
PS: I have CGExtensions 1.14.1
I have removed and reinstalled new version of CGFeedMaker and checked that latest template is in use. Now it is even worst: the feed doesn't work and gives this error:
Code: Select all
string(134) "Smarty error: [in temporary template line 34]: [plugin] modifier 'us_date_format' is not implemented (core.load_plugins.php, line 124)"
Last edited by saltydog on Sat Jan 03, 2009 5:11 pm, edited 1 time in total.
Re: Severe: CGFeedMaker not linking correct feeds
Besides this error, all accented chars and html special chars are escaped with the &xxx; form, and this doesn't work...
I'm really missing the RSS functionality of the News module. My sites are all without feeds now...
I'm really missing the RSS functionality of the News module. My sites are all without feeds now...
Re: Severe: CGFeedMaker not linking correct feeds
In SVN a change has been made, for non-english languages, to take the rfc_date for the pubdate....
Ronny
Ronny
Re: Severe: CGFeedMaker not linking correct feeds
Yes, this fixes just the date issue, but the links are still wrong... There is "&" into the url that breaks it. It should just be "&"
Re: Severe: CGFeedMaker not linking correct feeds
UPDATE: the links problem has been fixed by enabling pretty urls in the config file. I still have some problem with entities..
Re: Severe: CGFeedMaker not linking correct feeds
See my problems with special characters an News in conjunction with feeds:saltydog wrote: UPDATE: the links problem has been fixed by enabling pretty urls in the config file. I still have some problem with entities..
http://forum.cmsmadesimple.org/index.php/topic,29418.0.html
The problem was apparently that my previous editor FCKeditorX transformed special characters to & and resaving them using TinyMCE solved this problem.
Mats
Re: Severe: CGFeedMaker not linking correct feeds
No, this sounds more like your news-reader has a problem (?). Does the feed validate now?! Try
as a workaround if you want it to work with your reader anyway. You got the idea...{$entry->moreurl|replace:"&":"&"}
unsigned double ZYV;
Re: Severe: CGFeedMaker not linking correct feeds
I have fixed the link problem by enabling pretty urls. Still having validation issues on italian accented chars (À é etc..)ZYV wrote:
as a workaround if you want it to work with your reader anyway. You got the idea...
Re: Severe: CGFeedMaker not linking correct feeds
I finally FIXED all the issues! I had to play with combination of "htmltenities" and "html_entity_decode", but now all my feeds validate correctly.
This is the past part of the template (the foresch loop) where I made modifications:
This is the past part of the template (the foresch loop) where I made modifications:
Code: Select all
{foreach from=$items item='entry'}
<item>
<title>{$entry->title|htmlentities}</title>
<link>{$entry->moreurl}</link>
<description>{if isset($entry->summary)}{$entry->summary|htmlentities|strip_tags|summarize:40}{else}{$entry->content|htmlentities|strip_tags|summarize:40}{/if}</description>
<pubDate>{$entry->postdate|rfc_date}</pubDate>
<guid>{$entry->moreurl}</guid>
</item>
{/foreach}
Re: [SOLVED] - Severe: CGFeedMaker not linking correct feeds
Add eval & submit as diff for http://dev.cmsmadesimple.org/bug/view/2764 ?
unsigned double ZYV;
Re: Severe: CGFeedMaker not linking correct feeds
Hello, where did you change anything for this problem ?RonnyK wrote: In SVN a change has been made, for non-english languages, to take the rfc_date for the pubdate....
Ronny
Thx a lot
Re: [SOLVED] - Severe: CGFeedMaker not linking correct feeds
I have also the same problem:
Thanks
Far
How I can fix this? I downloaded the 1.0.4 version of CGFeedMaker from SVN but it did not work the same. My site's language is Italian.Invalid at the top level of the document.
Line: 1 Character: 1
string(134) "Smarty error: [in temporary template line 34]: [plugin] modifier 'us_date_format' is not implemented (core.load_plugins.php, line 124)"
Thanks
Far