Weblog


Weblog

testi, testi

21.01.2002, 13:31 · Martin · Permalink

Using upstreaming in Radio as CMS

21.01.2002, 13:24 · Martin · Permalink

I'm documenting my go at converting a previously Manila based website to a Radio-CMS based site, wish me luck ;) I'm running into a few road-block like obstacles, but then I had those converting to Frontier from AOLPress when I started out, so it's to be expected ;) There's a few points that I'm missing, new ways to do things are always like that

The Doc Searls Weblog : Win 45% .INFO domain Windows penis reliability access!

21.01.2002, 12:35 · Martin · Permalink

talking about idle time...

21.01.2002, 11:27 · Martin · Permalink

As you may have noticed I got some work done lately and might find some more ressources where those came from. So: Anybody out there who would actually be interested to use the weblog PHP script that builds this humble site? Talking about SBELT (stupid but entertaining log tool). It's a real simple PHP based weblogtool that get's the work done (templateing + RSS). If there actually is interest, I will make the code availeable and clean it up (other way around), otherwise I will simply use it myself and not bother anyone with my code.

stream of thought

21.01.2002, 10:57 · Martin · Permalink

following a link on HTP to here: Anticiparallelism | Computerworld News & Features Story trying to figure out "what a computer should worry about when its thumbs are twiddling." I remembered that my PC at home runs almost 24/7, doing nil... So I also remembered I wanted to look into CPUIdle for some time now... But if youre running win2k you might want to read this first.

building themes...

21.01.2002, 10:21 · Martin · Permalink

ok, i won't. not any longer.
look at what garret did and wheep. and once you're finished wheeping chant after me: I am not worthy, I am not worthy, I am not worthy!

some quote

21.01.2002, 09:02 · Martin · Permalink

Jon's Radio
Cool! In contrast to, say, Zope, it's convenient that much Radio behavior is filesystem-driven and -accessible. Amen!

... and forced all to bow down and pay tribute before their god Vi Su-Albahsic

21.01.2002, 08:49 · Martin · Permalink

"And it came to pass that the sons of Kahn, who dwelt in the valley of Scotts, in the land of Cali-fornia, fell upon hard times. For they were hard plagued by the Mic-rosoftees who dwelt in the north, yet ruled all the lands around, and forced all to bow down and pay tribute before their god Vi Su-Albahsic. And there was much wailing and gnashing of teeth in the valley, and also much careful reading of the Situations Vacant columns."
stolen, stolen, I am unworthy

I knew this guy was a farce all along!

21.01.2002, 08:45 · Martin · Permalink

Space News New Theories Dispute the Existence of Black Holes HarHarHar
[via blivet]

"If you don't like the software go out make some of your own."

20.01.2002, 16:35 · Martin · Permalink

You figure out where I stole that quote, but it's my credo. Don't whine about software if you didn't try to do it yourself ;)

Turn Your Radio On

20.01.2002, 11:23 · Martin · Permalink

Das Folgende habe ich schamlos vom Jörg geklaut, aber ich brauche die Doku auch hier

<quote src="Schockwellenreiter">
Um W3C-konforme Seiten zu bekommen, mußte ich einige Klimmzüge unternehmen, damit Radio 8 korrektes HTML schreibt.

  • In system.verbs.builtins.radio.weblog.drawCalendar mußte ich gainsboro durch #dcdcdc ersetzen, da der HTML-Validator gainsboro nicht als gültiges HTML erkannte.
  • In system.verbs.builtins.radio.data.strings habe ich dem itemPermaLinkImg einen alt-Text gegsönnt, und
  • auch dem dailyLinkIcon in weblog.data.prefs wurde ein alt-Tag verpaßt.
  • Dem RSS-Icon fehlte ebenfalls der alt-Tag. Hier habe ich den Link einfach von Hand gebastelt, statt das <%rssLink%>-Makro zu benutzen.

Das größte Problem machte aber JavaScript. Radio 8 sieht alle // im body eines Templates als URL an und macht daraus automatisch einen Link, also auch aus //-->. So stand dann immer sehr seltsames in meinen Seiten und ich war erst einmal ratlos. Mark Paschal brachte mich auf die Lösung, einfach den Doppelslash zu escapen (\//-->). Danke, Mark.

