Add HTML to iWeb PagesShare
If you check around on the web you’ll find some workarounds. A common theme: Put a placeholder on your page – like a word that will stand out. After publishing you can scan your html for the standout word and replace it with whatever html code you want on your iWeb page.
Murphy’s going to make it even easier. He’s using a free tool called iWebMore. We’ll put a rounded-rectangle on the page as a placeholder. We’ll add the html inside the rectangle, then let iWebMore do the dirty work of updating our html after we publish.
You could use this method to add all kinds of code scraps. Digg buttons, videos, Adsense banners – all kinds of content. Even just a few simple lines of html that iWeb couldn’t do for you. Suddenly iWeb isn’t half as limited as you once thought.
Remember, you’re altering the pages after you publish. That means if you publish again you’ll have to process your pages again using iWebMore to update the html. iWeb doesn’t know you altered the html.
In the screencast we’ll add a small piece of Google script to our page that pulls our favorite stories from Google Reader. As we mark stories as favorites in Google Reader, our iWeb generated page will update with new links. This is a great way to keep your site fresh, and provide your readers with content that interests you.
Down the road we’ll take a look at making the changes manually. For now, iWebMore makes it really easy. Who knows, maybe the next version of iWeb will take care of this for us??
Related information: See the screencast for automating iWeb syncing with a third party host.Watch Now | Permalink