[PHP] heavy parsing of text, storing both versions

2004-02-19 Thread Justin French
Hi all, I'm building a CMS that does heavy parsing of a HTML shorthand plain text to XHTML strict, in a similar way to Textile http://www.textism.com/tools/textile/. The problem is this conversion might take place on 2-3 columns of text, and unlimited other fields (my CMS has user-defined

Re: [PHP] heavy parsing of text, storing both versions

2004-02-19 Thread John W. Holmes
Justin French wrote: Hi all, I'm building a CMS that does heavy parsing of a HTML shorthand plain text to XHTML strict, in a similar way to Textile http://www.textism.com/tools/textile/. 1. Parse the text on demand into HTML -- the parsing script is to heavy/slow for this. 2. Store both the

Re: [PHP] heavy parsing of text, storing both versions

2004-02-19 Thread joel boonstra
On Fri, Feb 20, 2004 at 10:35:11AM +1100, Justin French wrote: 1. Parse the text on demand into HTML -- the parsing script is to heavy/slow for this. 2. Store both the plain (shorthand HTML) text and parsed XHTML versions of each field -- the problem with this being that i'm storing double

Re: [PHP] heavy parsing of text, storing both versions

2004-02-19 Thread John W. Holmes
joel boonstra wrote: On Fri, Feb 20, 2004 at 10:35:11AM +1100, Justin French wrote: 1. Parse the text on demand into HTML -- the parsing script is to heavy/slow for this. 2. Store both the plain (shorthand HTML) text and parsed XHTML versions of each field -- the problem with this being that

Re: [PHP] heavy parsing of text, storing both versions

2004-02-19 Thread joel boonstra
On Thu, Feb 19, 2004 at 09:15:35PM -0500, John W. Holmes wrote: 2. Store both the plain (shorthand HTML) text and parsed XHTML versions of each field -- the problem with this being that i'm storing double the data in the database... combine this with versioning of each 'page', and I'm going to