Wasted effort
 
Ah well, it seemed like a good idea. I’m still really bugged by this ongoing problem with the Summary page not dynamically displaying the appropriate image if one exists in a blog entry. I think I mentioned already that it’s still working properly with my present setup here, but it stubbornly occurs if I create a new Blog site.
Poring through the code hasn’t helped at all, so I decided that the best thing was to return to basics and start all over from scratch, using the original index.xlm file from the Modern Blog.webtemplate package. So I edited that so as to apply my preferred changes to the elements which are inaccessible from within iWeb (mainly font colours and sizes on the Summary and Archives pages, though I also decided to spread my wings a bit further and change the styles for the navigation bar and hyperlinks). Once that was done I used that edited file as the basis for the deHaaning process. Sadly, all that work went for naught. I did see my required changes on the navigation bar and I successfully changed the style of the hyperlinks — but that niggling problem with the image placeholder on the Summary page still wasn’t resolved.
So I reversed the process. Once again I began with a clean slate, using the original Modern Blog.webtemplate index.xml file. I created a new Domain package with an index.xml file containing all the changes which can be made from iWeb itself (adding page and browser background colours, reducing the footer height, changing the font size for the principal text areas and adding my preferred space after paragraphs, adding my standard green horizontal rule, personalising the default image for blog entries and the image at the top of the Summary and Archive pages. Once that was done I deHaaned the index.xml inside the Domain package and opened iWeb using that as the reference in my customised Blog.webtemplate. No joy! The same problem was still there.
As a last resort I went back for a final bit of file comparison, wondering if anything unusual would catch my eye. The only thing I spotted was that the index.xml in the Domain package included a file reference to my customised Blog-webtemplate, whereas the one inside that package still referenced the original Modern Blog.webtemplate. I must admit to an Ah-Ha! moment, but this was short-lived. Changing that made no difference to the Summary page.
So I’ve given up for now. I’m using my original post-de Haan index.xml to post this entry. Tomorrow I’ll add my navigation and hyperlink tweaks to that just for the sake of making some further progress.
Saturday 25 February 2006
12.18 a.m.