cancel
Showing results for 
Search instead for 
Did you mean: 

RSS source from my site

rpaco
Hooked
Posts: 8
Registered: 23-11-2007

RSS source from my site

I am trying to experiment with an RSS news page on my F9 site.
1) Is there any plusnet code for this? If so where please
2) I am looking at using MagicRSS which requires 2 php files to be put in my "root" directory. Plusnet say they must go in the cgi space instead.
3) Does anyone know how to implement a date on an RSS page so that the news received via an RSS reader (I use NewsFox) is relevant and can be deleted when x days old. Also it lets the reader know which is new news and which not.
4) Does Plusnet have a date code/function to achieve the above from within the server (s)
5) My site is via F9 not Plusnet, do I have to alter any paths no my HTML page to cgi scripts to say Plusnet instead or will both work or what?
Many thanks
5 REPLIES
RobDickson
Grafter
Posts: 632
Thanks: 2
Registered: 06-08-2007

Re: RSS source from my site

Is this the kind of thing you're talking about?
http://www.robdickson.co.uk/otherpages/bbcnews.php
There's plenty of code available. Try typing RSS to HTML into a search engine.
http://www.feedforall.com/free-php-script.htm
http://www.rss2html.com/
http://www.blinkbits.com/feed/build.php
Rob
Community Veteran
Posts: 1,571
Thanks: 3
Registered: 13-04-2007

Re: RSS source from my site

I dont know were you are getting all your information from but you dont need any of that. All a RSS feeds are simple XML files you put into you normal webspace and put a link to the xml file as a RSS feed.

here is an example
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="sample.css" type="sample.css"?>
<rss version="2.0"><channel><title>Platform 1 Skate Park</title><link>http://www.janwright.co.uk/creweskatepark</link><description>The new skate park in Crewe called Platform 1 on Tipkinder </description><copyright>Jan Wright</copyright><managingEditor>Jan Wright</managingEditor><webMaster>Jan Wright</webMaster><pubDate>Tue, 26 Sep 2006 22:16:03 GMT</pubDate><lastBuildDate>Wed, 16 May 2007 22:07:37 GMT</lastBuildDate><image><url>http://www.janwright.co.uk/creweskatepark/logo2.jpg</url><title>Platform 1 Skate Park</title><link>http://www.janwright.co.uk/creweskatepark</link></image><item><title>Chavs Strike again</title><link>http://www.janwright.co.uk/creweskatepark/news.htm</link><description>3 times this week skaters have turned up and found there has been a fire in the bowl. It hasnt done much damage but they are a pain in the rear so if you see them report them dont let them win. We are chasing CCTV for the park</description><guid isPermaLink="false">{221c5fd0-1097-787e-48a-c70983e482e1}</guid><pubDate>Wed, 14 Mar 2007 23:57:43 GMT</pubDate></item><item><title>Website updated</title><link>http://www.janwright.co.uk/creweskatepark/</link><description>As the park is now open we have updated the website with lots of new pages. </description><guid isPermaLink="false">{174ec200-cc8e-75d7-8795-9a444a85add5}</guid><pubDate>Sat, 10 Mar 2007 01:08:16 GMT</pubDate></item><item><title>Alsager Sk8 Park</title><link>http://www.janwright.co.uk/creweskatepark/news.htm</link><description>New plans updated for the new SK8 park at Alsager we need skaters to give feedback on the plans contact us now</description><guid isPermaLink="false">{cd5d3db1-fb6-f07e-7872-e291d2b078ff}</guid><pubDate>Sat, 10 Mar 2007 01:09:57 GMT</pubDate></item><item><title>SK8 Videos</title><link>http://www.janwright.co.uk/creweskatepark/vids.htm</link><description>We now have a dedicated video page so send us you videos</description><guid isPermaLink="false">{e34494dc-e5e-1005-8bc4-4958c6bd16fc}</guid><pubDate>Tue, 26 Sep 2006 22:41:43 GMT</pubDate></item><item><title>BMX Grand opening on 5th Augst</title><link>http://www.janwright.co.uk/creweskatepark/news.htm</link><description>The BMX track grand opening day will be the 5th August when the regional finals will be run on the new Olympic standard track stay tuned for more news.</description><guid isPermaLink="false">{78e5c1fc-31b5-2931-d3f6-c7c2ea5949cc}</guid><pubDate>Wed, 16 May 2007 22:07:37 GMT</pubDate></item></channel></rss>
If you use firefox all you need is RSS editor free extention if you dont already have it. You simple fill in a form and it creates the file for you up load it add a link on your site job done.
If you want the browser to pick it up on its own and show the page has a rss feed add
<line rel="alternate" type="application/rss+xml"  href="http://www.janwright.co.uk/jan.xml" title="Jan's Home Page RSS Feed">
<link href="http://www.janwright.co.uk/jan.xml" rel="alternate" type="application/rss+xml" title="Jan's Home Page RSS Feed" />
to the head of you page (change for your own page of coarse)
Firefox dates it so it solves all your problems. Using Firefox RSS editor its a 10 min job to get it going no PHP cgi fbi cia or anything else
rpaco
Hooked
Posts: 8
Registered: 23-11-2007

Re: RSS source from my site

ok thanks I will try out some of the stuff you have both posted.
Community Veteran
Posts: 1,571
Thanks: 3
Registered: 13-04-2007

Re: RSS source from my site

the addon you want for Firefox is
https://addons.mozilla.org/en-US/firefox/addon/344
Install it open it add the details add items save as feed.xml  put it on your normal site with a link to the file name and the jobs done
RobDickson
Grafter
Posts: 632
Thanks: 2
Registered: 06-08-2007

Re: RSS source from my site

It depends on exactly what you want to achieve.
If you want to create an RSS feed, then you are correct, all an RSS feed is an XML file.
However, I thought that rpaco wanted to use the information from somebody else's RSS feed (for example the BBC News RSS feed), and put that information on his/her website in HTML. If this is the case, then the links that I posted will save him/her having to code this.