</quote>

dem Tobi sein viewer

19.01.2002, 16:04 · Martin · Permalink

Kommt mit der Art wie ich meine HTML-zeichen im RSS codiere nicht klar... Und andere parser kommen mit HTML-enties nicht klar. Was tun? Hintergrund:
Normal als HTML-konform codierte Umlaute alà &Uuml; führen in XML-Parsern zu Fehlern. Also codiere ich sie als &#[ASCII-wert]; und dachte alles wäre fein. Allerdings wiederum scheinen manche sich dann daran zu stören, daß auch < und > als Zahlen codiert sind (also aller HTML-code, der in einem item enthalten sein soll, da HTML sonst wieder zu Fehlern führt, da nicht XML-conform)... evtl. muß ich &, < und > eben doch als &amp; etc. codieren...

The RSS thingie

19.01.2002, 15:46 · Martin · Permalink

is here

dem Tobi sein viewer

19.01.2002, 14:59 · Martin · Permalink

Kommt mit der Art wie ich meine HTML-zeichen im RSS codiere nicht klar... Und andere parser kommen mit HTML-enties nicht klar. Was tun? Hintergrund:
Normal als HTML-konform codierte Umlaute alà &Uuml; führen in XML-Parsern zu Fehlern. Also codiere ich sie als &#[ASCII-wert]; und dachte alles wäre fein. Allerdings wiederum scheinen manche sich dann daran zu stören, daß auch < und > als Zahlen codiert sind (also aller HTML-code, der in einem item enthalten sein soll, da HTML sonst wieder zu Fehlern führt, da nicht XML-conform)... evtl. muß ich &, < und > eben doch als &amp; etc. codieren...

Radio killed my coding, NOT

18.01.2002, 16:06 · Martin · Permalink

it rather insspired me to tackle a topic I was postponing for about half a year by now. SBELT has gained considerably and I now have a rss-feed. Go figure.

Vielbesucher-Bonus

18.01.2002, 15:30 · Martin · Permalink

für die Vielankilcker von Leerlaufprozess ;)

alternate upstreaming

18.01.2002, 14:24 · Martin · Permalink

<quote src="PapaScott"> I've put Radio back on the shelf, but Eric Soroos explains how to get upstreaming to work with rsync/ssh, or indeed any command line tool (by enabling a backup, then writing a upstream callback that calls the tool). That's a lot simpler than I thought it would be. While he imagines the solution for OS X, I'm sure you could get it to work with cygwin under Windows as well. But I don't have the time to pursue it.</quote> Very, very mind-bombing ;)

Ümläute in rss

18.01.2002, 13:33 · Martin · Permalink

seem to be solved, wheeewww

rss encoding...

18.01.2002, 11:00 · Martin · Permalink

is my last real deal-stopper for SBELT2. encoding Umlauts etc. as html-entities won't do... [update!] the rss url should work now!!! For the brave and curious out there: here's the URL: traumwind-rss One step further. It is possible to turn around the encoding-table PHP uses to get custom bahavior:

<?
$html = "<this> is not a tag, ÜÄÄÄhh";
function changeencoding (&$item1, $key) {
    $item1 = "&#".Ord($key).";";
}
function xmlencode ($s) {
    if (empty($xmltrans)) { // do this only once
        $xmltrans = get_html_translation_table(HTML_ENTITIES);
        array_walk ($xmltrans, 'changeencoding');
        reset ($xmltrans);
    }
    return strtr($s, $xmltrans);
}

$xmlsafe = xmlencode($html);
echo $xmlsafe;
?>

produces:
&#60;this&#62; is not a tag, &#220;&#196;&#196;&#196;hh
which I reall think is much nicer ;)

18.01.2002, 10:22 · Martin · Permalink

selfreferencial testing


alles Bild, Text und Tonmaterial ist © Martin Spernau, Verwendung und Reproduktion erfordert die Zustimmung des Authors

Martin Spernau
© 1994-2026


amazon.de Wunschliste

Facebook me!
Google+

powered by Traumtank