Currently Our system outputs rss feed as a link to an XML file.
Using the method {news makerssbutton="true"} has three issues for me.
1 It shows the news item as -> title and the whole article for each news item
I need a simple title and summary like bbc http://newsrss.bbc.co.uk/rss/newsonline ... ge/rss.xml
reading the help this seems like an edit of the admin template but I cant make it work.
2 It uses a RSS logo - again editing the admin image could solve this - but I also need to link off plain text somewhere else in the page - ie "click HERE for RSS feed"
3 And the most imporatnt I wanted a simple xml file like the bbc example - and be able to specify where it lives on the server.
Anyone with any RSS experience that can help I would be very grateful, spent a few hours trying today with no joy.
Thanks Guys
Dan
Outputing rss as an xml file
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Outputing rss as an xml file
1. You can change the look and feel of the rss feed by changing the rss template in modules/News/templates/rss.tpl
2. You can create whatever link you want, just link to /news/rss
2. You can create whatever link you want, just link to /news/rss
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Outputing rss as an xml file
Thanks for that I have edited the layout now
But when I go to news/rss I get a "The page cannot be found" do I have to enable something first?
And any ideas on saving the file as an XML file like /rss.xml
Thanks again.
Dan
But when I go to news/rss I get a "The page cannot be found" do I have to enable something first?
And any ideas on saving the file as an XML file like /rss.xml
Thanks again.
Dan
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Outputing rss as an xml file
sorry.... forgot to be specific.
I'm using internal pretty urls, so on my site I access index.php/news/rss
if you've got mod_rewrite enabled, and have pretty urls enabled, it should be news/rss
if not.... then you'd need to go to: index.php?mact=News,cntnt01,rss,0&cntnt01showtemplate=false
I would suggest you enable (at the minimum) internal pretty urls
and then try it out.... if you do that, you won't need to generate a static file.
I'm using internal pretty urls, so on my site I access index.php/news/rss
if you've got mod_rewrite enabled, and have pretty urls enabled, it should be news/rss
if not.... then you'd need to go to: index.php?mact=News,cntnt01,rss,0&cntnt01showtemplate=false
I would suggest you enable (at the minimum) internal pretty urls
and then try it out.... if you do that, you won't need to generate a static file.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Outputing rss as an xml file
Great thanks again progress being made, I am on a 64 bit windows server dont think I can use pretty URLS?
Windoze!
If not any ideas?
Thanks again
Dan
Windoze!
If not any ideas?
Thanks again
Dan
-
- Support Guru
- Posts: 8169
- Joined: Tue Oct 19, 2004 6:44 pm
Re: Outputing rss as an xml file
Then just use the internal pretty urls
modify your config.php
set 'internal_pretty_urls' to true
and 'use_hierarchy' to true.
modify your config.php
set 'internal_pretty_urls' to true
and 'use_hierarchy' to true.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Re: Outputing rss as an xml file
Thanks that works fine - the current site had an xml file - I guess I can just point the readers to this location now.
Thanks again
Dan
Thanks again
Dan
Re: Outputing rss as an xml file
Thanks Calguy for your help on this it is nearly complete
But they do need a static xml file rss.xml out puting to a specific location, how could this be acheived?
Cheers
Dan
But they do need a static xml file rss.xml out puting to a specific location, how could this be acheived?
Cheers
Dan
Re: Outputing rss as an xml file
Or a script added to the submit button on the news to make it save off a static xml file after each addition.
Sounds cluncky tho! Any ideas?
Cheers
Dan
Sounds cluncky tho! Any ideas?
Cheers
Dan
Re: Outputing rss as an xml file
Calguy you said if I get the pretty urls working I dont need to write a static XML file.
What did you mean when you said that -is there a way of tricking the system into seeing a static file where there is none
I need to get /newsrss.xml to exist
Thanks
Dan
What did you mean when you said that -is there a way of tricking the system into seeing a static file where there is none
I need to get /newsrss.xml to exist
Thanks
Dan