I did something wacky, which works perfectly and is a great band-aid to throw on an existing site in an hour or two... its truly rotten programming, but gets the job done.
First, create a data-driven page, like usual, but incorporate the key parameter inside the file name, so data_item.cfm?ID=100 could be represented as data_item_100.cfm. Then have code sitting inside that same cfm template that detects and strips out the key value, and *then* uses it to retrieve your data (also build in code so that if the key value isn't found, it directs the user to a kind/gentle 404 of some kind). Create the file with the inbred (:D) parameter by running a query on your db. In the query output, run a CFFILE that creates one of these pages per db item (yes, they're all exact duplicates except for the embedded key val in the filename). These ''different'' pages and their unique content can now be submitted and/or indexed by a crawler. You also can still update the content since the pages are still db-driven. Never delete a page and you fight linkrot in combination with your 404 function. Take this a bit further and you can build a ''site map'' page that you can submit to an engine, or just leave it on your menu and let the crawler find it. I've seen crawlers roll in, hit the site map and crawl 100 pages in one shot. Gotta love that. Loony to build all those dupe pages, but it works very well and is real fast to implement. Another, smarter way is to publish the entire site with CFFILE and relieve your db, although updates have to be handled without republishing the works to keep the load on that process sensible. My next to-do project. Cheers, --------------------------------------- Matt Robertson [EMAIL PROTECTED] MSB Designs, Inc., www.mysecretbase.com --------------------------------------- ---------- Original Message ---------------------------------- from: "Paris Lundis" <[EMAIL PROTECTED]> I would love to hear more about anyone's creation(s) to handle this and make things appear like flat files and the parser they wrote.. anyone have code to share :) ? Anyone have any of the old threads or links on this general topic readily available?? -paris -----Original Message----- From: Matt Robertson [mailto:[EMAIL PROTECTED]] Sent: Friday, November 09, 2001 18:18 To: CF-Talk Subject: Re: Marketing and ColdFusion web sites OK, I see it but I don't understand it ;D. What does all that do? Is this an extended meta tag info system that crawlers all use (assuming I'm looking at the right stuff). p.s. Looks like you have some CF stuff sitting outside CFOUTPUT tags. Lines 164, 170 and 171 of the html output. --------------------------------------- Matt Robertson [EMAIL PROTECTED] MSB Designs, Inc., www.mysecretbase.com --------------------------------------- ---------- Original Message ---------------------------------- from: Peter Tilbrook <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] date: Sat, 10 Nov 2001 09:59:46 +1100 Damn, strips out code. Try looking at the source code of the page at http://www.anzfa.gov.au/npc/anzfa_npc/ At 09:49 10/11/01 +1100, you wrote: >Couldn't you just use the Dublin Core method of identifying your site/page > >content? eg: > >At 09:25 9/11/01 +0000, you wrote: >A client has been speaking to someone >who offers marketing services for web >sites. They've recommended (i) >altering query strings and (ii) renaming .cfm >extensions to .html and >configuring the web server to parse .html files > >Couple of questions >spring to mind... > >1) I've used plainURL to convert the query string >to >index.cfm/SomethingID-1... is that good enough? He's recommended >continuous >slashes, like index.cfm/Something/1 (but if you do that it's a >pain not >having 2 delimiters). > >2) They said that whilst some search >engines didn't have a problem with .cfm >file extensions, 6 out of the top >15 (I think they were the numbers quoted) >did. AOL and HotBot were >mentioned. I did searches for ".cfm" and >"ColdFusion" on them and a stack >of sites running ColdFusion appeared. Is he >talking market-speak? (ie >b*****ox). > >3) The hosting is with CFXHosting on their $100pm advanced >option. Does >anyone here know if they would map .html files to ColdFusion >for a specific >folder (ie would altering the IIS mapping for .html be a >server wide >modification, or can you constrain it to a particular user >folder and below >only?) > > > >Thanks > >-- >Aidan Whitehall >Macromedia >ColdFusion Developer >Fairbanks Environmental +44 (0)1695 51775 > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

