![]() |
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. |
What version of PhpDig are you using, and do you have CONTENT_TEXT set to zero or one?
|
PHPDig 1.8.7
CONTEXT_TEXT=1 |
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! :) |
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)) { |
All times are GMT -8. The time now is 09:24 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.