How does news module work?

General project discussion. NOT for help questions.
Post Reply
jimmychuang
Forum Members
Forum Members
Posts: 76
Joined: Sun Aug 13, 2006 5:35 pm

How does news module work?

Post by jimmychuang »

Can I create RSS feed using news module?  Does anyone have sample sites?  I really want my site have rss feed.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: How does news module work?

Post by Dr.CSS »

When in the admin interface look at News the fifth tab Options has a check box for RSS... Show Feed Auto-Discovery Link:  check the box for this and your news will have RSS feed to give the world...
User avatar
Elijah Lofgren
Power Poster
Power Poster
Posts: 811
Joined: Mon Apr 24, 2006 1:01 am
Location: Deatsville, AL

Re: How does news module work?

Post by Elijah Lofgren »

jimmychuang wrote: Can I create RSS feed using news module?  Does anyone have sample sites?  I really want my site have rss feed.
Yes, the news modules does RSS.
I use it on my site: http://www.elijahlofgren.com/blog/
RSS feed is located here: http://www.elijahlofgren.com/News/rss/ (Firefox auto-discovers it)

Hope this helps,

Elijah
Note: I don't have time to take on any more projects. I'm quite busy. I may be too busy to reply to emails or messages. Thanks for your understanding. :)
raymanexe
New Member
New Member
Posts: 3
Joined: Tue Apr 29, 2008 1:15 pm

Re: How does news module work?

Post by raymanexe »

i tried it and entered the index.php/news/rss and i got object not found... is there anything i need to fix first before it works? thanks.... i need help...
Ceezey77

Re: How does news module work?

Post by Ceezey77 »

I'm curious about this.

Using the Feed Auto-Discovery URL I tried to create a link to http://mysiteurl.com/News/rss and it didn't work

It would be nice to know what the 'default' value is for the Feed Auto-Discovery URL - or at least it's not obvious.

In the end, I created my News module using a custom template with the following:

----------------------------------------------------------------------------------------------------------------------------------------------

Subscribe to our news feed via RSS: {news makerssbutton="true"}

{news number='5' category='General' summarytemplate='news_block_summary' sortby='news_date'}

Subscribe to our news feed via RSS: {news makerssbutton="true"}

----------------------------------------------------------------------------------------------------------------------------------------------

Switching the Feed Auto Discovery URL on and off appears to make no difference for me (I'm using firefox)

There's most probably a more efficient way of doing it but hey, it works for me.  :D
Ceezey77

Re: How does news module work?

Post by Ceezey77 »

Okay an update following my last email - it appears when you switch 'Feed Auto Discovery On' the default value for a site with root http://mysite.com can be any of the following:

http://mysite.com/index.php?page=/News/rss OR
http://mysite.com/index.php/News/rss

Firefox (my version is 2.0.0.14) will typically popup a dialog window prompting you to save the RSS feed under the Bookmarks Toolbar folder when you enter the above addresses in a browser address bar.

Internet Explorer (using version 6.0) generally returns the XML output which I believes needs to be parsed with some XSLT code - (I can't currently display anything due to some errors in the content)
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: How does news module work?

Post by Dr.CSS »

The auto feed will make it's own URL, which in firefox you will see the RSS icon in the address bar, if you use make button it will appear on the page, again in firefox clicking on it will ask you if you want it in the bookmarks, but both IE and Ff. need a feed reader, IE will need you to have a separate one that you will save the URL to which you can also do with Ff., Ff has add ons that will work inside it to parse the feed so you can read it, I use Sage
Ceezey77

Re: How does news module work?

Post by Ceezey77 »

Thanks Mark, it makes a LOT more sense now. I really couldn't understand what 'Feed Auto-Discovery Link' meant until you explained it - so obvious now.  ::)

Funny, I use the Sage addon in FF. and it comes up pretty sweet.

I just know that IE 6.0 (spit, curse, expletives) encounters problems when attempting to parse XML content.

I'm using it at my office since everyone is on IE6 - simple solution: I'm going to remove the rss option and when everyone starts bleating I'll tell 'em to upgrade to IE 7.0 or better still Firefox.  ;)

SOLVED!
Essie
Forum Members
Forum Members
Posts: 27
Joined: Sat Jan 21, 2006 8:13 pm

Re: How does news module work?

Post by Essie »

My RSS feed url used to be working fine. But I just found out that the feed url leads to an error page. My news module seems to be working fine as it does show the news. The only thing is that the feed is not working properly. When I go to my feed url, I see
this message:


XML Parsing Error: junk after document element
Location: http://domain.com/News/rss/
Line Number 46, Column 1:
^

When I click on view source, I found out my xml has a list of advertisements. I don't know how on earth I got this and how I can remove those junk. Could anyone enlighten me on this matter? Thanks.
[url=http://"http://feeds.feedburner.com/Vancouver_Psychics_Journey]A Vancouver Psychic's Journey Blog[/url]
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: How does news module work?

Post by Dr.CSS »

This is not the same problem so you should start another thread, and give some more info like CMSMS ver. any other info needed and have you made any changes to anything...
Essie
Forum Members
Forum Members
Posts: 27
Joined: Sat Jan 21, 2006 8:13 pm

Re: How does news module work?

Post by Essie »

Thanks Mark for your reply.

I've solved my problem. Apparently, it seems to be some bug problem in the old version 1.2.3 Black Rock.
The strange thing is that everything used to work for months and suddenly it just malfunction.
Since I upgraded it to the latest version 1.3 Cuba, everything is working now including the RSS feed url.

Thanks.
[url=http://"http://feeds.feedburner.com/Vancouver_Psychics_Journey]A Vancouver Psychic's Journey Blog[/url]
Post Reply

Return to “General Discussion”