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 :-)

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 :-)

20 Mai 2007

Swoogle - Semantic Web Search


Originally uploaded by nennett.

Swoogle macht es möglich, das Web nach semantisch ausgezeichneten Seiten zu durchforsten. Das was eigentlich nur für die Maschinen untereinander bestimmt ist, kann recht gut angesehen werden. Besonders nteressant finde ich, dass der «cached» RDF- bzw. OWL-Code aufzurufen ist.

Das alles ermöglicht zumindest mal eine Ahnung, wo das Semantische Web bereits schlummert. Viel kann es aber noch nicht sein: Ich habe «apple computers» in die Suche eingegeben. Bei Swoogle gab es 21 Ergebnisse, Google kommt hingegen auf ungefähr 50.200.000.

... IN ENGLISH


Swoogle crawl the WWW for Semantic Web documents, which are written in RDF. It's very helpful, because Swoogle scours the web for this (rare) documents and illustrates how the (beginning) semantic web works. These documents are certainly rare: I searched for «apple computers» - Swoogle showed 21 results, Google about 50.200.000 hits.

Labels: , , , , , ,

⇒ mail to nennett :-)

12 Mai 2007

Blogger 3.0 - Categories in the «old version»

Für Blogger-Blogs ohne eine blogspot.com-Adresse ist ein Wechsel auf die neue Version nicht wirklich möglich. Das soll sich aber noch ändern. Etwas besser ist es für die «Nicht-Blogspottler» trotzdem geworden. Wie können jetzt auch Kategorien (Labels) in den Posts vergeben. Sie erscheinen in den «alten» Templates aber eben nicht in der Sidebar aufgelistet.

Das geht einfach selbst gemacht. Was mir sogar besser gefällt: Ich kann mich in der Sidebar auf einige Kategorien beschränken, habe keine so lange Liste. Und ein (allgemeineres) Label, das sich in der Sidebar findet, ist in jedem Post. Jetzt brauche ich die neue Version nicht mehr dringend ...

... IN ENGLISH


The new blogger version supports categories. That was the good news last year. The bad news was, that an upgrate is only possible for blogs on blogspot.com. But also the «old version» now supports categories/labels within the posts, they only do not appear in the sidebar. But it's easy to create them manual.

Labels: , , , , , ,

⇒ mail to nennett :-)

18 April 2007

Da kommt Freude auf ...

... oder wie inside-it.ch es ausdrückt: »Wurde auch Zeit!« Im Sommer soll das webbasierte Präsentationsprogramm »Presentations(?)« von Google für alle nutzbar sein.

Trotzdem nochmal der Hinweis auf S5 von Eric Meyer. Vielleicht nichts für jedermann, weil etwas komplizierter. Aber, nicht vergessen!

Labels: , , , ,

⇒ mail to nennett :-)

09 April 2007

Try: Blogger microformats - hCard, rel-tag


hCard
Originally uploaded by nennett.



nennett net
Firma XYZ

Phantasiestr. 1
Germany
99991 Nirgendwo

+49 999 12345 (privat)
+49 144 234422 (geschäftlich)
+49 999 54321 (Fax geschäftlich)
http://www.nennett.net/




Verweis mit rel="tag" Mikroformate


Verweis ohne rel="tag" microformats
Microformats bei Mr. Wong

Es klappt (dank des hilfreichen Webtutoriels Mikroformate von Stefan Münz)! :-)

Labels: , , , , ,

⇒ mail to nennett :-)

05 April 2007

Today - CSS naked day '07



Originally uploaded by nennett.

»The idea behind this event is to promote Web Standards. Plain and simple. This includes proper use of (x)html, semantic markup, a good hierarchy structure, and of course, a good 'ol play on words.«

Labels: , , , ,

⇒ mail to nennett :-)

16 August 2006

XAMPP




Originally uploaded by nennett.
Das war schwierig für jemanden mit wenig Ahnung. Der download dauerte (nur) 50 min. Der Rest: 2 Stunden. Wo kann man beim mac einen Pfad eingeben? Roots? Das weiss ich jetzt. Und, ich habe eine Idee, was »sudo« ist. Ich freue mich auf XAMPP. Wenn ich wieder wacher bin.

Labels:

⇒ mail to nennett :-)

22 März 2006

CeBIT 2006