Page 2 of 2
Re: CGFeedMaker is eminent - RSS will be removed from News.
Posted: Mon Dec 22, 2008 5:58 pm
by saltydog
In fact. I have found this error in validation:
"pubDate must be an RFC-822 date-time"
But I am not changing (I suppose) any format in the pubDate of the news or the feed...
Re: CGFeedMaker is eminent - RSS will be removed from News.
Posted: Mon Dec 22, 2008 6:04 pm
by saltydog
Could the "pubDate" error be due to the fact that the pubDate is automatically translated into the current locale?
Re: CGFeedMaker is eminent - RSS will be removed from News.
Posted: Mon Dec 22, 2008 8:00 pm
by ZYV
The dates has to be generated using the following code:
$date = date("r", strtotime($data['created']));
I don't know if
{$entry->postdate|date_format:"%a, %d %b %Y %H:%M:%S %Z"}
produces the same results. If it doesn't, then probably it is the reason why it does not work.
Re: CGFeedMaker is eminent - RSS will be removed from News.
Posted: Tue Dec 23, 2008 8:32 am
by Signex
PubDate has to be english to be valid, if you have your current locale set to something else, you wont get a valid feed.
I've made a topic about that a couple of days ago but its not fixed yet:
http://forum.cmsmadesimple.org/index.ph ... 907.0.html
Re: CGFeedMaker is eminent - RSS will be removed from News.
Posted: Tue Dec 23, 2008 9:41 am
by saltydog
Signex, you're right. I have checked my wordpress blog (italian locale) and the pubdate is generated in english. This doesn't happen with CMSMS
Re: CGFeedMaker is eminent - RSS will be removed from News.
Posted: Fri May 29, 2009 9:01 am
by GDS
CGFeedMaker has the same problem with pretty URL's as News module,
as described in the thread
http://forum.cmsmadesimple.org/index.ph ... 012.0.html
Special characters in title needs to be translated to avoid errors in pretty url's.
GDS
Edit: Some characters that makes trouble is:
«»–
Re: CGFeedMaker is eminent - RSS will be removed from News.
Posted: Mon Jul 20, 2009 6:08 pm
by chuckienorton
@calguy, great mod! Thanks.
I'm having problems getting it to work. I followed instructions on the mod 'help' page and did this:
1. edited the NEWS feed and added image. Left template alone for now (haven't made many changes to news variables anyway)
2. added {CGFeedMaker action='autodiscovery' feed='news'} to metadata box in options on my news page
3. just under {news} i added {CGFeedMaker action='rsslink' feed='news'} on that same page
Then I hit apply & go to check it out - but it's just all blank.
Have I entered anything in wrong?
Thanks in advance!
Re: CGFeedMaker is eminent - RSS will be removed from News.
Posted: Mon Jul 20, 2009 6:19 pm
by tyman00
What's blank... the feed? For both the link and the autodiscovery? Have you checked the source of the feed? Have you validated the feed to see if that is an issue?
Re: CGFeedMaker is eminent - RSS will be removed from News.
Posted: Mon Jul 20, 2009 6:32 pm
by chuckienorton
Thanks for quick response!
tyman00 wrote:
What's blank... the feed? For both the link and the autodiscovery? Have you checked the source of the feed? Have you validated the feed to see if that is an issue?
Sorry for clarity.. the page where I placed {CGFeedMaker action='rsslink' feed='news'} is blank. Is that not supposed to be a link to the rss feed?
Also (along those same lines) how would I access the feed directly by url if it's working? Under feedmaker settings, it's set to "rss" but typing in "rss" after the url doesn't work (I do have pretty urls working correctly). Again, did I miss something.
Thanks!
Re: CGFeedMaker is eminent - RSS will be removed from News.
Posted: Mon Jul 20, 2009 9:27 pm
by JeremyBASS
Try to replace
{news category='General, Healthday, Volunteer News, Employee News, Events' assign='junk'}
with
{capture assign='junk'}
{news category='General, Healthday, Volunteer News, Employee News, Events' }
{/capture}
and this
{$description|trim|strip_tags|summarize:40}
with this
in the template if your useing what is stock... you can see the output of those few changes to the stock template here
http://98.129.105.16/feeds/news.rss (it's a beta site) that is what solved the issue for me... hope that helps
Cheers
Jeremy
Re: CGFeedMaker is eminent - RSS will be removed from News.
Posted: Tue Mar 30, 2010 4:56 pm
by Gregor
Hi,
I'm also stuck with feedmaker. After trying to validate, it gives the following error:
Sorry
This feed does not validate.
*
line 2, column 0: XML parsing error: :2:0: XML or text declaration not at start of entity [help]
3.
4. RSS feed Uisge Beatha
5.
6.
The first line is blank. I checked and reset the template without any luck. Modified the template based on JeremyBass second suggestion (the first suggestion is not in my template:
Code: Select all
<!-- Start Content Area -->
<div id="main">
<div style="float: right; margin-top: 0.0em;">
{CGFeedMaker action='rsslink' feed='news' imageonly='' image='uploads/images/cms/images.jpg'}
Any suggestions or help are most welcome.
Thanks in advance,
Gregor
Re: CGFeedMaker is eminent - RSS will be removed from News.
Posted: Sat Apr 03, 2010 2:10 pm
by Gregor
I did put {get_template_vars} in the template to see the vars:
SCRIPT_NAME = /index.php
app_name = CMS
sitename = Uisge Beatha - mijn zeilboot, een Hanse 311
lang = nl_NL
encoding = UTF-8
gCms = Object
cgsimple = Object
content_obj = Object
content_id = 15
page = 15
page_id = 15
page_name = home
page_alias = home
position = 00001
friendly_position = 1
actionid = m51c05
actionparams = Array (3)
returnid = 15
mod = Object
CGFeedMaker = Object
search_actionid = cntnt01
hogan = onfocus="if(this.value==this.defaultValue) this.value='';" onblur="if(this.value=='') this.value=this.defaultValue;"
searchtext = naar...
startform =
label = Zoeken
searchprompt = Zoeken
submittext = Zoek
endform =
gcb_params = Array (1)
menuparams = Array (3)
count = 24
nodelist = Array (24)
node = Object
Re: CGFeedMaker is eminent - RSS will be removed from News.
Posted: Wed Apr 07, 2010 10:16 am
by Gregor
After a long search, it looks like there is in one of the php-modules or plugins, just a little too much white space after the final closing PHP tag that looks like this... "?>"
After deleting the Scriptdeploy module, I finally got the rss-feed back to work again.
Gregor