RE: [Blogcfc-develop] OT: Storing HTML
Brought to you by:
cfjedimaster
|
From: Ray, S. <SR...@Pe...> - 2003-08-07 16:23:59
|
I don't store any formatting tags, just straight text. I just hope that it gets rendered properly. I also don't store tag markers, instead using the converted <, etc., and like you, I use a UDF to create a link during presentation. Haven't tried to embed code yet. Steve -----Original Message----- From: Ben Forta [mailto:bf...@ma...] Sent: Thursday, August 07, 2003 11:08 AM To: blo...@li... Subject: [Blogcfc-develop] OT: Storing HTML Hey all, I need a quick reality check here ... do you store complete HTML (with tags and formatting) in your tblBlogEntries table, or do you store just text, or do you store embedded tokens which you use to render output properly? Or something else altogether? My gut feel is that storing <P> and <FONT> and whatever in the core record is a bad thing. But what about tag markers, do you store <CFSET> or <CFSET>? And what about titles? Embedding < seems to mess up some RSS displays (but not all). I have been storing <CFSET> in my content (and use HTMLEditFormat() to display it properly), that works well but messes up some RSS feeds it seems. I have not been storing any formatting at all, so to crate links I save the URL and have a UDF that turns it into a link at presentation time. That works for links but not, for example, for embedding a code snippet. Anyone have any strong feelings on this one? --- Ben ====================================================== Ben Forta - Macromedia Inc. E-Mail: bf...@ma... Phone: (248)213-0203 Fax: (248)213-0299 Macromedia: http://www.macromedia.com/ Personal: http://www.forta.com/ Blog: http://www.forta.com/blog/ Have questions about ColdFusion? You need the ColdFusion FAQ (now in twelve languages) at http://www.cffaq.com/ - browse, learn, link, comment, and contribute. ------------------------------------------------------- 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 |