Archive for the ‘osx’ Category
How to add or change the bookmark image for your website
The image you see next to the website URL or in your bookmarks menu is called ‘favicon.ico’.
If you are hosting your website on your own server, just add a 16×16 pixel ‘favicon.ico’ file and a 32×32 pixel ‘largefavicon.ico’ file to the top directory. This is the same directory your index.html page for the site is kept.
If you are hosting your website on blogger or another service where you do not have access to the main directory you have to host your favicon.ico image file where ever you host your other website images.
Then add the following two lines to the html files on your site. These lines go in the <head> section of each file. If you are on blogger are using another blog type set up just edit the main html file for your site. { On blogger go to Layout->Edit HTML and put the two lines under the line <head> }.
Now edit these two lines so the path is where your favicon.ico is kept:
<link rel=”shortcut icon” href=”http://imagehosting.com/favicon.ico” />
<link rel=”icon” href=”http://imagehosting.com/favicon.ico” />
To create your favicon.ico file you can use your favorite photo editor. I use Gimp. Create the icon you want and save it as a 16×16 pixel png file. After you have created and saved the file, change the file name from favicon.png to favicon.ico.
More information:
What is favicon.ico?
How to Make Favicon | Macinstruct
Backing up Blogger to your OSX WordPress local installation
I tried all the back up programs I could find. Maybe they work on Windows machines? I don’t know? I found none that work on OSX.
So for now, until I find a better solution, I set up multiple WordPress blogs on my home computer. I then downloaded and installed the WordPress new blogger import tool and I downloaded->imported my blogger blogs to my local WordPress install.
I’m hoping to find a better solution. Or perhaps I’ll write a tool if time allows. For now this will have to do.
10 Step Install of WordPress on OSX
New Blogger Import Plugin
Or try here:
New Blogger Import Plugin
To install multiple WordPress blogs on your OSX machine you need to set up a new MySQL database for each one.
Then create multiple wordpress folders in your /Library/WebServer/Documents/ directory. One folder for each blog and give it name that’ll make it easy to keep each blog straight.
Then follow the same basic install instructions for each blog that WordPress provides.
Install the New Blogger Import Plugin in each WordPress installation and activate it.
Follow the instructions for downloading and importing your Blogger Blog.
It sounds painful, but the only painful part of all of this is getting MySQL installed and running properly. All else is easy.
One problem with this method is the import program imports everything every time. So you end up with duplicate entries, comments, etc.
To fix this log into mysql and delete the comments, categories and posts before doing the backup.
mysql> delete from wp_posts where post_author=’2′;
mysql> delete from wp_comments where comment_approved=’1′;
mysql> delete from wp-categories where category_parent=’0′;
See also:
Perl script to backup Blogger posts and images
Perl script to back up Blogger comments