28 Juli 2007

Find URLs on web pages

Mit nur drei Zeilen Ruby lassen sich leicht die URIs/URLs aus dem Quelltext einer Webseite auslesen. Eignet sich besonders gut für das Auffinden Semantischer Verweise im Text. Ein Mini-Beispiel mit Text aus dem letzten Post; der Code ist rot, das Ergebnis blau, der Quelltext grau.

------------------
irb(main):001:0> require 'uri'
=> true
irb(main):002:0> text = %{Today, my son showed me this commercial made by adidas. The soccer-kids from St. Margarets are not usual winners like David Beckham and others. But they are not less greatly!}
irb(main):004:0> URI.extract(text)
=> ["http://www.adidas.com/us/shared/home.asp"]
irb(main):005:0>
------------------

... IN ENGLISH


Three lines Ruby-Code are enough to find all URIs/URLs within the source of web pages. So you can also search very easy for semantic annotations. The example shows code red-colored, text gray-colored and the result blue-colored.

Labels: , , , , , , , , ,

⇒ mail to nennett :-)

22 Juli 2007

St. Margarets Soccer-Team

Die Fußball-Jungs von St. Margarets freuen sich als sie irgendwann wenigstens ein Gegentor zustande gebracht haben. Dass sie trotzdem haushoch verloren haben, interessiert sie da nicht mehr. Ist jetzt nicht unbedingt die Meldung schlechthin. Aber, die Geschichte ist Teil einer Werbekampagne "Impossible is nothing" von adidas, wo sonst nur David Beckham & Co gezeigt werden. Nicht nur ich finde die Kids von St. Margarets viel cooler...
Auch die Umsetzung ist klasse; hier noch das Making of des Spots.







... IN ENGLISH


Today, my son showed me this commercial made by adidas. The soccer-kids from St. Margarets are not usual winners like David Beckham and others. But they are not less greatly!
Making of

Labels: , , , , , , ,

⇒ mail to nennett :-)

12 Juli 2007

GRDDLable Microformats

So schön das im ersten Moment auch aussieht; es ist schwierig mit dem Umwandeln von Microformaten in RDF mit GRDDL. Danny Ayers zeigt es auf: Lediglich drei Mikroformaten (hCard, hCalendar & hReview) ist eine Profile-URI zugewiesen, die fürs GRDDLen gut geeignet ist. Und selbst das ist nur - naja! Danny Ayers scheint da auch ein bisschen die Unterstützung zu vermissen.

... IN ENGLISH


It seems that it is easy to transform microformats to RDF with GRDDL. But at the moment there are only three microformats (hCard, hCalendar & hReview) with workable profile URIs. Danny Ayers posted his point of view on microformats.org.

Labels: , , , , , , , , , , ,

⇒ mail to nennett :-)

08 Juli 2007

GRDDL: Transform Microformats to RDF


GRDDL_Transformation
Originally uploaded by nennett







GRDDL steht für "Gleaning Resource Descriptions from Dialects of Language". Es schafft unter anderem
die Verbindung zwischen Mikroformaten und RDF. Neben den Mikroformatierungen muss im Xhtml-header lediglich noch ein Meta-Profil-Verweis und ein link-tag eingefügt werden (linkes Bild Zeilen 3,5), dann kann bspw. der Quelltext mit den Mikroformaten meines Kalendereintrages CeBIT 2007 hiermit in RDF (rechtes Bild) umgewandelt werden.

Wenn demnächst Suchmaschinen wie Swoogle zunächst noch Mikroformate in RDF umwandeln könnten, wäre das die Verbindung von Mikroformaten und RDF. Damit würden semantische Auszeichnungen beider Arten mit einer Suche gefunden werden können und untereinander maschinenlesbar sein.

... IN ENGLISH


GRDDL means "Gleaning Resource Descriptions from Dialects of Language". With GRDDL, microformat data can be viewed as Semantic Web data (RDF). On the left pic you see the source-code for a microformat hCalendar data. It is necessary to add two tags (profile and link, line 3,5) before. Than you can transform the source to RDF (left pic). If search engines as Swoogle , will be able to transform the source itself to RDF, it might be possible to find microformat data and RDF data within one Web Search.

Labels: , , , , , , , , , , , ,

⇒ mail to nennett :-)

04 Juli 2007

Web Inspector - nennett.net

Habs geschafft, aber mit einem anderen Link und nicht alleine. Der Web Inspector ist tatsächlich sehr hilfreich; man bekommt einen schnellen Überblick über den Code oder in spezielle Teile und Elemente. Hier, was er alles kann.

... IN ENGLISH


I tried it again with Mac OS X and another link. The Web Inspector is indeed very interesting; it outlines the code in a general, but also in a detailed way. About Web Inspector.

Labels: , , , , , ,

⇒ mail to nennett :-)