Quantcast
Channel: Snipplr - karlhorky
Viewing all articles
Browse latest Browse all 2

(PHP) RSS Feed Folder v1.1

$
0
0

This script is a modification of the RSS Feed Folder script available at http://www.rssFeedFolder.com/ . The original script created an RSS feed based on the latest changed files by html title and meta description tags. My modification removes the html components of the original script, instead aiming to generate an RSS feed with the latest files (recursive) in the specified directory. The updated script achieves this by looping recursively through all directories that it finds within the specified path and listing out the file names and modification times (filemtime) as it goes. Once it has an array of all filenames with their modification times, it reverse sorts this list and does an array_slice on the first $rssMaxItems to be displayed. Finally, the script echos all the items in RSS format.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images