Schmuck aus und mit Liebe

published 2009-07-20 00:37

Wer meine Schwester Jona kennt, kennt vermutlich auch ihr liebstes Hobby: wunderschönen Schmuck anfertigen. Mittlerweile beherrscht sie ihr Handwerk so gut, dass es eine Schande wäre ihre Kunststücke der breiten Masse vorzuenthalten. Deswegen kann man eine Auswahl ihrer Schmuckstücke ab sofort online bewundern und auch bestellen. Ein kleiner Vorgeschmack:

Türkis in Kupfer Gold mit Tropfen Ohrschmuck Muscheln

Egal ob Kettenanhänger, Halsschmuck, Ringe oder Ohrschmuck, auf joyabella werdet ihr fündig. Das besondere dabei: Es handelt sich bei jedem Schmuckstück um ein Unikat, entstanden aus liebevoller Handarbeit. Auch Wunschanfertigungen sind möglich (inspirierendes Beispiel: der Mo hat sich mal von meiner Schwester seinen Weisheitszahn in eine Halskette einfassen lassen). Also wenn ihr euch noch hübscher machen wollt als ihr eh schon seid oder einfach nur jemanden eine Freude bereiten wollt, das ist euer Link: joyabella - Schmuck aus und mit Liebe.

PS: Wenn euch die Site gefällt, wäre es sehr freundlich wenn ihr mithelft sie bekannter zu machen. Am besten in Form eines Links. Für Bugreports bin ich auch dankbar.

Positionizer API-Calls using jQuery

published 2009-05-23 01:56

Here is an example of how to make a Positionizer API Call using jQuery's cozy getJSON function. First of all, we need to include the jQuery library in the head-section of our website:

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js">

Of course you can use your own copy of jQuery here, if you don't want to depend on Google. Next we set up a table with ID "myTable" in our body-section, that will get dynamically filled when the API-Call finishes:

<table id="myTable">
	<thead>
        <tr>
            <th>Google Query</th>
            <th>Positions</th>
        </tr>
    </thead>
    <tbody>
    
    </tbody>
</table>

Alright, so now we're prepared for some jQuery-magic. Copy the following JavaScript-Code into your head-section:

$(document).ready(function(){
	// base URL of positionizer's API
	var request = "http://www.positionizer.com/positionize"; 
	// url to look for, without "http://"
	var url = "www.omsn.de"; 
	var queries = ["omsn.de", "omsnize your world", "challenging reality"];
	var engine = "google";
	// put it all together, don't forget the callback-parameter 
	request  = "?url=" url "&engine=" engine "&queries=" queries.join(",") "&callback=?"
	$.getJSON(request, function(jsonObject){
		for(query in jsonObject.google) {
			var tr = $("<tr>");
			tr.append( $("<td>").text(query) );
			var positions = "";
			for(pos in jsonObject.google[query]) {
				positions  = "<a href=\""   jsonObject.google[query][pos]   "\">"   pos   "</a> ";
			}
			tr.append( $("<td>").html(positions) );
			$("#myTable").append(tr);
		}
	});
});

Let's take a look what happens here. First, we define the parameters for the API-call. url and queries are required, if they don't appear in the request, you'll get an error. The engine-parameter is optional, but we set it to receive only results from Google. And finally we put the parameters together to form an URL. The callback=? parameter is necessary to prevent access denial, caused by Firefox's security model. jQuery automatically replaces the "?" with an according callback-function.

Next we call the getJSON-function and pass the request string. Once the request is finished, the function we specified as second parameter gets called with an already valid JSON object as parameter.

We loop through jsonObject to get the results. For each query, we create a new table row. In the left column we write the queries and in the right one the linked positions. At the end of each query-loop, we append the created row dynamically to our table.

You can see a demo of it here. Enjoy using Positionizer's API!

1 comment | category: projects

Positionizer Relaunched

published 2009-03-30 22:57

Ich hab das Projekt Positionizer überarbeitet und soeben hochgeladen. Das Layout ist jetzt noch hübscher, einige Bugs sind beseitigt und es gibt jetzt eine API! Ist das nicht toll? Trotzdem hab ich sicherlich nicht genug getestet, also bitte meldet Bugs oder sonstige Auffälligkeiten.

Wie findet ihr den neuen Positionizer?

Positionizer.com launched

published 2008-05-16 23:27
Project launched! Darauf hat die Welt gewartet (*hust*): www.positionizer.com - ein Tool zum "On-Demand-Website-Ranking-Check". Oder mit anderen Worten: man kann seine Position für bestimmten Suchanfragen bei den größten Suchmaschinen nachgucken ohne dafür für jede Anfrage extra eingeben zu müssen. Zwar ist diese Idee nichts besonderes, das ganze gibts schon in mehr oder weniger gleicher Form hier, hier, hier und hier. Konkurrenz ist also zahlreich vorhanden, allerdings haben die das alle nicht so cool umgesetzt wie ich. Neben den zwei größten Suchdominatoren Google und Yahoo werden die 10 größten Internet-Nationen sprachentechnisch abgedeckt. Ich habe vor bald auch noch Ask.com und Microsoft Live mit aufzunehmen.
Check it out: www.positionizer.com.
Wie findet ihrs? Fehlt was? Isses Geil? Nicht intuitiv? Falsche Ergebnisse? Schlechtes Englisch? Omsn? Bin offen für jedes Feedback!

PS: Für die Unkreativen unter euch, hier eine mögliche Anwendung: http://tinyurl.com/3lwk7l
Free the web