jump to navigation
Le Petit
Support EFF

Freedom of Speech

Human Rights

petikr Badge
A petikr badge showing public photos from Clas le Petit. Make your own badge here .
older »

Good WordPress tips Wednesday 2012-11-28

Just a tip for all WordPressers out there. Jimmy Atkinson has som good tips and tricks for you right
here.

Been there, done that Thursday 2010-10-28

I see now, that I’ve done that move before, as in this post.
I was successful then, but didn’t finish the work. Now I have :)
I also upgraded WordPress. It took so long time, I interrupted the process. Then for a while it scared me by disappearing. I thought – oh well you know – sigh. But it returned fresh and still kicking.

Moving my stuff Monday 2010-10-25

I used to have my private blog mixed witn tech stuff here, as you may have seen. To make things a bit simpler, by not mixing Flah development and programming with weddings and dogs, I decided to move the family stuff to WordPress.com. I exported it all from this blog, using the built in export tool, saving the rsulting XML file on my hard drive. So I went to my new blog over at WP.com and using the impor tool I imported categories, posts and comments. I then had to get rid of all categories and post that shouldn’t be there. It all went smooth and the export-import part took a few minutes. A simpler way to do this, as you cannot choose to do this, would have been to select the categories I wanted to export and change the author name to something like “export”, and then using the export tool, select this dummy author to export. The tool allows you to select author but not category. Well finding and bulk deleting all posts on my new site, takes a while, but I haven’t been an extremely vivid blogger ( those of you who visited me now and then know that :) . On the other hand it gives you an overview of what has occurred on the blog, and you may even be able to correct a few things.

I am warned that images and other media will not travel automagically to the importing blog, since the vehicle for transport is an XML file. How to move the media will be interesting to see. After deleting all the tech stuff on my new blog I have 209 posts in the trash bin and only 35 is left.
Now I have to do the same for this blog – well killing 35 post may not be such a great undertaking I guess.

Cleaning up the mess Thursday 2010-01-14

I have finally made backups on everything I think I’ll really use, killed lots of old install batches and moved lots of gia bytes worth of images and project files. This all as a preparation for installing windows 7. I got it from my employer in in an ISO image and burnd it twice on DVD:s to be safe.
None of them were bootable in the end, and I the reading was too slow och none. So I just mounted the ISO as a disk and copied it to a fresh directory. Then I took the dare devil approach and launched the setup from within Win XP. I know ther is no upgrade from XP to Win 7, so that was a scary step. From there I did a fresh installation selecting the XP boot partition. I knew that would kill it all :)

It all went very smooth and the Win 7 installation process took its proper time and restarted a few times during the process. It went out and fetched some update. After that I installed the AVG free virus protection.

I went on to install Firefox and the MozillaBackup utility, that I had used to backup the firefox and Thunderbird data with earlier. I run the utility to restore my bookmarks, plugins, settings and saved passwords. Somewhat to my surprice it was all there, so when I logged in to my blog to write these lines, Firefox rememberd my password even better then I did.

This is really how it should work.
Now I’m going to install Thunderbird and do the same on that. Hopefully I’ll bet my mail login and all thousands of mail in all my boxes back. Well if not, I have a separate backup on the mail boxes.

If I like Win 7? I don’t know yet, but I surely like the smooth and fully automatic installation process.

Sandy 3D a Fine Release Monday 2009-12-07

Hi all! I’m happy to say that we now have a bug fixed release of the very useful and well documented Sandy 3D Engine. Back in March came the long awaited upgrade to 3.1.1 and the goal was to release a bug fixed version fairly soon. However very few people had the time to work on it. After persistent work, mainly by Makc, we now have the a hopefully bug free version 3.1.2, so go get it!

Sadly enough this seems to be the final release, if nothing exceptional happens. This doesn’t mean that the engine cannot be used. On the contrary. It is working well and it is well documented and indeed it has a very friendly and helpful forum that works for newcomers and skilled developers alike.

Then there is the future bound haXe version, with which it is possible to compile for Flash as well as other targets, e.g. JavaScript for the browser canvas.

On a cleaning rampage Friday 2009-11-06

After installing WP 2.8.5, I can create a QuickPress post and this is the first. Now it seems that I got into a cleaning mode, which is fine, now that my computer nearly grinds to a halt. I have decided to backup and reinstall.

But you know how it is – I don’t have a terabyte disk for backup, so I’ll only backup the most important stuff. And I’m bound to forget something, oh well, nothing new there. Usually ( lucky me ) I succeed in formatting and installing on my primary partition, and find that all the others survived.

But oh my – all that good programs and tools I have to reinstall. Will I find them and will they work on Windows 7? Scary stuff! And will I find working drivers for all equipment, that hangs in the end of cables, bluetooths and IR connections?

Will I even get on the net again to search for what is missing, to chat with friends and make may status updates on facebook.
If not see you later!

Cleaning Up/rensar PetitOn Tuesday 2009-10-27

