Details:
Intranet - All files referred to are on an intranet
Zoom Pro v4.2 build 1000
Indexing – Spider mode
Plugins – Successfully downloaded and installation confirmed (pdf, doc, xls and ppt)
Configuration – file types added to Scan Options
I am having trouble with my Zoom installation and a FileName.php web page.
My IT Support personnel have built a web page that scans a directory of documents and lists them as links. Indexing produces successful searches for text in the name of the hypertext link, but will not follow the hypertext link to index any of the files in the directory.
I need to continue with the dynamic web page in order for non-technical staff to publish their content without having to edit html (EG: Put or take files from this intranet folder).
I understand from posts in the forum that Zoom indexing should be able to follow those links on the dynamic php webpage to the documents.
The index log shows that other documents, linked by hard coded hypertext links are properly processed.
I have reached the limit of my expertise and options. Provided below is a copy of a simplified version of the php web page for review.
Intranet - All files referred to are on an intranet
Zoom Pro v4.2 build 1000
Indexing – Spider mode
Plugins – Successfully downloaded and installation confirmed (pdf, doc, xls and ppt)
Configuration – file types added to Scan Options
I am having trouble with my Zoom installation and a FileName.php web page.
My IT Support personnel have built a web page that scans a directory of documents and lists them as links. Indexing produces successful searches for text in the name of the hypertext link, but will not follow the hypertext link to index any of the files in the directory.
I need to continue with the dynamic web page in order for non-technical staff to publish their content without having to edit html (EG: Put or take files from this intranet folder).
I understand from posts in the forum that Zoom indexing should be able to follow those links on the dynamic php webpage to the documents.
The index log shows that other documents, linked by hard coded hypertext links are properly processed.
I have reached the limit of my expertise and options. Provided below is a copy of a simplified version of the php web page for review.
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <?php $dir = opendir('../Documents/Advisories/avian_flu'); $files = array(); while ($file = readdir($dir)) { // If file name begins with a period, skip it if (preg_match("/^\./", $file)) { continue; } // If file is a directory, skip it if (is_dir($file)) { continue; } // Show only doc or pdf or xls or txt if (!preg_match("/\.(doc|pdf|xls|txt)$/i", $file)) { continue; } array_push($files, $file); } sort($files); ?> </head> <table border="0" cellpadding="0" cellspacing="0" width="95%"> <tr> <td> <span class="subhead1"><font size=+1>Avian Flu</font></span> [list=1] <?php foreach ($files as $file): ?>[*][url="/Documents/Advisories/avian_flu/<?= $file; ?>"]<?= preg_replace("/\.\w+?$/", "", $file); ?>[/url] <?php endforeach; ?>[/list] </td> </tr> </table> </table> </td> </tr> </table> </div> </html>
Comment