Categories
iRail Misc www

NMBS API?

While trying to find an API or “mobile” (read: iPhone) access for the NMBS website, I came upon some cool stuff.

The time table and train managing software seems made in Germany. The NMBS “look up” site gives you the software and version it is using (“Software versie/dataversie: HAFAS 5.21.B-RAIL.4.7f/5.21.B-RAIL.4.7k – 14/09/08“).

Googling for Hafas returns some cool websites.

Using this one, you can download a pdf with all train (including hours) info between two stations. Not quite the same as an API-key, but at least you have something you can save and use lateron.

This seems to be giving all stops a train will have (or all trains) between two stations. Though the “stoptrains” aren’t in the list, and the IR-train does stop at Mechelen-Nekkerspoel too, which isn’t on the list either. This PDF seems more accurate, and seems to be including all trains.

But still, the DB seem to be ahead of us (well, what country isn’t?). Here is one of the functionalities of HAFAS, which I haven’t seen on the NMBS site yet. Correct me if I’m wrong, but this seems something different. And… Windows-fucking-mobile-only.

Pretty much same problem with Thalys. They even made thalys.mobi, yet, when accessing it with the iPhone (as I lack other PDA-ish devices to test it at the moment) it doesn’t scale/resize/fit my screen, and is displaying the same window I have when browsing it with Firefox.

Wouldn’t it be cool if we had some open (xml?) API, where we could submit departure station, arrival station, and some time, and get a reply with one or multiple results?

I guess I would’ve hoped for more in these “mobile” days.

Edit: my attempt to make something.

Categories
Apple Windows

iPhone Crashlogs

This one, I’ve taken from the Brightkite iPhone beta Google Group.

This should help several people who aren’t yet privy to this information. Your iPhone or iPod Touch’s iTunes backup process (the thing that some people tend to skip) dumps your device’s crash logs to a folder in your home directory. Here’s how to get to those logs.

DEPENDING ON YOUR OS:

  • Mac OS X: <your-home-directory>/Library/Logs/CrashReporter/MobileDevice/<device-name>/<brightkite-crash-log>
  • Windows XP: C:\Documents and Settings\<user-name>\Application Data\Apple computer\Logs\CrashReporter\<device-name>\<brightkite-crash-log>
  • Windows Vista: C:\Users\<user-name>\AppData\Roaming\Applecomputer\Logs\CrashReporter\MobileDevice\<device-name>\<brightkite-crash-log>

If you can’t find either of those, the logs should be on your device anyway. If it’s jailbroken, your logs can be found under:

  • /var/mobile/Library/Logs/CrashReporter/<brightkite-crash-log>
Categories
Software www

WordPress iPhone plugin

For those using the PDA & iPhone wordpress plugin, which turns your blog into something more readable on a mobile device, don’t forget to add the Google analytics script to your footer.php (in both iphone-theme and pda-theme directory). As other plugins seem to be disabled.

This is actually also meant for me, as a reminder, for when I update the plugin. 😉

(Howto make a screenshot on the iPhone)

Categories
Networking

3G Networking

Found a really cool blog post on Twitter yesterday night; really worth the time to read and to understand how 3G is actually working.

Categories
Misc

iPhone

Is mine & is working. Happy again.

Mobistar also said the warranty is two years. No matter what Apple says.