RE: [Blogcfc-develop] First Zip
Brought to you by:
cfjedimaster
|
From: Raymond C. <jed...@mi...> - 2003-08-12 03:41:13
|
By the way folks, one nice thing about CFCs - if you don't like the idea of 2 form fields - you can simply modify the client code to act like Ben wants - in other words, the CFC doesn't need to know that body/extendedBody was created automatically or by choice by the writer. ======================================================================= Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia Email : jed...@mi... Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda -----Original Message----- From: blo...@li... [mailto:blo...@li...] On Behalf Of Tim Lucas Sent: Monday, August 11, 2003 9:16 PM To: blo...@li... Subject: Re: [Blogcfc-develop] First Zip Ben, I think you have a different idea to Sean, in that Sean is looking at writing a concise summary of what he has to say, with a 'more' link going to a more detailed entry on the topic. It sounds like you would like the 'more' functionality to display long details (code?) that you didn't want to display on your index page. If I want my index to summarise by blog entries then I would want to write my own concise summaries, rather than to have it as just the first X lines or sentences of my post. - tim ( about the sourceforge list: Sourceforge's list servers have a reputation of being the slowest on the web - I should have hollered earlier) Ben Forta spoke the following wise words on 12/08/2003 12:45 PM EST: That one not just embed a <more/> where you want the more to go? I really don't care for splitting content across columns. --- Ben -----Original Message----- From: blo...@li... [mailto:blo...@li...] On Behalf Of Raymond Camden Sent: Monday, August 11, 2003 10:39 PM To: blo...@li... Subject: RE: [Blogcfc-develop] First Zip I strongly disagree with this. To me, I want to know exactly where my 'intro' will end and my main body will start. Also, I may want to have a very short intro because I know the entry will be long and detailed... so why would I need to type in N characters just and have the More link pop up in a bad place? Having 2 form fields means I have more control, and if I don't need the 'extra' info, I just ignore it. ======================================================================== === Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc (www.mindseye.com) Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : jed...@mi... Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda -----Original Message----- From: blo...@li... [mailto:blo...@li...] On Behalf Of Ben Forta Sent: Monday, August 11, 2003 8:19 PM To: blo...@li... Subject: RE: [Blogcfc-develop] First Zip 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 ------------------------------------------------------- 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 ------------------------------------------------------- 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 ------------------------------------------------------- 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 |