See the location of the people you follow on Twitter.
This page is a cool webapp which using Google Maps will show you where the people you are following on Twitter are located. Try it!
See the location of the people you follow on Twitter.
This page is a cool webapp which using Google Maps will show you where the people you are following on Twitter are located. Try it!
Dette er det første indlæg hvor jeg kort beskriver noget jeg har været involveret i. Grunden er at jeg generelt glemmer at få kommunikeret hvad jeg egentlig går og laver i mit professionelle hverv. Jeg håber at kunne poste løbende eksempler på hvad jeg har gået og lavet.
Slideren i toppen lagde jeg også en hånd på. Der var tale om implementering ved hjælp af et standard jQuery slider plug-in.
Kunden ønskede mulighed for at indsætte en visning af videoer. Der forelå et design og et ønske om at bruge YouTube. Jeg var med i dialog om hvordan det kunne implementeres og det endte med et backend modul til Dynamicweb CMS så det blev meget nemt for ikke tekniske redaktører at indsætte videoer på hjemmesiden.
Min rolle handlede primært om frontend implementering af video visningen. Det gjorde jeg gennem XSLT transformering af de filtrerede data fra YouTube.
Kunden ønskede en op/ned funktionalitet som jeg udviklede et jQuery plug-in til at håndtere.
Se den live løsning.
If you want to create your own apps for Android you can install a number of applications on your PC and you can code and run apps on your PC. Here is a quick guide to setting up the required tools needed to become an android app developer. You will need tools for simulating android devices (AVD) and software for coding your apps.
Now you have software up so that you can create virtual android devices (AVDs), and the next step may be to set up a development environment so that you can create your own apps
. There ofcause exists more than one soloution, here I will focus on a Eclipse IDE based soloution.
A very good webpage describes this: http://developer.android.com/guide/developing/building/building-eclipse.html
When working with CMS like Dynamicweb or Syncron VIA, you sometimes share stylesheet files across domains or subdomains. It makes sense to share common CSS codes when you want to some some common styles like fonts, colours or logos.
It is also common that some small differences exists on subdomains, perhaps a campaign site or a site target for a specific group of people. You then need to apply some small changes to those sites. Ofcause you can do this in many ways, and the CMS you use will probertly be a part of your decision on how to implement it. Here is one way to do it:
Add a CLASS to HTML tag with some site related information.
For instance I could add this code to my blog:
<html class="wwwnetsidk"...
The rule should be simple, for instance:
The reason it should be simpel is that it makes it easy to figure out what it should be for a given domain name. Things which are using the KISS (“Keep It Simple, Stupid!”) principle will more likely be used by people, as (in general) people are lazy (I know!
, trust me.)
When this rule have been applied you can add extra lines to your shared CSS file like this:
html.wwwnetsidk {background-color: red;}
The princip is used widely, for instance by http://www.modernizr.com/ which addes a lot of feature related classes to your HTML element telling you for instance which HTML5 features are supported. Just look here at parts of what modernizr adds to your HTML document:
js no-touch postmessage history multiplebgs boxshadow opacity...
Working with Dynamicweb CMS, here is an example of adding extra information to HTML element – “areaid-xx” will add the ID of the area. In Dynamicweb you can have several areas, which are individual websites. So you might have areaid=1 which is www.netsi.dk and areaid=2 which is m.netsi.dk. In the example below I have also added extra information telling if the person is a returning person.
<html class="areaid-<!--@Global:Area.ID--> <!--@If Defined(Global:OMC.Visitor.IsReturning)-->IsReturning<!--@EndIf(Global:OMC.Visitor.IsReturning)-->"...
You may add any information you wish, perhaps have a look at the tags that Dynamicweb CMS offers.
Here are an example of how I have implemented this feature in the Danish CMS system Syncron Via. The system is using XSLT a lot, and the code here is applied to the XSLT template used to render the outer Page data:
<xsl:variable name="serverName" select="translate(/Page/RequestContent/ServerVariables/Entry[@Name='SERVER_NAME'], '.-', '')" />
...
<html class="{$serverName}"...
This is what I do: define the class to be added to the HTML element in a variable and add it to the HTML class attribute.