Drupal Markup Engine

jcfiala - January 28, 2008 - 23:01

#D7CX: I pledge that DME will have a full Drupal 7 release on the day that Drupal 7 is released.

The Drupal Markup Engine (or DME as I'll refer to it from now on) allows you to define tags for use inside of node content that do almost anything you could wish for -
allowing users to do such things as to specify where images should be placed in the text, specify that certain text is a spoiler and shouldn't be easily hidden, or to safely
allow users to reference video or other resources from other sites. Tags can either enclose text (like <dme:spoiler>text</dme:spoiler>) or not (like <dme:image />).

The DME works by being a filter that can be set up with other input filters. It checks other modules looking for hook_dme_tags() hooks and asking them for tags that the module
supports. Once it runs into a tag when filtering, it then calls the hook a second time with parameters from the tag, expecting the hook to return text that it replaces the
original tag with. The tag processing is in the context of the node being processed, so the processing of tags can include referencing related nodes or imagefields inside of
the node itself.

Currently, the only documentation for this project is in the README.txt file enclosed in the download.

Development and maintenance co-sponsored by pingVision.

Originally developed for and used at Popular Science.

Releases

Official releasesDateSizeLinksStatus
5.x-1.02008-Jan-2817.08 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
6.x-1.x-dev2009-Jul-0221.5 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.


 
 

Drupal is a registered trademark of Dries Buytaert.