- Using the Duplicate Page Command to Create Pseudo-Templates
- Purchasing Additional Ready-Made Themes
- Getting Ready to Create Your Own Themes
- Opening the iWeb Package and Locating the Templates Folder
- Adjusting the TemplatesInfo.plist File to Include Additional Templates
- Adding a New Category Entry
- Opening the Templates Files
- Creating Your Own Template Graphics
- Modifying Template Formatting
- Locating Items in the Index.xml File
- Creating Template Previews
- More Information
- Additional Resources
Locating Items in the Index.xml File
These XML files are not designed to be friendly for editing. My advice is to avoid editing these files as much as you can. However, if you want to modify an item within them, the easiest way to do it is to locate some identifying characteristic of the feature you want to change.
For example, if you want to change a font item that in your base template is set to Arial, you can use a search feature in your text or code editor to search for the term Arial. You might also pair it with the font size to ensure that you are locating the correct item. You can also use a search-and-replace feature to change all instances of the font or font size.
For images, you can use the same technique to search based on a known image name. You can also search for other code samples if you know them, such as colors or rollover effects. Once you’re fairly certain that you’ve located the correct item in the file, modify it appropriately (such as the font name or size). If you’re familiar with XML, you might want to explore these files in more detail, but anything more requires a solid understanding of XML and is beyond what I can hope to cover in this article.