[current]
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:
<this> is not a tag, ÜÄÄÄhh
which I reall think is much nicer ;)
[ by Martin>]
[]
[]
similar entries (vs):
- one more... (# 23%)
- aus der Reihe: Traumwind 'stupid but entertaining PihÄhtschPih tricks'™ (# 17%)
- The RSS thingie (# 15%)
- JS on-/offline switcher (# 10%)
similar entries (cg):
Martin Spernau
© 1994-2003
Big things to come (TM) 30th Dez 2002
Short circuit (example; a man eating peas with the idea that they will improve his virility shovels them straight into his lap)
Oblique Strategies,
Ed.3
Brian Eno and Peter Schmidt
amazon.de Wunschliste
usefull links:
powered by SBELT