Alright, here is the page I will be referring to: http://www.wizardrss.com/cache/ I am using the following script for that page: http://autoindex.sourceforge.net/ Instead of showing the file name, I would like it to show the name of the actual page- for example, what it would show as the title for each page in Firefox. I don't like how it showed, for example vfdgdfgfdg.xml, I want it to show the actual title of that page. Could anyone take a quick look at the script in question and let me know if that is possible? Thanks in advance for any help!
Sure t would be possible, but I doubt anyone would do it free of charge Have you tried their forums? http://autoindex.sourceforge.net/forum/ It might actually have already been done
It seems like it shouldn't be too hard of an edit... I can't find any information about it on their forum unfortunately.
Its not going to be much of an edit no, but it's going to take someone time to look through and figure it out and come up with the code for you. Have you posted this on their forum? It's likely someone there has a better chance of being able to do this
So in the column 'File', instead of the filename (such as 0a3e32d1221f7ed32d18deac578c2245.xml) you want to display the file's title (such as Demain la veille) ?
yes i think i can give it for free place this at the very end of classes/FileItem.php's constructor: if(strtolower($this->file_ext()) == 'xml') { $c = file_get_contents($this->filename); preg_match('/<title>(.*)<\/title>/', $c, $matches); if(isset($matches[1])) { $this->filename = $matches[1]; } } PHP: