|
03-21-2004, 09:30 PM | #1 |
Green Mole
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2
|
How do I create "Site Index" using PHPDig ?
I notice in the /admin section that the script creates a hierarchical tree of the pages on the site.
Is it possible that someone has a method of doing something similar with the Page Title and URL to make a "Site Index" page? Either in a hierarchical tree, or alphabetical something like: http://www.law.uga.edu/siteindex/index.html would be great. Jim |
03-22-2004, 11:18 PM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Perhaps try a query like the following:
SELECT sites.site_url,spider.path,spider.file,spider.first_words FROM sites,spider WHERE sites.site_id = spider.site_id ORDER BY spider.first_words;
__________________
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. |
03-23-2004, 07:58 PM | #3 |
Green Mole
Join Date: Mar 2004
Location: Atlanta, GA
Posts: 2
|
Script for Site Map
I wrote this script to create a hierarchy site index from a database that has fields for the URL and the Page Title
What is the best query to get just the URL and the Page Title from the PHPDig database? PHP Code:
|
03-24-2004, 11:27 PM | #4 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. TMTOWTDI, but here's one way to make a sitemap using info in the PhpDig tables.
PHP Code:
__________________
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. |
04-16-2004, 03:14 PM | #5 |
Green Mole
Join Date: Apr 2004
Posts: 16
|
jimfletcher's code didn't work for me.. but charter's did
|
07-14-2004, 05:56 AM | #6 |
Orange Mole
Join Date: May 2004
Location: russia, samara
Posts: 56
|
workink perfect for me thanks
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
phpdig not index file if name contain "!" or ' | loic@83 | Troubleshooting | 0 | 12-14-2007 12:32 PM |
shows blank page if "Search All" and "exact phrase", timeout? | alokjain9 | Troubleshooting | 2 | 03-07-2006 08:08 AM |
"I don't want to index your sites!!!" - said PHPDig | #ASH | How-to Forum | 1 | 04-06-2005 02:57 PM |
"search depth" and "links per" features | laurentxav | How-to Forum | 1 | 01-12-2005 08:27 PM |
Removing "Select a site to search" | aslan | How-to Forum | 2 | 08-25-2004 10:33 PM |