Via Håvard Eide, who has a talent for getting the scoop on what’s new in PHP, (his PHP5 tutorial was the first online publication to take a close look at PHP5s new syntax): PDML: Portable Document Markup Language.
As it says on the cover;
PDML is an informal markup language written in 100% PHP, allowing to create complex PDF documents very easily for people already familiar with HTML. People familiar with PHP can also use it as a way to define templates for dynamic PDF documents.
A very cool idea and great to see effort going into this kind of project in PHP.
There’s a longer blog related to this subject, which is slowly brewing. When it comes to documents, have a hunch there’s too much emphasis on specific markups (e.g. docbook, html, rtf or whatever). Instead, by identifying the common “human intent” behind document markup, think it’s possible to define a set of “rules” which could be used as the basic of a framework that’s capable of transforming documents of any format to documents of any format (given parsers / generators).
Many of the basic rules have already been “captured” by PEAR::Text_Wiki. Might even work nicely with the filters Håvard commented on here.
Anyway – more some other time.
Related posts:
- W3C Markup Validation Service adds experimental HTML5 support A few days ago, the W3C added experimental support for...
- Add Semantic Richness To Your Markup With (RDF) Ease Meitar takes another look at bleeding edge Semantic Web technologies...
- HTML 4 Considered Harmful In this post, a frustrated James once again rallies to...
- Watching Your Web Language Craig looks at two of the stranger stories circulating the...
- UK MoD “How to Stop Leaks” Document is Leaked! The UK Government and the Ministry of Defence faces further...






