RE: [Blogcfc-develop] First Zip
Brought to you by:
cfjedimaster
|
From: Ben F. <bf...@ma...> - 2003-08-12 02:33:08
|
Seems simpler to just specify MAXBODYLENGTH="n" and you truncate there and add [more] if there is one. Stopping between a body and an extended body seems rather arbitrary. -----Original Message----- From: blo...@li... [mailto:blo...@li...] On Behalf Of Raymond Camden Sent: Monday, August 11, 2003 9:29 AM To: blo...@li... Subject: RE: [Blogcfc-develop] First Zip > <code></code> is what I am using in my text for now, that'll > work well for me. Will you allow multiple code blocks? Yes, idea is reReplace all <code>.</code> instances. > How do you intend to support "more ..."? I'd add an optional > argument to methods that return entries with a max entry > length, if 0 (default) then return all. Simple. Each entry has 2 blocks, one main body and one extended body. If extendedBody.length() > 0, show a More link on client main. On display, we ONLY show extendedBody if it exists. So, the idea is to use body as an intro which would not be displayed on the entry detail page. Why would I need an optional arg? Why not just return both text blobs? Well, I can say that maybe I shouldn't return extendedBody on getEntries. Maybe just return 1 in a special column if it exists. -ray ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Blogcfc-develop mailing list Blo...@li... https://lists.sourceforge.net/lists/listinfo/blogcfc-develop |