|
08-26-2005, 03:42 PM | #1 |
Green Mole
Join Date: Aug 2005
Posts: 3
|
Results to display info from mysql table
I'm using phpdig to search a large number of pdf files, which also have their title, author and source stored in a mysql table (same db as phpdig uses).
What would be the best way to go about adding the title, author and source information to the search results? By the way, fantastic job on PHPDig, setting it up and configuring for pdfs was pleasantly simple. |
08-26-2005, 09:35 PM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
What version of PhpDig are you using, and do you have CONTENT_TEXT set to zero or one?
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
08-29-2005, 10:31 AM | #3 |
Green Mole
Join Date: Aug 2005
Posts: 3
|
PHPDig 1.8.7
CONTEXT_TEXT=1 |
09-01-2005, 08:03 PM | #4 |
Green Mole
Join Date: Aug 2005
Posts: 3
|
Bump.
If you could just point me in the right direction (eg in which function the result urls are selected from the database, and in which function the results are formatted). Thanks! |
09-03-2005, 02:34 PM | #5 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
In robot_functions.php you might try running a query within the IF of the following code to append text to $result and see if that does it:
Code:
if ((is_array($result)) && (count($result) > 0)) { // run query and stick content into $result[] here $f_handler = fopen($tempfile1,'wb'); fwrite($f_handler,str_replace('ลก',' ',str_replace(chr(0xad),'-',implode(' ',$result)))); fclose($f_handler); }
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem Mysql when no results | noel | Troubleshooting | 4 | 10-27-2005 10:56 AM |
Temp Spider table Converted to HEAP table | GunMuse | Mod Requests | 0 | 04-22-2005 02:25 PM |
Results display-misses opening paragraph | alan-s | How-to Forum | 1 | 12-10-2004 01:41 PM |
How to display results on an existing page ? | alexuslesours | How-to Forum | 1 | 12-08-2004 11:59 AM |
How to display all results? | Edomondo | How-to Forum | 1 | 12-02-2004 07:03 PM |