<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7282198428377572520</id><updated>2012-01-19T13:30:05.436+01:00</updated><category term='linux'/><category term='xml'/><category term='kohana excel export module'/><category term='SQL'/><category term='php'/><category term='kohana xslt'/><category term='port forwarding'/><category term='usa'/><category term='xslt'/><category term='kohana form rules module'/><category term='postgreSQL'/><category term='eu'/><category term='nat'/><category term='obama'/><category term='copyright'/><category term='kohana xml module'/><category term='form validation'/><category term='ACTA'/><category term='excel export'/><category term='ubuntu'/><category term='iptables'/><category term='postgre'/><category term='database'/><category term='kohana module'/><category term='kohana'/><title type='text'>Lillem4n thoughts</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://lillem4n.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://lillem4n.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Lillem4n</name><uri>http://www.blogger.com/profile/03589529370659733576</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7282198428377572520.post-8894157838924929525</id><published>2010-01-10T18:22:00.008+01:00</published><updated>2010-06-13T23:08:48.826+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kohana xslt'/><category scheme='http://www.blogger.com/atom/ns#' term='kohana'/><category scheme='http://www.blogger.com/atom/ns#' term='kohana xml module'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='kohana module'/><category scheme='http://www.blogger.com/atom/ns#' term='xslt'/><title type='text'>How to use the XML helper with XSLT</title><content type='html'>&lt;b&gt;Important!&lt;/b&gt; All Kohana-related posts are now at &lt;a href="http://kohana.lillem4n.se"&gt;http://kohana.lillem4n.se&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;A friend of mine needed to use the &lt;a href="http://lillem4n.blogspot.com/2009/10/kohana-xml-helper-module.html"&gt;Kohana XML-module&lt;/a&gt; to create XML with a XSLT-stylesheet attatched to it. This is a quick example of how you could do that. There are several other ways, but this is pretty straight forward.&lt;br /&gt;&lt;br /&gt;The following code should be placed inside a controller method:&lt;br /&gt;&lt;br /&gt;// First we need a DOM document do begin with&lt;br /&gt;$dom = new DomDocument('1.0', 'UTF-8');&lt;br /&gt;&lt;br /&gt;// Format the output so we can read it more easily&lt;br /&gt;$dom-&gt;formatOutput = true;&lt;br /&gt;&lt;br /&gt;// This sets the used XSL stylesheet to "example.xsl"&lt;br /&gt;$dom-&gt;appendChild($dom-&gt;createProcessingInstruction('xml-stylesheet', 'type="text/xsl" href="example.xsl"'));&lt;br /&gt;&lt;br /&gt;// We need a root node in the XML&lt;br /&gt;$xml_root = $dom-&gt;appendChild($dom-&gt;createElement('root'));&lt;br /&gt;&lt;br /&gt;// This is the big XML data... database queries and other nice data should be in here&lt;br /&gt;// Right now there is only a tiny bit of foo-node and bar-content&lt;br /&gt;$someXmlContent = array('foo' =&gt; 'bar');&lt;br /&gt;&lt;br /&gt;// Put the $someXmlContent inside the root-node&lt;br /&gt;xml::toXML($someXmlContent, $xml_root);&lt;br /&gt;&lt;br /&gt;// Write to screen&lt;br /&gt;echo $dom-&gt;saveXML();&lt;br /&gt;&lt;br /&gt;/** Produces&lt;br /&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;br /&gt;&amp;lt;?xml-stylesheet type="text/xsl" href="example.xsl"?&amp;gt;&lt;br /&gt;&amp;lt;root&amp;gt;&lt;br /&gt;&amp;lt;foo&amp;gt;bar&amp;lt;/foo&amp;gt;&lt;br /&gt;&amp;lt;/root&amp;gt;&lt;br /&gt;*/&lt;br /&gt;&lt;br /&gt;// End of PHP code&lt;br /&gt;&lt;br /&gt;Hashes: #kohana xslt #xslt #kohana xml module #kohana module #kohana #xml #php&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7282198428377572520-8894157838924929525?l=lillem4n.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lillem4n.blogspot.com/feeds/8894157838924929525/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lillem4n.blogspot.com/2010/01/how-to-use-xml-helper-with-xslt.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/8894157838924929525'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/8894157838924929525'/><link rel='alternate' type='text/html' href='http://lillem4n.blogspot.com/2010/01/how-to-use-xml-helper-with-xslt.html' title='How to use the XML helper with XSLT'/><author><name>Lillem4n</name><uri>http://www.blogger.com/profile/03589529370659733576</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7282198428377572520.post-4874241617442563063</id><published>2010-01-06T21:57:00.006+01:00</published><updated>2010-06-13T23:08:36.659+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kohana'/><category scheme='http://www.blogger.com/atom/ns#' term='kohana form rules module'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='kohana module'/><category scheme='http://www.blogger.com/atom/ns#' term='form validation'/><title type='text'>New form rules</title><content type='html'>&lt;b&gt;Important!&lt;/b&gt; All Kohana-related posts are now at &lt;a href="http://kohana.lillem4n.se"&gt;http://kohana.lillem4n.se&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The module &lt;a href="http://lillem4n.no-ip.org/files/formrules-0.3.tar.gz"&gt;formrules&lt;/a&gt; is updated with two new methods: futureTimeStamp() and pastTimeStamp().&lt;br /&gt;&lt;br /&gt;This can simply be passed in a form validation to check a string for both validation to strtotime() and so it is either in the future or in the past. Example:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;$post-&gt;add_rules('someFormField', 'formrules::futureTimeStamp')&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This is an update to &lt;a href="http://lillem4n.blogspot.com/2009/11/kohana-extended-form-rules.html"&gt;this post&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Hashes: #kohana form rules module #kohana module #kohana #form validation #php&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7282198428377572520-4874241617442563063?l=lillem4n.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lillem4n.blogspot.com/feeds/4874241617442563063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lillem4n.blogspot.com/2010/01/new-form-rules.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/4874241617442563063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/4874241617442563063'/><link rel='alternate' type='text/html' href='http://lillem4n.blogspot.com/2010/01/new-form-rules.html' title='New form rules'/><author><name>Lillem4n</name><uri>http://www.blogger.com/profile/03589529370659733576</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7282198428377572520.post-4912919408005500522</id><published>2009-11-04T13:35:00.002+01:00</published><updated>2009-11-04T13:37:16.205+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='usa'/><category scheme='http://www.blogger.com/atom/ns#' term='obama'/><category scheme='http://www.blogger.com/atom/ns#' term='copyright'/><category scheme='http://www.blogger.com/atom/ns#' term='eu'/><category scheme='http://www.blogger.com/atom/ns#' term='ACTA'/><title type='text'>Obama and ACTA</title><content type='html'>This is so important, its found a place even in this blog:&lt;br /&gt;http://www.boingboing.net/2009/11/03/secret-copyright-tre.html&lt;br /&gt;&lt;br /&gt;Hashes: #ACTA #obama #copyright #usa #eu&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7282198428377572520-4912919408005500522?l=lillem4n.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lillem4n.blogspot.com/feeds/4912919408005500522/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lillem4n.blogspot.com/2009/11/this-is-so-important-its-found-place.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/4912919408005500522'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/4912919408005500522'/><link rel='alternate' type='text/html' href='http://lillem4n.blogspot.com/2009/11/this-is-so-important-its-found-place.html' title='Obama and ACTA'/><author><name>Lillem4n</name><uri>http://www.blogger.com/profile/03589529370659733576</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7282198428377572520.post-1765710727574524567</id><published>2009-11-03T15:03:00.006+01:00</published><updated>2009-11-03T15:25:26.042+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kohana'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><title type='text'>Kohana modules hack</title><content type='html'>When adding modules to &lt;a href="http://www.kohanaphp.com"&gt;kohana&lt;/a&gt;, most oftenly you need to add that module to the config file to have it loaded. Now I find this mostly an unnecessary hassle. (Its useful when sharing module path between applications, though).&lt;br /&gt;&lt;br /&gt;However, just comment out the module settings, replacing it with this code snippet:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;$config['modules'] = array();&lt;br /&gt;foreach (scandir(MODPATH) as $folder) {&lt;br /&gt;  if ($folder != '.' &amp;&amp; $folder != '..') {&lt;br /&gt;    $config['modules'][] = MODPATH . $folder;&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;That'll load all your modules automatically. :)&lt;br /&gt;&lt;br /&gt;Hashes: #kohana #php&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7282198428377572520-1765710727574524567?l=lillem4n.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lillem4n.blogspot.com/feeds/1765710727574524567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lillem4n.blogspot.com/2009/11/kohana-modules-hack.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/1765710727574524567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/1765710727574524567'/><link rel='alternate' type='text/html' href='http://lillem4n.blogspot.com/2009/11/kohana-modules-hack.html' title='Kohana modules hack'/><author><name>Lillem4n</name><uri>http://www.blogger.com/profile/03589529370659733576</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7282198428377572520.post-4207083755825938135</id><published>2009-11-03T13:44:00.008+01:00</published><updated>2010-06-13T23:08:24.002+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kohana excel export module'/><category scheme='http://www.blogger.com/atom/ns#' term='kohana'/><category scheme='http://www.blogger.com/atom/ns#' term='excel export'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='kohana module'/><title type='text'>Excel export module</title><content type='html'>&lt;b&gt;Important!&lt;/b&gt; All Kohana-related posts are now at &lt;a href="http://kohana.lillem4n.se"&gt;http://kohana.lillem4n.se&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lillem4n.no-ip.org/files/excel_export-0.1.tar.gz"&gt;This is a excel export module&lt;/a&gt; to &lt;a href="http://www.kohanaphp.com"&gt;Kohana&lt;/a&gt;. Simpel use like this:&lt;br /&gt;&lt;pre&gt;$excelExport = new Excel_export();&lt;br /&gt;$excelExport-&gt;addRow(array('first row, first column','first row, second column'));&lt;br /&gt;$excelExport-&gt;addRow(array('second row, first column','second row, second column'));&lt;br /&gt;$excelExport-&gt;download('myExcelFile.xls');&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Full documentation of all available methods and parameters are in the module library source.&lt;br /&gt;&lt;br /&gt;Bug reports, comments, improvements; very welcome. :)&lt;br /&gt;&lt;br /&gt;Hashes: #kohana excel export module #kohana module #kohana #excel export #php&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7282198428377572520-4207083755825938135?l=lillem4n.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lillem4n.blogspot.com/feeds/4207083755825938135/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lillem4n.blogspot.com/2009/11/excel-export-module.html#comment-form' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/4207083755825938135'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/4207083755825938135'/><link rel='alternate' type='text/html' href='http://lillem4n.blogspot.com/2009/11/excel-export-module.html' title='Excel export module'/><author><name>Lillem4n</name><uri>http://www.blogger.com/profile/03589529370659733576</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7282198428377572520.post-894683541428047259</id><published>2009-11-01T00:53:00.010+01:00</published><updated>2010-06-13T23:08:14.607+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kohana'/><category scheme='http://www.blogger.com/atom/ns#' term='kohana form rules module'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='kohana module'/><category scheme='http://www.blogger.com/atom/ns#' term='form validation'/><title type='text'>Kohana extended form rules</title><content type='html'>&lt;b&gt;Important!&lt;/b&gt; All Kohana-related posts are now at &lt;a href="http://kohana.lillem4n.se"&gt;http://kohana.lillem4n.se&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;New version available &lt;a href="http://lillem4n.no-ip.org/files/formrules-0.3.tar.gz"&gt;here&lt;/a&gt;, a post about this issue is located &lt;a href="http://lillem4n.blogspot.com/2009/11/kohana-extended-form-rules.html"&gt;here&lt;/a&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lillem4n.no-ip.org/files/formrules-0.2.tar.gz"&gt;This is a module&lt;/a&gt; with rules you'd like when validating forms in &lt;a href="http://www.kohanaphp.com"&gt;kohana&lt;/a&gt;. It is the same concept as the &lt;a href="http://docs.kohanaphp.com/libraries/validation#adding_rules_required"&gt;valid::-rules&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;For example:&lt;br /&gt;&lt;pre&gt;$post-&gt;add_rules('some_field', 'required', 'digit', 'formrules::positive');&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;This will require "some_field" to be a digit (whole number) above zero.&lt;br /&gt;&lt;br /&gt;For now, positive is actually the only rule in this module. So it is more like the foundation of a module. :) More rules will follow.&lt;br /&gt;&lt;br /&gt;Hashes: #kohana form rules module #kohana module #kohana #form validation #php&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7282198428377572520-894683541428047259?l=lillem4n.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lillem4n.blogspot.com/feeds/894683541428047259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lillem4n.blogspot.com/2009/11/kohana-extended-form-rules.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/894683541428047259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/894683541428047259'/><link rel='alternate' type='text/html' href='http://lillem4n.blogspot.com/2009/11/kohana-extended-form-rules.html' title='Kohana extended form rules'/><author><name>Lillem4n</name><uri>http://www.blogger.com/profile/03589529370659733576</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7282198428377572520.post-4261181164367276757</id><published>2009-10-17T20:55:00.012+02:00</published><updated>2010-06-13T23:07:30.823+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='kohana'/><category scheme='http://www.blogger.com/atom/ns#' term='kohana xml module'/><category scheme='http://www.blogger.com/atom/ns#' term='xml'/><category scheme='http://www.blogger.com/atom/ns#' term='php'/><category scheme='http://www.blogger.com/atom/ns#' term='kohana module'/><title type='text'>Kohana XML helper module</title><content type='html'>&lt;b&gt;Important!&lt;/b&gt; All Kohana-related posts are now at &lt;a href="http://kohana.lillem4n.se"&gt;http://kohana.lillem4n.se&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://lillem4n.no-ip.org/files/xml.tar.gz"&gt;This module&lt;/a&gt; is actually just a helper (for now, at least). But it is very handy when working with converting various data to XML in PHP. A few examples:&lt;br /&gt;&lt;br /&gt;Simple example of the two different return values.&lt;br /&gt;As DOMDocument:&lt;br /&gt;&lt;pre&gt;&amp;lt;?php&lt;br /&gt;$doc = xml::toXML(array('root'=&gt;array('fnupp'=&gt;'dah')));&lt;br /&gt;$doc-&gt;formatOutput = true;&lt;br /&gt;&lt;br /&gt;echo $doc-&gt;saveXML();&lt;br /&gt;?&gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;As DOMNode:&lt;br /&gt;&lt;pre&gt;&amp;lt;?php&lt;br /&gt;$doc = new DOMDocument();&lt;br /&gt;$container = $doc-&gt;appendChild($doc-&gt;createElement('root'));&lt;br /&gt;&lt;br /&gt;xml::toXML(array('fnupp'=&gt;'dah'), $container);&lt;br /&gt;&lt;br /&gt;echo $doc-&gt;saveXML();&lt;br /&gt;?&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;How the $container works:&lt;br /&gt;&lt;pre&gt;xml::toXML(array('fnupp' =&gt; 'dah'))&lt;/pre&gt;&lt;br /&gt;will output:&lt;br /&gt;&lt;pre&gt;&amp;lt;fnupp&amp;gt;dah&amp;lt;/fnupp&amp;gt;&lt;br /&gt;&lt;br /&gt;xml::toXML(array('fnupp' =&gt; 'dah'), 'root')&lt;/pre&gt;&lt;br /&gt;will output:&lt;br /&gt;&lt;pre&gt;&amp;lt;root&amp;gt;&lt;br /&gt;&amp;lt;fnupp&amp;gt;dah&amp;lt;/fnupp&amp;gt;&lt;br /&gt;&amp;lt;/root&amp;gt;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;That was just a few examples, full documentation is within the &lt;a href="http://lillem4n.no-ip.org/files/xml.tar.gz"&gt;helper PHP-file&lt;/a&gt;. That includes passing SQL and getting it back as XML directly, working with attributes etc.&lt;br /&gt;&lt;br /&gt;All feedback is very welcome!&lt;br /&gt;&lt;br /&gt;Hashes: #kohana xml module #kohana module #kohana #xml #php&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7282198428377572520-4261181164367276757?l=lillem4n.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lillem4n.blogspot.com/feeds/4261181164367276757/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lillem4n.blogspot.com/2009/10/kohana-xml-helper-module.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/4261181164367276757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/4261181164367276757'/><link rel='alternate' type='text/html' href='http://lillem4n.blogspot.com/2009/10/kohana-xml-helper-module.html' title='Kohana XML helper module'/><author><name>Lillem4n</name><uri>http://www.blogger.com/profile/03589529370659733576</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7282198428377572520.post-207782523774143618</id><published>2009-10-12T23:10:00.004+02:00</published><updated>2009-10-13T22:40:10.967+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='postgre'/><category scheme='http://www.blogger.com/atom/ns#' term='postgreSQL'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='database'/><title type='text'>postgreSQL crash course</title><content type='html'>As I was searching for a INNER JOIN problem in postgreSQL, I ran across this must awsome guide. With examples and all. Easy to overview. Starting from a very basic level, increasing to very in depth knowledge of postgres inner workings.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.commandprompt.com/ppbook/x5802"&gt;http://www.commandprompt.com/ppbook/x5802&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hashes: #postgreSQL #database #postgre #SQL&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7282198428377572520-207782523774143618?l=lillem4n.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lillem4n.blogspot.com/feeds/207782523774143618/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lillem4n.blogspot.com/2009/10/postgresql-crash-course.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/207782523774143618'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/207782523774143618'/><link rel='alternate' type='text/html' href='http://lillem4n.blogspot.com/2009/10/postgresql-crash-course.html' title='postgreSQL crash course'/><author><name>Lillem4n</name><uri>http://www.blogger.com/profile/03589529370659733576</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7282198428377572520.post-8592199964392844855</id><published>2009-10-12T12:49:00.004+02:00</published><updated>2009-10-13T22:40:40.236+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='nat'/><category scheme='http://www.blogger.com/atom/ns#' term='linux'/><category scheme='http://www.blogger.com/atom/ns#' term='port forwarding'/><category scheme='http://www.blogger.com/atom/ns#' term='iptables'/><category scheme='http://www.blogger.com/atom/ns#' term='ubuntu'/><title type='text'>Port Forwarding in Ubuntu with iptables</title><content type='html'>Assuming your &lt;a href="http://www.ubuntu.com"&gt;ubuntu&lt;/a&gt; box already have &lt;a href="http://en.wikipedia.org/wiki/Network_address_translation"&gt;NAT&lt;/a&gt; up and running, and you wish to connect directly to the internet from a machine behind your Router (Ubuntu, GNU/Linux-box).&lt;br /&gt;&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); background-color: rgb(200, 200, 200);"&gt;iptables -A PREROUTING -t nat -i ##incomming interface## -p tcp --dport ##incomming port## -j DNAT --to ##destination IP##:##destination port##&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;For example:&lt;br /&gt;&lt;span style="color: rgb(0, 0, 0); background-color: rgb(200, 200, 200);"&gt;iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 8080 -j DNAT --to 10.1.249.250:80&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When I wanted to access a web server behind my Ubuntu NAT-router in my home. Now I can surf to #mydomain#:8080 to access that internal web server at port 80.&lt;br /&gt;&lt;br /&gt;Hashes: #linux #ubuntu #nat #port forwarding #iptables&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/7282198428377572520-8592199964392844855?l=lillem4n.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://lillem4n.blogspot.com/feeds/8592199964392844855/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://lillem4n.blogspot.com/2009/10/port-forwarding-in-ubuntu-with-iptables.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/8592199964392844855'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7282198428377572520/posts/default/8592199964392844855'/><link rel='alternate' type='text/html' href='http://lillem4n.blogspot.com/2009/10/port-forwarding-in-ubuntu-with-iptables.html' title='Port Forwarding in Ubuntu with iptables'/><author><name>Lillem4n</name><uri>http://www.blogger.com/profile/03589529370659733576</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
