Macro Magic

by john on January 11, 2003

I have my Book Review markup macro working the way I want it to now. Or at least pretty close.

In a nutshell the markup simplifies the creation of my book reviews by leveraging Brad Choate’s MTPerlScript and MTMacro plugins, and MTAmazon from Kalsey Consulting Group.

When I want to do a book review I start my entry with a line such as this:

<review rating=”3″>0066214122</review>

The data within the content area of the markup is Amazon’s ASIN for the specific book I want to review. That simple line then generates the pullout you see at the start of my reviews. Very slick thanks to those plug-ins.

Once I figure out what makes more sense to go in as content (maybe the entire review?) I’ll move the ASIN as an attribute like rating. Once I have it perfect maybe I’ll share the code (but if someone wants to see it now just let me know, it’s certainly nothing special).

Because as we know it will never be perfect.


andersja January 11, 2003 at 9:34 pm

Looks very cool, John – I’d definitely be interested in checking out your prototype (or when you’ve got it “polished up” enough for release…?)

Btw check out pinging this site for your reviews?

Erik August 3, 2003 at 9:56 pm

I know this is about 7 months after you wrote this, but I just set up MTAmazon on my website tonight but I am stuck trying to get it to work from inside an entry. You say at that you’d be willing to show someone your macro file, so if you would be willing to share, that would be sweet.


john August 3, 2003 at 10:10 pm

See if that helps. Haven’t cleaned up the code at all nor have I explained much, but hopefully it will hel Let me know if you need any explanations.

Station in the Metro December 15, 2003 at 9:16 pm

Reviews are up and running!

0201726831With loads of inspiration and help from:John C.’s Macro Magic review macro (used as a starting point),Brad Choate’s MTPerlScript and MTMacro plugins,MTAmazon from Kalsey Consulting Group, andInvaluable help with installing expat from David Wh…

Previous post:

Next post: