![]() |
Customization of "XML like code"
In the results templates I see this "XML like code" described in the documentation and am wondering how can I track down its "source". I mean for example; what determines that <phpdig:complete_path> shows the full URL, because I would like that to show just the main site.
Another customization I am interested in is limiting the results to one page maximum return for each "host" or URL, does anyone know an easy way to do this? Because right now a typical search on my index returns 5 straight pages from one site, followed by 5 or 10 straight pages from another site and so on...... Finally is there a way to add voice to the returns so that each site gets read out to people as they are returned? Like "Site return No. 1 is ABC news, your source for global and......" and so on?..... I thought this would be useful for any blind visitors.... Thanks |
Hi. For question one, using <phpdig:complete_path> as an example, to find where this is defined, search for complete_path in the PHP files. Doing this shows complete_path to be in the search_function.php file.
Now searching on complete_path in the search_function.php file shows the following: PHP Code:
PHP Code:
For question two, from PhpDig 1.6.4+ there is the following option in the config.php file: PHP Code:
|
Much obliged !
|
All times are GMT -8. The time now is 04:53 PM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.