CGFeedMaker is eminent - RSS will be removed from News.

Project Announcements. This is read-only, as in... not for problems/bugs/feature request.
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: CGFeedMaker is eminent - RSS will be removed from News.

Post 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...
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: CGFeedMaker is eminent - RSS will be removed from News.

Post by saltydog »

Could the "pubDate" error be due to the fact that the pubDate is automatically translated into the current locale?
ZYV
Language Partners
Language Partners
Posts: 868
Joined: Tue Nov 15, 2005 9:08 pm

Re: CGFeedMaker is eminent - RSS will be removed from News.

Post 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.
unsigned double ZYV;
Signex

Re: CGFeedMaker is eminent - RSS will be removed from News.

Post 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
Last edited by Signex on Tue Dec 23, 2008 8:34 am, edited 1 time in total.
saltydog
Power Poster
Power Poster
Posts: 281
Joined: Fri Mar 04, 2005 9:06 am

Re: CGFeedMaker is eminent - RSS will be removed from News.

Post 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
GDS
Forum Members
Forum Members
Posts: 81
Joined: Sun Feb 18, 2007 1:26 pm
Location: Norway

Re: CGFeedMaker is eminent - RSS will be removed from News.

Post 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: 
«»–
Last edited by GDS on Fri May 29, 2009 9:52 am, edited 1 time in total.
User avatar
chuckienorton
Forum Members
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.

Post 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!
tyman00
Power Poster
Power Poster
Posts: 906
Joined: Tue Oct 24, 2006 5:59 pm

Re: CGFeedMaker is eminent - RSS will be removed from News.

Post 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?
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.
User avatar
chuckienorton
Forum Members
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.

Post 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!
JeremyBASS

Re: CGFeedMaker is eminent - RSS will be removed from News.

Post 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
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: CGFeedMaker is eminent - RSS will be removed from News.

Post 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
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: CGFeedMaker is eminent - RSS will be removed from News.

Post 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
User avatar
Gregor
Power Poster
Power Poster
Posts: 1874
Joined: Thu Mar 23, 2006 9:25 am
Location: The Netherlands

Re: CGFeedMaker is eminent - RSS will be removed from News.

Post 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
Post Reply

Return to “Announcements”