|
|
Modify graphics in iWeb templates
I followed the directions given in the link above for adding a new template file to the TemplatesInfo.plist file and it worked well. You can just download the modified plist file so you don't have to change it yourself.
Then I tried to change the Modern Blog.webtemplate buried in the app package contents to remove the dates on the blog as I just wanted to use the blog as a sort of more extensive slide show that included the comments from iPhoto (these are not included anywhere in the Photo template in iWeb). So I just went through the xml file and removed all the blocks containing the date-time and @date identifier. There were a lot of them and it was slow going (in SubEthaEdit anway), since it is a huge text file with most of it all on one line. It seemed to work, and the new template loaded OK in iWeb, but when I tried to make a new Blog page, iWeb completely crashed. If anyone has better xml editing skills, please let us know how to do this. Instead, I just had ot go through each of my 18 images and remove the date text from each blog entry. The actual date object is non-removable. This is the web page I created: http://nat.myphotos.cc/books One thing I figured out with this is that to change the order of blog entries coming from iPhoto, you have to be very careful to select them in reverse order, one by one, selecting the one you want on top LAST. Just clicking the end photo, and then shift-clicking the top photo doesn't seem to work. They still came out backwards. iWeb looks slick and is relatively easy for simple web pages, but it needs to be much more customizable and have the ability to save new templates before it is really usable. I'm back to Galerie for now for iPhoto image galleries.
Modifying the XML
I think your best bet is to not totally remove complete blocks of the XML that specify various characteristics, such as date and time. Instead, make sure that you replace those blocks with a closed tag for that characteristic. See this page on the 11 Mystics site for an example of what I mean. (I don't know for sure that this will work, but my guess is that iWeb is looking for tags defining those characteristics, and while it might be happy with closed tags, it may not like having them missing altogether.)
Modifying the XML pt. 2
(Apologies for the double-post.)
Editing the long single lines of text in the template files can be an enormous pain. There are two freeware tools that together can format and edit the templates in a more structured fashion. Taco HTML Edit is a fantastic freeware app for editing HTML (and I highly recommend it for that purpose). It doesn't do syntax colouring for XML, but it can recognize basic tag structure, and break up a single line of XML into a beautifully indented file. To do this, open the XML file in Taco, and then under the Syntax menu, choose Organize Tags. This may be sufficient if you don't want syntax colouring. However, it is handy to have the values coloured separately from the rest of the tags. To get this, you can download SEEdit. There is a freeware "Mini" version, and a US$30 "Maxi" version (that sounds like it also does the tag organizing that Taco does). For some reason, SEEdit won't open the saved XML file in its Open dialog box (the file is greyed out), but if you drag the file onto the SEEdit Dock icon, it will pop open the file. These two apps (or one, if you want to shell out thirty bucks for SEEdit Maxi) will make editing the XML templates a lot more pleasant. |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.26 seconds |
|