i built something similar that imported one big openoffice word document into a multipage farcry site. you can look at this archive for the code. The basis of what you want is in there.
Email me if you need help. Gav On 17/08/05, Theo Galanakis <[EMAIL PROTECTED]> wrote: > This might be a silly request however, has anyone build a mass import > cfm script where you can point to a db table which has the navigation > structure and body of each page and performs an import into farcry?, > kind of a mass content import! Similar to the admin feature quick site > builder that is apart of farcry already. > > So if you had a table like this: > > Id body category > 1 <html.. \home > 2 <html.. \home\category1 > 3 <html.. \home\category2 > 4 <html.. \home\category3 > 6 <html.. \home\category4 > > Then it would create the navigational structure based on the category > column, and would create a html page importing the content of the body. > > I was planning on writing something like this, however I thought that > someone might have already beat me to it. > > Theo > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Adam > Parker > Sent: Wednesday, 17 August 2005 7:09 AM > To: FarCry Developers > Subject: [farcry-dev] Re: Nav alias or object id > > Hi Jeff, > I was looking at this email you posted to the list and I am looking at > the > same thing. Would you be kind enough to send me the files and > instructions > off-list as well? > > ~ Adam > > ********************************* > Adam Parker > Macromedia Certified > Cold Fusion Developer > > IT Web Developer > IT Services Group > FSU College of Information > [EMAIL PROTECTED] > 644-3399 > ********************************* > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Jeff > Coughlin > Sent: Tuesday, July 19, 2005 11:38 PM > To: FarCry Developers > Subject: [farcry-dev] Re: Nav alias or object id > > Mark Wheeler wrote: > > This may be a very simple question, I have a site page on our site > > that is visited daily by our users, and the link is on an email sent > > out periodically, so that I do not have to put the objectid in the url > > > can I use the Nav Alias of the node to reference this page? > > Last year I was discussing this same topic with the Marketing department > of > one of my clients. They wanted to be able to print short marketable > links > for print and TV ads). After looking at how Macromedia.com does their's > I > came up with the solution to use "domain/go/alias". > > With the help of Chris Kent we worked out the code to get it working in > Farcry (without making core code changes). Then with a slight > modification > to FriendlyURLs (thanks to Spike) the code was complete. > > The modification could easily be implimented into Farcry core. I sent > email > requests and code samples to Geoff Bowers back in Feb 2005, but it never > turned anything up (he said he was interested, but that it'd have to > wait > for build 240. I'm guessing thats not gonna happen :). Right now > they're a > little overwhelmed with all of the Glamour changes where new features > like > this likely need to be put on hold for a while). > > An example can be seen here (http://www.midhosp.org/go/midHome). I have > it > setup so that anytime the buildlink tag sees that the destination > navigation > node has an alias, it uses this new method (otherwise it uses > domain/go/uuid). Of couse anything after that is considered variables > and > variable answers (go/uuid/var1/ans1/var2/ans2) keeping the SES happy. > > If you'd like the code I'd be happy to share it (email me off list). > Also, you'll need the new version of FriendlyURLs. I've asked Spike to > update his site with the newer version (which is backwards compatable). > Hopefully he'll get that all set soon. > > -Jeff C. > > P.S. Months later the marketing department is ecstatic. They can > simply > take any page and give it an alias. Within seconds they have a simple > link > that is ready for marketable material. > > --- > You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] To > unsubscribe send a blank email to > [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > --- > You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] > To unsubscribe send a blank email to > [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > > > > -- > _______________________________________________________________________________ > > > > Notice from Melbourne Business School Ltd > > > The information contained in this e-mail is confidential, and is intended for > the named person's use only. It may contain proprietary or legally privileged > information. If you have received this email in error, please notify the > sender and delete it immediately. You must not, directly or indirectly, use, > disclose, distribute, print, or copy any part of this message if you are not > the intended recipient > > Internet communications are not secure. You should scan this message and any > attachments for viruses. Melbourne Business School does not accept any > liability for loss or damage which may result from receipt of this message or > any attachments. > > ______________________________________________________________________________ > > > > > > > --- > You are currently subscribed to farcry-dev as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > Aussie Macromedia Developers: http://lists.daemon.com.au/ > --- You are currently subscribed to farcry-dev as: [email protected] To unsubscribe send a blank email to [EMAIL PROTECTED] Aussie Macromedia Developers: http://lists.daemon.com.au/
