Hi folks,


If I found an interesting news site but can't find *.rss.php how can I create it?

e.g.
http://www.ft.com/world/us

How to search the news sites with *rss.php file available? TIA


B.R.
satimis

Hi Satimis,
let me ask you a couple of questions first:
1) are you looking for a general way to find a RSS channel for any website?
There isn't any. It's the people who run the website who can create a RSS channel and make it available for their readers.
Also the RSS channel address differs from server to server.
E.g. RSS channel for http://www.ft.com/world/us is http://www.ft.com/rss/world/us
No .rss.php in the address.

2) or are you a web developer who runs ft.com and wants to write a script for RSS channel?
I quite doubt that because ft.com doesn't appear to be written in PHP and also, their programmers seem to know their stuff.

3) or do you want to be able to create a RSS channel for any website just for your own usage? Then ask Google for
create rss channel from any page
This might be promising:
http://www.masternewmedia.org/news/2006/03/09/how_to_create_a_rss.htm

Or are you after something else? Please give us more information.

Hi Satimis,
let me ask you a couple of questions first:
1) are you looking for a general way to find a RSS channel for any website?
There isn't any. It's the people who run the website who can create a RSS channel and make it available for their readers.
Also the RSS channel address differs from server to server.
E.g. RSS channel for http://www.ft.com/world/us is http://www.ft.com/rss/world/us
No .rss.php in the address.

2) or are you a web developer who runs ft.com and wants to write a script for RSS channel?
I quite doubt that because ft.com doesn't appear to be written in PHP and also, their programmers seem to know their stuff.

3) or do you want to be able to create a RSS channel for any website just for your own usage? Then ask Google for
create rss channel from any page
This might be promising:
http://www.masternewmedia.org/news/2006/03/09/how_to_create_a_rss.htm

Or are you after something else? Please give us more information.

Hi petr.pavel,


Thanks for your response. I hope my reply hereinbelow stated can answer your 3 questions simultaneously.


I have a webpage, built on html and javascript, (a single page website for testing only) running on my own server. A php script is running on it integrating other sites delivering news to visitors while browsing my webpage on their PC. It works w/o problem. The news headlines (links) are scrolling on a marquee container.

I need those URLs for integration, such as;
http://www.independent.ie/sport/hurling/rss
http://www.rte.ie/rss/gaa.xml
etc.


I found some sites of my interest but can't find the path to rss. So my question is;

1) How to find the full path to rss
2) If not available can I create it. If YES, then HOW.

TIA


If my reply is not clearly answering your questions please let me know. I'll make further explanation upon receipt of the same. Thanks


B.R.
satimis

Hi Satimis,
that makes it more clear, thanks.

I'm still surprised though, that you believe that a RSS channel already exists for your website and you only have to discover where it is. It makes me believe that you didn't create your website from scratch (i.e. program your website) but used some canned CMS already. In other words, you installed some website content management software - not programmed it yourself.
If that is the case then please let me know its name and I'll check out if it has a RSS support or not.

Or perhaps I misunderstood. You wrote that you download news from other servers and display it on your website. Do you want your RSS channel to contain (a) this downloaded news or (b) articles of your own?
If (a) then you should ask the person who programmed the news download and display. He/she will have to program another script to display the same information in XML (which is RSS format).

Or (b), then again, you will need somebody who will program a script that takes your articles (from a database I presume) and display them in XML as a RSS channel.

Am I getting closer?

I'm still surprised though, that you believe that a RSS channel already exists for your website and you only have to discover where it is. It makes me believe that you didn't create your website from scratch (i.e. program your website) but used some canned CMS already. In other words, you installed some website content management software - not programmed it yourself.
If that is the case then please let me know its name and I'll check out if it has a RSS support or not.

I built this single page website from scratch. What I integrate to it are a javascript for marquee and a php script for integrating the news websites to my webpage. I found the scripts on Internet. What I need is the channel, a path linking to the news site. The news will be updated automatically after signing the contract with the sites to be linked.

Or perhaps I misunderstood. You wrote that you download news from other servers and display it on your website. Do you want your RSS channel to contain (a) this downloaded news or (b) articles of your own?
If (a) then you should ask the person who programmed the news download and display. He/she will have to program another script to display the same information in XML (which is RSS format).

Or (b), then again, you will need somebody who will program a script that takes your articles (from a database I presume) and display them in XML as a RSS channel.

Am I getting closer?

Please see my answer to your question above. Thanks.


B.R.
satimis

... a php script for integrating the news websites to my webpage. I found the scripts on Internet. What I need is the channel, a path linking to the news site. The news will be updated automatically after signing the contract with the sites to be linked.

So here's how I understand it:
You have a set of php scripts that downloads news from several sources and displays them on your website. Now you need another script that would combine news from all your sources into one RSS channel.

I'm sorry but you can't do that without understanding PHP and the scripts that you use for downloading news. There is no simple solution. Such a script doesn't exist out of nothing. You have to program it. I'd say that you should hire someone to do it for you.

I would do it for you if you want, but for a price. If you are interested then please send me a link to your website and source codes of the php scripts to petr.pavel@pepa.info. I will give you a price estimation then. As I'm sure I will also have to talk to you about details, it would be great if you have Skype or something similar.

I'm sorry that it's not as simple as you hoped.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.