2006-06-28
(Nicht nur) schöne Graphen von Web-Seiten
Sala hat ein Java-Applet geschrieben, das Web-Seiten
visualisiert.
Die DOM-Struktur wird als farbige
Grafik angezeigt, wobei die Farben Rückschlüsse auf die verwendeten Elemente
(<div> vs. <table>, etc) erlauben.
Hier als Beispiel meine Primzahlzerlegung:

[via Hacking for Christ]
23:43
[/software/web]
Google
Trackback
Tags:
HTML
DOM
graph
visualization
2005-11-23
Firefox-Schnapszahl
Schade, die nächste Schnapszahl
der Firefox-Downloads habe ich knapp verpasst…
15:04
[/software/web]
Google
Trackback
Tags:
firefox
downloads
2005-10-19
Hundert Millionen Mal Firefox!
Heute abend war es soweit: Um 2005-10-19T19:19:54 zeigte mein
Upload-Counter die Zahl von 100’001’786 an!
100’000’000
Ohne diesen Erfolg schmälern zu wollen, frage ich mich, wie viele von diesen Downloads Updates waren und wie viele wirkliche “Umsteiger”.
20:01
[/software/web]
Google
Trackback
Tags:
firefox
100000000
100M
browser
web
2005-06-10
Scoble finds the future of mapping
Heh, map.search.ch got scobleized!
Robert, also check out the simple URL you can use if you know the address already: http://map.search.ch/Bern/Bundeshaus shows the federal parliament building. Generally, http://map.search.ch/city/street will show this specific address (the street is optional).
It’s great to see you enjoying your stay in Europe so much!
00:43
[/software/web]
Google
Trackback
Tags:
scoble
maps
mapping
2005-04-29
Yes! Fünfzig Millionen Mal Firefox!
Ein weiterer Meilenstein ist erreicht!
18:20
[/software/web]
Google
Trackback
Tags:
firefox
50000000
browser
web
2005-02-17
Firefox wird 25’000’000!
Gratulationen sind angebracht! Und das alles in nur 99 Tagen…
08:26 [/software/web] Google Trackback
2004-11-13
Firefox Release-Party
Gestern abend war ich an 3b’s Firefox Release-Party. Ebenfalls anwesend waren 3w, 3r, der nebenbei in ein paar Tagen bis kurz vor Weihnachten nach “down under” verschwindet, und Mätthu Scheidegger.
Als erstes schauten wir den Domino-Day auf RTL, dann führten wir uns noch den Geek-Kultstreifen Hackers (“Information ist die gefährlichste aller Waffen”) zu Gemüte. Wir haben uns köstlich amüsiert! Die Schlussszene hat uns heftigst an Blinkenlights erinnert:

18:17 [/software/web] Google Trackback
2004-11-09
2004-04-25
CSS with namespace selectors
So I’d like to put the correct typographical
quote signs around my <q> tags. Of course, they depend
on the language the quote is written in: English uses the double quotes
“ and ”, while German uses double angles « and »
(any others?).
The proper way to do this is the lang attribute, as in
<q lang="de">Dies ist ein Zitat<q>
This is easy to style in CSS 2 with a combination of the attribute selector and the pseudo :before and :after selectors:
/* German quotes get double angle quotes */
q[lang="de"]:before {
content: "\AB";
}
q[lang="de"]:after {
content: "\BB";
}
/* English quotes get double quote signs */
q[lang="en"]:before {
content: "\201C";
}
q[lang="en"]:after {
content: "\201D";
}
/* All quotes are in italic */
q {
font-style: italic;
}
but this site is written in XHTML 1.1,
which requires that I use the xml:lang attribute. How is a
selector for a namespace attribute written? A little googling
finds a CSS Namespace Enhancement proposal
and a clear-text explanation
by Anne van Kesteren.
The principle is simple: First you
declare the used namespaces in the style sheet with a @namespace keyword:
@namespace url(http://www.w3.org/1999/xhtml); /* default namespace of XHTML */ @namespace xml url(http://www.w3.org/2002/xml); /* namespace of XML??? */
Then you can use these declared namespaces in your selectors like this:
/* english quotes get double quotation marks */
q[xml|lang="en"]:before {
content: "\201C";
}
q[xml|lang="en"]:after {
content: "\201D";
}
Note the xml| part in the attribute selector. The only remaining problem is
that I don’t know the canonical URL of
the implied xml namespace, and I can’t declare it in my web page. Plus the browsers
don’t implement the namespace proposal yet, so I need another solution.
Fortunately, the proposal itself mentions that
…the down-level client will view and match element type and attribute selectors based on their fully qualified name, not the local part as outlined in section 3.1. CSS selectors may be declared using an escaped colon “\:” to describe the fully qualified names, i.e. “html\:h1” will match <html:h1>. Selectors using the qualified name will only match XML elements that use the same prefix. Other namespace prefixes used in the XML that are mapped to the same URI will not match as expected unless additional CSS style rules are declared for them.
The xml namespace is always predeclared, so this last caveat doesn’t apply. My CSS finally looks like this:
/* english quotes get double quotation marks */
q[xml\:lang="en"]:before {
content: "\201C";
}
q[xml\:lang="en"]:after {
content: "\201D";
}
I’ll have time to look for the xml namespace URL until the browsers will implement this proposal…
00:30 [/software/web] Google Trackback

