Re: dreamweaver templates
| From: | Greg Beaver | Date: | Thu, 20 Nov 2003 01:51:59 +0000 |
| Subject: | Re: dreamweaver templates | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-9040@lists.php.net to get a copy of this message | ||
What Ryan needs is a parser for these special html comments that can also replace them with values. You can take the XML_HTMLSaxParser written by Harry Fuecks and parse HTML - I'm not sure if it parses comments, having not used it before. This would allow you to quickly find the stuff and replace it for output.
Regards,
Greg
Paul Wolstenholme wrote:
As far as I know, Dreamweaver templates are just regular html files with special html comments that are used by Dreamweaver to determine what areas are editable. PHP will more than likely just ignore these comments. /Paul On 19-Nov-03, at 3:12 PM, Ryan King wrote:On Wednesday, November 19, 2003, at 02:56 PM, Paul M Jones wrote:On Nov 19, 2003, at 2:02 PM, Ryan King wrote:To clarify some more... instead of using Smarty or php (as savant apparently does) for markup, I want to use the Dreamweaver style markup, have it parsed and used by php scripts. ryan ------------------- http://homepage.mac.com/ryansking/ -- PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.phpDoes anyone know of a php package that handles Dreamweaver templates? I'm working on a new project in which that functionality would be very useful.Whe you say "handles" Dreamweaver templates, what exactly do you mean? (Some of us are still hand-coding vampires and shrink from the bright light of WYSIWYG tools. ;-)