PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > How-to Forum

Reply
 
Thread Tools
Old 09-21-2004, 12:54 PM   #1
kiruba
Green Mole
 
Join Date: Sep 2004
Posts: 4
Spanish search and flat files

Hi. Now I can do forum searchs, thanks.

I have phpdig installed and working, I spidered a site, but when I do a search, it doesn't show results when queried with words with spanish characters like á é Ã*, ó, ú, ñ. I've checked the keywords stored at the MySQL tables, and words like jóven are stored as joven. I read the thread about the greek language, but I think my problem is easier to fix because I use the same default iso-8859-1 charset (though, I don't know much about these charsets). So, is there anything I have to set on the config file to make it work with spanish characters?

My other question is: Is there a way to install phpdig and not use a MySQL database, say, use only flat files for everything?
kiruba is offline   Reply With Quote
Old 09-21-2004, 07:41 PM   #2
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
Quote:
Originally Posted by kiruba
I spidered a site, but when I do a search, it doesn't show results when queried with words with spanish characters
You need to specify es-language.php in config.php

Quote:
My other question is: Is there a way to install phpdig and not use a MySQL database, say, use only flat files for everything?
No. It only uses MySQL.
vinyl-junkie is offline   Reply With Quote
Old 09-22-2004, 06:52 AM   #3
kiruba
Green Mole
 
Join Date: Sep 2004
Posts: 4
Dynamic page

Thanks, I'm sure that will fix de problem. I have another question, I was trying to spider a site a friend made. I placed this URI on the form
http://www.servientrega.com.ec/index.php, with a search depth: 5 Links per: 0. I got 0 results.

Spidering in progress...
SITE : http://www.servientrega.com.ec/
Exclude paths :
- @NONE@
No link in temporary table
links found : 0
...Was recently indexed
Optimizing tables...
Indexing complete !


Can it be that the index.php file is created on the fly, this is, it has no textual links at first? This is the content of index.php on the server. It uses Smarty templates.


Code:
<?php

/*1 **************************************************************************************
 ***************************************************************************************/
 // Cargo smarty template.
    
require('lib/smarty/setup.php');
	
$smarty = new Smarty_axe; 

//***************************************************************************************/

 //muestro pagina principal credito al usuario.
 $smarty->display('index.tpl');


 ?>

Thanks in advance
kiruba is offline   Reply With Quote
Old 09-22-2004, 08:35 PM   #4
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
Try spidering the site, specifying the search site like this instead:
http://www.servientrega.com.ec/
vinyl-junkie is offline   Reply With Quote
Old 09-23-2004, 09:29 AM   #5
kiruba
Green Mole
 
Join Date: Sep 2004
Posts: 4
Thanks Vinyl, but the problem persist. The funny thing is that if I spider that site from another host (say, my local PC), it spidered it nice.

I've read that by uncommenting some line at robot_functions.php, you can print the HTTP responses. I'd like to do that in order to do some debug, but I can't find that line in the code. May it be I'm using the version 1.8.3 and that thread is kind of old? How can I print the HTTP responses, and any other stuff that I can us to figure why it stops spidering when phpdig and the site are in the same host? Thanks

Last edited by kiruba; 09-23-2004 at 09:30 AM. Reason: http responses
kiruba is offline   Reply With Quote
Old 09-23-2004, 06:28 PM   #6
vinyl-junkie
Purple Mole
 
Join Date: Jan 2004
Posts: 694
You're getting way out of my area of expertise, I'm afraid. Perhaps our esteemed leader, Charter, will see your post and respond.
vinyl-junkie is offline   Reply With Quote
Reply

Thread Tools

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
problems making phpdig able to search pdf files butterivenne Script Installation 1 07-29-2008 01:26 PM
Spanish Common Words teleco Mod Submissions 0 10-12-2005 10:49 AM
SPANISH COMMON WORDS jjpcoca Mod Submissions 1 03-20-2005 11:09 PM
Indexing word doc's OK search through files don't work dapuse External Binaries 3 02-05-2004 07:38 AM
Search PDF files chazter External Binaries 4 10-02-2003 06:47 AM


All times are GMT -8. The time now is 02:08 PM.


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