« Archive Checklist | Main | Home Grown Comments for TAMB »
Saturday, January 02, 2010I Have Archived my Other BlogI have successfully archived my 2009 blog and started the 2010 follow-on blog. You can see the results here I used the procedures that I outlined before but I found some issues that were not obvious to me before. The issues are: The URL's to images in the blog are hardwired to the base directory when the image is included. I have not found a way to change this even when I republish the entire blog into its new archive folder. The images are uploaded into the new media folder, but they are not referenced there. They are referenced with a fully qualified URL to the base media folder. To fix the problem, I just left the images in the base level media folder. It is not necessary to copy the images into the archived media folder, although the final upload of the archived blog to the new folder will put them there. Another issue was the naming of the files that contain comments on my blog. They are named after the entry numbers, which repeat from 0 to n since I have restarted with a new blog. I have fixed that by running a copy of comments.php down in the archive folder, so it leaves and retrieves the comment files in that folder. The new blog uses the base folder, so there is no conflict even though the file names are repeated in the new blog. Since the blog starts over each year, I have added a link to the archive folder for the previous year's blog in my favorite links section.
I had to change my search program a bit to fix some bugs in it that made it fail to find entries in the archive folder. Here is a newer version of the file. I will document my comments code in a later post. This has been a bit of trouble to implement, and it requires some handwork moving files around, but I think it will be worth it to avoid the always increasing upload times as the blog grows over the years.
Posted by Brian S. Kimerer at 12:10 PM
This site and all of its contents are copyright Brian S. Kimerer 2009 |
I am a software engineer by trade. For fun I build and play banjos and paint pictures. To see some of my work, click on the link that says "My Web Site" in the Links section of this page. Favorite Links
Google Site Search
Credits
|