CGFeedMaker is eminent - RSS will be removed from News.
Re: CGFeedMaker is eminent - RSS will be removed from News.
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...
"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.
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.
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.
$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.
unsigned double ZYV;
Re: CGFeedMaker is eminent - RSS will be removed from News.
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
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
Last edited by Signex on Tue Dec 23, 2008 8:34 am, edited 1 time in total.
Re: CGFeedMaker is eminent - RSS will be removed from News.
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.
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:
«»–
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:
«»–
Last edited by GDS on Fri May 29, 2009 9:52 am, edited 1 time in total.
- chuckienorton
- Forum Members
- Posts: 68
- Joined: Wed Feb 14, 2007 6:58 pm
- Location: Pasadena, California
Re: CGFeedMaker is eminent - RSS will be removed from News.
@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!
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.
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?
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.
- chuckienorton
- Forum Members
- Posts: 68
- Joined: Wed Feb 14, 2007 6:58 pm
- Location: Pasadena, California
Re: CGFeedMaker is eminent - RSS will be removed from News.
Thanks for quick response!
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!
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?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?
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.
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
{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.
Hi,
I'm also stuck with feedmaker. After trying to validate, it gives the following error:
Any suggestions or help are most welcome.
Thanks in advance,
Gregor
I'm also stuck with feedmaker. After trying to validate, it gives the following error:
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: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.
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'}
Thanks in advance,
Gregor
Re: CGFeedMaker is eminent - RSS will be removed from News.
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.
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
After deleting the Scriptdeploy module, I finally got the rss-feed back to work again.
Gregor