Page 1 of 1

Glob rss feed

Posted: Fri May 05, 2006 1:51 pm
by ozzy
Hey,

Is there any way of creating a rss feed using glob()?

Posted: Fri May 05, 2006 2:29 pm
by pickle
glob() returns a directory listing - it has nothing to do with creating an RSS file. Certainly you can use it to provide an RSS feed of the contents of a directory, but other than that...

Posted: Fri May 05, 2006 2:32 pm
by ozzy
pickle wrote:Certainly you can use it to provide an RSS feed of the contents of a directory, but other than that...
Yeah, that's what i ment, create one using the content. But how would i go about doing that.

Posted: Fri May 05, 2006 2:36 pm
by pickle
Do some research on what glob() returns you.
Do some more research on what the format of an RSS feed needs to be.

Figure out a way to morph what glob() gives you into the RSS format.