Re: [podwiki] Re: Unifying output of POD and other markup methods
Brought to you by:
zarahg
From: David A. B. <Br...@ac...> - 2004-06-04 23:18:31
|
On Fri, 4 Jun 2004, Thomas Linden wrote: > Hallo, > > On Wed, Jun 02, 2004 at 10:49:47PM -1000, James H. Thompson wrote: >> When thinking about changing the structure of the formatters, >> and if you have any plans to someday support Transclusion - > > However - my current idea is: What if we completely move to the > tree-parsing technique, also for external formatters? If every renderer Oh, oh, oh! This exactly what I have been thinking, too! I got started implementing, but family life and work intruded (funny how that happens, eh?). I was thinking that rather than a PodWiki::Formatter->format() method, there would be a PodWiki::Formatter->parse() method. The parse method would return a tree that is then merged into the existing tree in place of the former result of the parse of =begin formatter ...text... =end > could even render XML directly, or: we could create several output > renderers, one for "online html" (which we are using currently in the > Wiki), or one for "offline xml", e.g. RSS feed, or for site-backup. Oooo, I like that idea, too! Welcome back, Tom! -- David A. Bright Br...@ac... dab...@us... |