HTML for webredaktører

Webredaktører oplever det hver dag. Der er kopieret tekst ind på hjemmesiden, og uanset hvad du gør, bliver der ved med at dukke andre skrifttyper, størrelser, afstande, farver, m.m. op i teksten.

Funktionerne i CMS’ets editor til at rydde formatering hjælper ikke, og problemet består, uanset hvad du gør. Til sidst spørger du den nærmeste, der kan lidt kode. Personen klikker på kode-knappen i editoren, alt bliver volapyk, og på kort tid er problemet væk.

Det kan du også lære – og det er nemt! (more…)

Polyline/polygon tool for Google Maps

This small tool aids you in getting the coordinates for your polyline or polygon
This small tool aids you in getting the coordinates for your polyline or polygon.

By: Martin Ove

Hi all.

I made a little tool, which can make the process of finding coordinates for polygons and polylines in Google Maps a lot easier and intuitive.

It lets you draw a line with multiple points by just clicking on the map. When you’re done, you just copy-paste the coordinates for further use.

Check it out: martinove.dk/maptools/polytool/ (more…)

Webscraping with Python – Getting started


[tweetmeme]If you have no idea on how to start scraping the web with Python, then read on. The first small step is simpler than I thought it would be.

By: Martin Ove

This post will teach you how to fetch the HTML of a website using Python in windows. This is as far as I have gotten at this time, and even though it isn’t really useful yet, I guess it’s the first step towards webscraping with Python.

First of all you need to get Python on your computer. (more…)

Facebook Like Box – A closer look at the code


Click the buttons to highlight parts of the code.[tweetmeme]

By:Martin Ove

[Update 22.10.2010: Id-number is no longer used by Facebook. It has been replaced by url. Read more here]

The code behind the Facebook Like Box is easy to modify manually without having to go back the Facebook site.

Here’s a rundown of “what does what” in the iframe code: (more…)

Facebook Like Box – A step-by-step guide

Check out the step-by-step guide to get the Like Box in your WordPress sidebar – and make it look good.
[tweetmeme]

By: Martin Ove

[Update 22.10.2010: Facebook has changed the code a bit. Read more below the screenshot tour.]

If you want to connect your Facebook Page with your site, the Like Box is a great way to do it.

It allows you to show off your wall activity, pictures of your fans, number of fans, give you a good looking link and finally gives your user an opportunity to “Like” your Facebook Page directly from your site. Check out an example at Ledig – hvordan er det? (more…)

Don’t miss a Twitter mention – RSS style


It takes about two seconds to set up a feed for your Twitter mentions.

By: Martin Ove

[tweetmeme]If you’re reading this, you probably use a client for Twitter like Seesmic or Tweetdeck on your desktop or some other client on your smartphone. In that case, you probably never overlook a mention on Twitter.

However, if you want to be absolutely sure not to miss a mention, why not create a RSS feed for it? (more…)

Google Charts and where to start

(Click to enlarge) Live Chart Playground helps you build your url. A great feature is the parameter autocomplete function. You don't have to remember that the parameter for axis range is "chxr", you can just begin to type "range". Below the building box is the site with all the documentation you need.

[tweetmeme]By: Martin Ove

If you want to make a quick chart using Google Charts, you definitely want to know about these sites from Google.

These are both official sites build to help you get started on the API.

First off is the “Live Chart Playground” located here: http://code.google.com/intl/da/apis/chart/docs/chart_playground.html

This is where you want to go, if you want to create static charts, which are data represented as an image. (more…)