Dear readers, if any :)
I’m about to upgrade my WordPress publishing engine to the latest. Also I’m planning to clean it up a bit, and get rid of testing posts and other interesting stuff. I have come to the conclusion that I have too many categories, being over ambitious when I started. I really don’t publish that much. Then I’ll try to move personal stuff to some other blog.
If you don’t find anything here the next couple of days, I did something foolish :D
See you!

Trogna läsare! Jag har för avsikt att uppgradera min WordPress och dessutom rensa ut gamla onödiga testartiklar och annan skrot av föga intresse. Dessutom försöker jag flytt mer personliga artiklar till någon annan blog.
Om du inte hittar någonting här den närmsta tiden, beror det på att jag misslyckats :D
Vi ses!
[Edit] Upgrade success!

Moving Posts to WordPress.com

This is absolutely wonderful. The easy with which you can move posts from one WP blog to another. I am thinking of moving my private blog posts to a wordpress.org hosted blog, and use PetitOn just for tech stuff.
But how do I move my family posts to the new blog? Do I have to tinker with the database, maybe doing a database dump using the phpAdmin interface and then importing it to the database at wordpress.com? And how do I move all images in my posts to the new blog and place them back in the posts?
It shows to be very simple. WordPress has an export facility to export the whole blog in an XML file, a kind of backup. The generated file can then be imported to the new blog. In this case I only want to move posts from my special family category, and when you export, you cannot select which category.
What you can select is which author’s posts you want to export, so here is the solution, step by step.
I’ll assume that you have already created a new blog at wordpress.com.
1. In your original WordPress admin interface create a new user, named for example “export”.
2. Go to Edit posts and filter the posts by the category you want to export, i.e. “Family”.
3. Select all posts, select “Edit” from Bulk Actions and change the author for all posts to the new user.
4. Now go to Export and select the “export” user from the Author drop down.
5. Click “download export file” and save the file to your local hard disk.
This file now contains all you need to move that category to another WP blog, so you’re almost done.
6. Go to your wordpress.com blog and log in to the dashboard
7. Select Tools/Import and chose WordPress from the list
8. Click “Chose file” and file the file on your hard disk
9. Click “Upload file and import” and you are done.
You may see a message telling you WP is processing, and will send you a message when it is all done.
This may be a false statement, and you can go back to view your new site. Chances are your posts are already there. That’s what happened to me.

Some problems.
For some reason all categories from the old blog are inserted, albeit empty, into the new blog, so you might want to edit categories and delete the once you don’t use.

How about the images?
Well, if you look at your new blog, the images are there and you jump for joy, but a little bit premature.
If you look at the image links, you’ll find they are linked in from your old blog. If you can afford that, you don’t have to do anything more. Probably you want to remove the moved post from your original blog, or maybe shut it down altogether. In that case you have to move images and other media manually.

Regulating Ads in Social Media Saturday 2009-09-19

WPN, Web Pro News reveals that there are investigations under way on how and if the US government should regulate ads and other forms of promotion on social sites like Twitter and Facebook.

This of course raises some questions. An intervention by government on what can be said on the internet, is seen by many as an attack on freedom of speech. This is the traditional view on the web that spawned the EFF Blue Ribbon Campaign for freedom of speech in February 1996. At that time business hadn’t yet understood how to make money on the web, and the question was less complicated.

In this second millennium things are quite different, and with the broad electronic highways and new technique everything human is present on the web. We by things, listen to music and watch movies, and we live part of our lives in a virtual world, that reflects the “real world”. In fact the Internet is part of the real world. So I think it is inevitable, that the need for regulation of what you can do on the Internet will grow. Already you can commit many types of crime on the internet, which has to be sanctioned.

When it comes to ads or other forms of payed promotion, regulations are there for new papers and television, to make consumers aware of what they are reading. An argument against state supervision is that people will understand what is and what is not payed promotion. I don’t think that’s always the case, and why should it be any different than reading a news magazine or watching television. The tricks always always be the same.

I’m one of the early users of Internet, and my blog is carrying the blue ribbon, so I’m really sorry to admit, that as the web has matured, it’s become more and more like the rest of the human domain.

So lawmakers, come on, but be careful and let us be as free on the Internet as possible!

The Sandy 3D Site is Down Monday 2009-06-22

On 19 of June I discovered that the Sandy site and forum was down, and hoped for it to be resurrected in a few hours. Not so – its now June 22 and all we get is server errors. This may be just a little bit better than the “404 – Not Found” message, I got then. It seems that a lot of work by Thomas and all other contributors is lost. Weather this is the work of some cyberspace vandals or some fatal mistake from the web host, I don’t know. I really hope that they keep a recent backup. If not, they are idiots, even if the service is free.

If you offer a web document storage, free or not, you must realize that the domain owner is dependent on your ability to host the site.

The tutorials and the forum are goldmines, so hopefully this is not all lost in the big black hole.

[Edit] I’m more than happy to tell you, that there were indeed backups, and that the Sandy site is up for our enlightenment :-)

older posts »