I've been trying out iWeb and its suitability for easy weblog publishing, and I'd like to be able to easily stick a few custom lines of code in. My idea is to put a key word in the text, and then run an Automator script to do a search-and-replace right before uploading.
The only problem is, I can't figure out how to make Automator do that. I'm guessing I'll need an Applescript to do the text manipulation, but I don't know how to integrate it into a workflow. I found one Applescript that does a string replacement, but I'm not sure how to apply it to the input file in an Automator workflow. Any suggestions are appreciated.