Spike wrote:
I'be be even more surprised if any site was using FU with 100,000 nodes than that it was causing memory issues. I would expect you'd run out of useful names for your nodes way before you got to that point.
True

I am developing a site where I wish to have branches outside of the normal site tree. Currently only the normal site tree is put through you Friendly URLs, so I was looking for alternatives and came up with this.


You can add any mapping you like to the FU mappings. You just need to call the setMapping() method in fu.cfc.


e.g.

If you wanted to add a mapping for:

www.example.com/index.cfm?objectid=E27ECB19-D0B7-4CD6-F9191BE98E0350B3&mode=full


You could do this:

fu.setMapping("www.example.com"&"/go"&"/products/mywidget","www.example.com/index.cfm?objectid=E27ECB19-D0B7-4CD6-F9191BE98E0350B3&mode=full")


I'd expect you'd be passing variables rather than the string literals I've used above, but hopefully you get the idea.
I had thought of this, but not yet tried it. Will look into it in a bit more detail.

Also, I think it should be possible to allow for FU's for any type of dynamic content as well using this method.


Not sure what you mean.

Can you expand on that a bit?
By dynamic content i mean dmNews, dmEvents, etc. But the fu.setMapping method you outlined above would also allow these to be handled through the servlet

Chris

---
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/

Reply via email to