Volltext: "Green chemistry - Biodiesel made with sugar catalyst"
/* 0.1 - initial release 0.2 - new option: rewrite mail addresses with [at] and [dot] 0.3 - userdefined placeholders for [at] and [dot] 0.4 - new option: links can be open in new window (default: off) 0.5 - support for SqlTablePrefix */ class NP_AutoLink extends NucleusPlugin { function getName() { return 'AutoLink'; } function getAuthor() { return 'Kai Greve'; } function getURL() { return 'http://kgblog.de/'; } function getVersion() { return '0.5'; } function getDescription() { return 'Automatically creates links for internet and mail addresses'; } function install() { $this->createOption('InternetAddress','Automatically create links for internet addresses ?','yesno','yes'); $this->createOption('NewWindow','Open links in a new window?','yesno','no'); $this->createOption('MailAddress','Automatically create links for mail addresses ?','yesno','yes'); $this->createOption('RewriteMailAddress','Rewrite mail addresses with [at] and [dot]?','yesno','yes'); $this->createOption('at','Placeholder for @','text','[at]'); $this->createOption('dot','Placeholder for .','text','[dot]'); } function getEventList() { return array('PreItem', 'PreComment'); } function Treatment($_text) { global $CONF, $blog; if ($this->getOption('NewWindow') == 'yes') { $nw="onclick=\"javascript:window.open(this.href, '_blank'); return false;\""; } if ($this->getOption('InternetAddress') == 'yes') { $_text = preg_replace('/(\s)([http|https|ftp|file]+:\/\/[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text); $_text = preg_replace('/(\s)(www\.[a-zA-Z0-9_?=&%;+-.\/]*)/si','\1\2',$_text); } $at = $this->getOption('at'); $dot = $this->getOption('dot'); if ($this->getOption('MailAddress') == 'yes') { if ($this->getOption('RewriteMailAddress') == 'no') { $_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+@[a-zA-Z0-9\._-]+\.[a-zA-Z]{2,5})/s','\1\2',$_text); } else { $_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text); } } if ($this->getOption('MailAddress') == 'no' && $this->getOption('RewriteMailAddress') == 'yes'){ $_text = preg_replace('/(\s)([a-zA-Z0-9\._-]+)@([a-zA-Z0-9\._-]+)\.([a-zA-Z]{2,5})/s','\1\2'.$at.'\3'.$dot.'\4',$_text); } return $_text; } function event_PreItem($_data) { $_data[item]->body = $this->Treatment($_data[item]->body); $_data[item]->more = $this->Treatment($_data[item]->more); } function event_PreComment($_data) { $_data['comment']['body'] = $this->Treatment($_data['comment']['body']); } function supportsFeature ($what) { switch ($what) { case 'SqlTablePrefix': return 1; default: return 0; } } } ?>06 August
Green chemistry - Biodiesel made with sugar catalyst
Vor einigen Wochen kam diese Meldung mal so durch die Ticker gelaufen:"The production of diesel from vegetable oil calls for an efficient solid catalyst to make the process fully ecologically friendly. Here we describe the preparation of such a catalyst from common, inexpensive sugars. This high-performance catalyst, which consists of stable sulphonated amorphous carbon, is recyclable and its activity markedly exceeds that of other solid acid catalysts tested for 'biodiesel' production."
Green chemistryBiodiesel made with sugar catalyst : Nature
Vor einigen Tagen nun wurde stolz verkündet, dass Brandenburg in Deutschland führend in der Herstellung von Biodiesel sei - kein Wunder, wenn man die allgegenwärtig gelben Felder im Frühjahr so betrachtet.
Stellt sich nun die Frage, ob diese cleveren Japaner das Verfahren schon ein wenig an mittlere bis große Produktion angepasst haben. Es hört sich jedenfalls gut genug an, um ein paar Leute zu begeistern und das mal in einer Referenzimplementation auf zu bauen.
Der Steuervorteil von Biodiesel wird zwar in den nächsten Jahren garantiert fallen (die Finanzämter sind zu gierig um da noch länger abseits zu stehen - und Mineralölsteuer heißt ja schon länger Kraftstoffsteuer), aber vielleicht ist diese neuere Produktionsvariante ja doch billig genug um auch ohne die Zurückhaltung staatlicher Raffgier wirtschaftlich bestehen zu können.
[Druckversion direkt zum Drucker senden]
Geschrieben von harko um 14:48:35 Uhr - Kategorie: Technik
Karma: 54 [+/-]
Trackback
Derzeit keine Trackbacks vorhanden.
Mit dieser TrackBack url kann der Beitrag verlinkt werden (right-click, copy link target).
Wenn Ihr Blog keine Trackbacks anbietet, kann Ihr Trackback manuell durch dieses Formular eingebaut werden .
Comments
mySQL error with query SELECT c.citem as itemid, c.cnumber as commentid, c.cbody as body, c.cuser as user, c.cmail as userid, c.cemail as email, c.cmember as memberid, c.ctime, c.chost as host, c.cip as ip, c.cblog as blogid FROM entheogenenucleus_comment as c WHERE c.citem=159 ORDER BY c.ctime: Table './blog/entheogenenucleus_comment' is marked as crashed and last (automatic?) repair failedmySQL error with query SELECT count(*) AS result FROM entheogenenucleus_comment as c WHERE c.citem=159 ORDER BY c.ctime: Table './blog/entheogenenucleus_comment' is marked as crashed and last (automatic?) repair failed
Noch keine Kommentare vorhanden.
Add Comments

