This is a quick hack, not extensively tested but it seems to work for me.
WordPress already adds the
and
tags around the [[keyword]] before the plugin is called -- the plugin doesn't remove those.You can't use " and ' (and possibly a handful of other characters) in parameters because WordPress replaces them with curly quotes before the plugin has a chance to parse them. You can use spaces, though.
Maybe pass an $is_rss parameter instead of using 2 separate functions?
Maybe change syntax to: ?!
Version 1.1 (8 June 2007) - The parameter separator is now ][ instead of |. Added macrorss* functions for the RSS content.
Version 1.0 (7 June 2007) - First version
Written by Matthijs Hollemans
http://www.hollemansproductions.com/wordpress-macro-expander-plugin.html




