Archive for August, 2006

A simple way to synchronize Google Calendar and an Ipod on the road

Synchronizing the Ipod calendar is very simple, it only require, that you place your ical-file in the Calendar folder on the Ipod. Syncing with Google Calendar only requires that you download your private calendar file. If access your Google Calendar, and navigate to [settings]-[Calendar]-["calendar name"], then you just have to right click on the “ical” logo by the private address, and select to save it to the Calendar folder on the Ipod.
Even though this is pretty simple, it could be fun to make it even simpler, having a script on the ipod for one-click updates. Personally I would download the ical file with wget, this i by default installed in most Unix/Linux system, and is available for windows by downloding the unixutils from http://unxutils.sourceforge.net/, and extracting the wget file (around 200kb.). Afterwards all you need to do is place the wget file and a windows bat file in the root of the ipod.
Example of update-ipod-calendar.bat (just swap the http address for Google Calendar address).
cd Calendar
..\wget http://www.google.com/calendar/ical/example_of_address/basic.ics

It should be even easier to compose a unix shell-scripts which accomplishes the same. And within minutes, and by just adding three small files, my Ipod can synchronize with Google calendar on both Windows and Unix systems, without installing anything on the machine.

6 comments August 23rd, 2006

Fooled again

Today my spam filter caught a message wich said:

I am Karin, very interesting article that contained the information I was searching for in Google, thanks….

I thought at first, that it must be a mistake, of course the message is a bit generic, but still it is hard to dismiss such a nice compliment. In order to check what it was I went to the website (which I won’t link to here). The website turned out to be Karins blog about wind? I felt sad for Karin, something had gone wrong when she added adsense she had made loads of space below it so that I had to scroll some before passing the ads. At this point I was thinking that someone ought to help her.

But then it happened, I read the first lines of her post saying:

The wind barb is always point in the wind” written and performed by bob dylan; “dont think twice, . .You are now viewing bbc weathers five day forecast for memphis, united states of .

And then I just gave up, and admitted that the spamfilter is smarter than me.

Add comment August 21st, 2006

Converting streaming video to the Ipod using Linux

After I’ve gotten an Ipod Video I have the possibility of taking video with me when I go, but often this is hindered by the video only being available as a stream. Using Linux there is an easy 2-step way around this. The only requirements are that mplayer and ffmpeg is installed. Even though I have not tried it on anything but wmv’s, but I guess it is a very robust method (depending on the number of codecs’s installed).
Step 1: grabbing the video

Grab the video from the source: I’ve found mplayer’s command line does this very well.

  • mplayer mms://source-file-address.wmv -dumpstream -dumpfile file-name.wmv

Step 2: Convert the file to an Ipod-friendly format

I read somewhere (and I can’t find it again) that mencoder was not appropriate because of some technicality concerning their header. One should therefore use ffmpeg when converting to the Ipod.

  • ffmpeg -i file-name.wmv -f mp4 -vcodec mpeg4 -maxrate 2100 -b 200 -qmin 1 -qmax 3 -bufsize 8192 -g 300 -acodec aac -ab 160 -ac 2 -s 320×240 file-name.mov

I find this commandl ine to work okay as long as the source is not in widescreen format (16:9), if it is the aspect will be wrong. Then you might want to try out this one.

  • ffmpeg -i file-name.avi -f mp4 -vcodec mpeg4 -maxrate 1000 -b 700 -qmin 3 -qmax 5 -bufsize 4096 -g 300 -acodec aac -ab 192 -s 320×180 -aspect 16:9 file-name.mov

I found the last piece of command line at this here, which is a great source for further information on video to the Ipod.

Now the video should be ready for the Ipod, just sync it to the Ipod with your favourite tool for that.

On problem which often occurs is that the mms address is hard to get knowledge of. This can many times be retrieved by right clicking in a playback of stream, in firefox with the mplayer-plugin installed, and select “copy url”. A more complicated way is using ethereal network analyzer.

Even though this is a guide for Linux I would think that Windows this would work in Windows with cygwin and ffmpeg and mplayer installed.

One last question is about the legality in this – but that must be depending on the publisher on the stream and so on.

Add comment August 14th, 2006

Scheduleworld and Google Calendar Synchronization works two-ways

I claimed earlier, that Calendar synchronization between Google Calendar and Scheduleworld only works one way. But yesterday I read in \\Engtechs very nice guide to synchronization that it works two-ways, consequences were: I had to try again.
At first my results were the same as reported earlier, none of the appointments I had in Scheduleworld would appear in Google Calendar. This however changed when I made a completely new appointment in Scheduleworld which appeared in Google Calendar after a sync. The entire problem was solved by adding a hyphen to all my appointments – and suddenly they all appeared in Google Calendar.
This goes to show two points. First of all, that two-synchronization actually works between the two, making it possible to use Scheduleworld as a middleman for synchronization between Google Calendar and any SynML compatible device, like a cell phone. Second, that this service (in beta) has some weaknesses at the present, making it possible for some appointments to be left out.

6 comments August 13th, 2006

Syncing Scheduleworld with Google Calendar works – but only one way

After a failure earlier on, I tried syncing Scheduleworld and Google Calendar yesterday and it finally worked. I was hoping (naive – yes) that this could as a middleman providing Google Calendar with the needed Syncml  compatibility. In reality I could only make this work one way, exporting from Google Calendar (why they needed my pasword and username I don’t know), and in order to make the synchronization start I had to log in to Scheduleworld and request it.

All in all progress but I don’t really know what to use the one way sync for – unless I’m migrating completely!

2 comments August 10th, 2006

E T(heme) phone home – Wordpress Themes monitors secretely?

I was pretty surprised when I found Google Analytics tracking code in the footer of a free Wordpress theme.

When installing Wordpress via my hosting provider (Dreamhost), they install a lot of themes to. When trying out these, I found the tracking code. Adding the code make it possible to monitor a site’s traffic in detail. For example who visits, for how long and who referred them. For my website these information is not that sensitive, but I still like to be in control.
Don’t get me wrong I respect the people who provide themes for the rest of us deeply, and I would find it okay if it was a condition for using the theme, which I was informed on beforehand. I just find that it a bit too much if this code is put in there on purpose without informing the user.

I’m still pretty new to blogging, and I’m just wondering if this is a common accepted way to go? And what is when it comes to themes, I have not found any information of licenses in the themes I have downloaded? Is it okay to modify and put in ads?

1 comment August 8th, 2006

Previous Posts


Archives

Related Posts

New theme again
I'm trying out a number of themes these days. This week it is Jason Golods

Trying out a new theme – avoid the ads
After using the nice looking blix theme for a couple of month it seems time

Track stolen Gadgets with Gadget-Track
With Gadget-Tracks system your stolen gadgets phone home. The system is very simple, the gadget has

The first Week in review, or how I learned to stop worrying and start a blog
I've had the urge to start something on the internet for quite some time, and

Using Google Docs posting to Wordpress
My experience with using Google docs with Wordpress - read and make up your mind This

Ads