Page 1 of 1

Find XML or RSS feed on a website

Posted: Sun Dec 19, 2004 11:32 pm
by zimick7
I am trying to write a script that attempts to find an XML or RSS feed on a website even if it is not linked from the main page. Is this even possible if the feed is not linked from a page?

A function similar to readdir would be helpful... does anyone know anyway that a directory can be read on a remote site?

Any thoughts or ideas would be appreciated.
Thanks!

Posted: Wed Dec 22, 2004 2:35 pm
by skehoe
If the site has a feed and wants it to be available, they will most likely have a file named index.xml accessable from their root web directory. (http://www.foo.com/index.xml)

~Scott