resolved preg_match
resolved preg_match
added url and relative links
sanitized dirPath and after vars
added url for input
updated rss script
resolved loop page generation
updated code
added template