PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > External Binaries

Reply
 
Thread Tools
Old 10-13-2004, 03:12 AM   #1
mleray
Orange Mole
 
Join Date: Sep 2004
Location: Nantes (44) FRANCE
Posts: 31
xls not recognized

Why aren't my Excel files recognized as application vnd.ms-excel ?

This is what I obtain when I try to index one of them :
Quote:
url :http://10.37.1.240/Ressources-Humain...n/base_bio.xls

ROBOT_FUNCTIONS : regs
Array
(
[0] => Content-Type: text/plain
[1] => text
[2] => plain
)
I've changed this in robot_functions
PHP Code:
$extension substr($pathstrlen($path)-4strlen($path));
echo 
"extension ".$extension;
                if (
$regs[1]=="text" &&    $extension==".xls")
                        
$status "MSEXCEL";
                else if (
$regs[1] == "text") {
                  switch (
$regs[2]) {
                       case 
'plain':
                         
$status 'PLAINTEXT';
                       break;
                       case 
'html':
                         
$status 'HTML';
                       break;
                       default :
                         
$status "NOFILE";
                         
$stop true;
                  }
               } 
And now excel files are converted with xls2csv but still not indexed
(no green check mark and nothing in spider table...)
mleray is offline   Reply With Quote
Old 10-13-2004, 04:22 AM   #2
mleray
Orange Mole
 
Join Date: Sep 2004
Location: Nantes (44) FRANCE
Posts: 31
I see that I've my files converted in temp files (phpdig-1.8.3\admin\temp\xxx.tmp)
But nothing in tempspider table...

Do I forgot something ? an option to xls2csv ?

Last edited by mleray; 10-13-2004 at 04:24 AM.
mleray is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
help where I find External Binaries the pdf xls doc gioducati External Binaries 0 08-12-2006 12:28 AM
xls doc pdf with windows sktest External Binaries 1 02-09-2004 10:47 AM
indexation pdf doc et xls yoann Mod Submissions 0 09-26-2003 08:49 AM


All times are GMT -8. The time now is 08:43 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.