 | |  |
 |

Offlander
User
Nov 10, 2002, 12:17 AM
Post #1 of 2
(2609 views)
Shortcut
|
|
Does SE make HTTP requests - we use PHP includes
|
Can't Post
|
|
We've just purchased AM, DB, PP, NM and SE for the first time and are figuring out how to integrate them into a large site redesign. For the past many years we've been building everything with PHP and MySQL but would now prefer to focus resources on usability and user experience rather than on programming and custom development. InteractiveTools products seem to fit that bill!! But, there's always a "but" in application/template development, we have developed our own template systems and methods of working in PHP that suit us. We use lots of PHP includes and requires (very similar to SSI). My question is, (that I haven't been able to find on the forums yet) does SE make an HTTP call to the files to index or does it 'read' the file source. If it makes an HTTP call, the included and required files will be included (just like an SSI would) and we'll be golden for what we're trying to do. BUT, if SE just reads the files as source then it won't pick up much to index as a lot of our page content comes from embedded PHP SQL calls to MySQL tables and/or included files. If this is not already confusing...great! Here's an example of what I'm talking about: 1) www.client.com/somedir/somelisting.php is a page that has an often changing list of "whatchamacallits". This would be equivilent to the generic "Business" category main index page listing of Business Articles except that we don't have to link to any individual Business category articles. So in the admin we just use a 'summary only' listing setting. (### we need to be able to maintain an organized/hierarchical directory and file structure for breadcrumb navigation and general site organization/navigation###) 2) We've created a category in the Admin called 'Whatcha' with a custom template that consists of only template tags for 'row_summary' and 'img_caption' since that's all our listing needs. The other templatecells are there but empty so the Category will accept the template. :-) 3) The 'Whatcha' category writes to a page called '/artman/publish/whatcha.shtml'. Each time we add, delete or modify a whatchamacallit, whatcha.shtml gets updated with our updated whatchamacallit summary listing. Sweet. So our non-technical production assistant (or client) can update whatchamacallits and whozimawidgets all day long without us having to teach them HTML! :-) 4) Remember the 'somelisting.php' page in item 1 above? It's basically a file that contains a lot of PHP includes that call in reused page elements like navigation, headers, footers etc. In the content area of the page it reads and displays the contents of the 'whatcha.shtml' page just like an SSI could. So hopefully this helps illustrate the reason for the question... :-) Thanks in advance for any answers/assistance anyone can provide. -shane
|
|
|  |
 |

dlo_itools
Staff

Nov 18, 2002, 11:16 AM
Post #2 of 2
(2579 views)
Shortcut
|
|
Re: [Offlander] Does SE make HTTP requests - we use PHP includes
[In reply to]
|
Can't Post
|
|
Hi Shane, Sorry for the delay in replying; sometimes the forum postings come faster than we can catch'em... The Search Engine does not use HTTP requests; it does a directory search through the file system to locate files. Search Engine can find the published contents from Article Manager. But if your content is mostly contained in MySQL tables, then Search Engine won't be able to find that information. If you are trying to integrate content from MySQL into Article Manager, I suggest posting a question in the Article Manager forum -- those with experience in that area may be able to come up with more ideas. If it turns out Search Engine can't be integrated into your existing system, just remember we have a 90-day money back guarantee! /Dave Lo
|
|
|  |
|