<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	>
<channel>
	<title>Comments on: a bit more work on kfm, and thoughts on file tagging</title>
	<atom:link href="http://verens.com/archives/2006/05/29/a-bit-more-work-on-kfm-and-thoughts-on-file-tagging/feed/" rel="self" type="application/rss+xml" />
	<link>http://verens.com/archives/2006/05/29/a-bit-more-work-on-kfm-and-thoughts-on-file-tagging/</link>
	<description>php, linux, ajax, javascript, kae verens</description>
	<pubDate>Tue, 06 Jan 2009 22:49:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kae Verens</title>
		<link>http://verens.com/archives/2006/05/29/a-bit-more-work-on-kfm-and-thoughts-on-file-tagging/comment-page-1/#comment-9939</link>
		<dc:creator>Kae Verens</dc:creator>
		<pubDate>Fri, 02 Jun 2006 11:49:59 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/05/29/a-bit-more-work-on-kfm-and-thoughts-on-file-tagging/#comment-9939</guid>
		<description>Janich, that will certainly be possible. I am working on this mainly for my own company's CMS, which uses databases a lot. I will be writing customisable "hooks" into the PHP, where you can assign functions to handle various things (to check whether a file is allowed to be uploaded at a certain location, to give notice to a database that a file has been moved/renamed, etc).

I'll write up some examples once I have the hooks built.</description>
		<content:encoded><![CDATA[<p>Janich, that will certainly be possible. I am working on this mainly for my own company&#8217;s CMS, which uses databases a lot. I will be writing customisable &#8220;hooks&#8221; into the PHP, where you can assign functions to handle various things (to check whether a file is allowed to be uploaded at a certain location, to give notice to a database that a file has been moved/renamed, etc).</p>
<p>I&#8217;ll write up some examples once I have the hooks built.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Janich</title>
		<link>http://verens.com/archives/2006/05/29/a-bit-more-work-on-kfm-and-thoughts-on-file-tagging/comment-page-1/#comment-9933</link>
		<dc:creator>Janich</dc:creator>
		<pubDate>Fri, 02 Jun 2006 10:40:09 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/05/29/a-bit-more-work-on-kfm-and-thoughts-on-file-tagging/#comment-9933</guid>
		<description>Hi.
I like your ideas and have a suggestion..

Since I like files for storing data, Ive always combined it with a database to hold info since it is much easier to administer. Would a thing like this be possible ? Im thinking of something like a configuration option that states some sql queries that can be modified..

Anyway. Good luck with the editor in the first place, I'd just give my 2c ;)</description>
		<content:encoded><![CDATA[<p>Hi.<br />
I like your ideas and have a suggestion..</p>
<p>Since I like files for storing data, Ive always combined it with a database to hold info since it is much easier to administer. Would a thing like this be possible ? Im thinking of something like a configuration option that states some sql queries that can be modified..</p>
<p>Anyway. Good luck with the editor in the first place, I&#8217;d just give my 2c <img src='http://verens.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markku Uttula</title>
		<link>http://verens.com/archives/2006/05/29/a-bit-more-work-on-kfm-and-thoughts-on-file-tagging/comment-page-1/#comment-7835</link>
		<dc:creator>Markku Uttula</dc:creator>
		<pubDate>Mon, 29 May 2006 23:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/05/29/a-bit-more-work-on-kfm-and-thoughts-on-file-tagging/#comment-7835</guid>
		<description>I put the class-file and an example of using it on my website at http://www.disconova.com/open_source/index.html#example004</description>
		<content:encoded><![CDATA[<p>I put the class-file and an example of using it on my website at <a href="http://www.disconova.com/open_source/index.html#example004" rel="nofollow">http://www.disconova.com/open_source/index.html#example004</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markku Uttula</title>
		<link>http://verens.com/archives/2006/05/29/a-bit-more-work-on-kfm-and-thoughts-on-file-tagging/comment-page-1/#comment-7803</link>
		<dc:creator>Markku Uttula</dc:creator>
		<pubDate>Mon, 29 May 2006 22:57:51 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/05/29/a-bit-more-work-on-kfm-and-thoughts-on-file-tagging/#comment-7803</guid>
		<description>hmm... that didn't come out quite the way i thought it would :(</description>
		<content:encoded><![CDATA[<p>hmm&#8230; that didn&#8217;t come out quite the way i thought it would <img src='http://verens.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Markku Uttula</title>
		<link>http://verens.com/archives/2006/05/29/a-bit-more-work-on-kfm-and-thoughts-on-file-tagging/comment-page-1/#comment-7801</link>
		<dc:creator>Markku Uttula</dc:creator>
		<pubDate>Mon, 29 May 2006 22:57:19 +0000</pubDate>
		<guid isPermaLink="false">http://verens.com/archives/2006/05/29/a-bit-more-work-on-kfm-and-thoughts-on-file-tagging/#comment-7801</guid>
		<description>Would this help? It only reads ID3v1 tags, since ID3v2.x has some interesting problems, least of which ain't the fact that the tag can be located *anywhere* in the file (even though it *usually* is located in the beginning) ... anyway, HTH, all rights reversed :)

is_valid = true;
          $this-&#62;artist  = $this-&#62;strippad(substr($data, 3, 30));
          $this-&#62;title   = $this-&#62;strippad(substr($data, 33, 30));
          $this-&#62;album   = $this-&#62;strippad(substr($data, 63, 30));
          $this-&#62;year    = $this-&#62;strippad(substr($data, 93, 4));
          $this-&#62;comment = $this-&#62;strippad(substr($data, 97, 29));
          $this-&#62;track_byte = substr($data, 126, 1);
          $this-&#62;track_number = ord($this-&#62;track_byte);
          $this-&#62;genre_byte = substr($data, 127, 1);
          if (isset($GLOBALS["genres"][ord($this-&#62;genre_byte)])) {
            $this-&#62;genre_text = $GLOBALS["genres"][ord($this-&#62;genre_byte)];
          }
        }
      }
    }

    function strippad ($data) {
      return trim(strtr($data, chr(0), ' '));
    }
  }

?&#62;</description>
		<content:encoded><![CDATA[<p>Would this help? It only reads ID3v1 tags, since ID3v2.x has some interesting problems, least of which ain&#8217;t the fact that the tag can be located *anywhere* in the file (even though it *usually* is located in the beginning) &#8230; anyway, HTH, all rights reversed <img src='http://verens.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>is_valid = true;<br />
          $this-&gt;artist  = $this-&gt;strippad(substr($data, 3, 30));<br />
          $this-&gt;title   = $this-&gt;strippad(substr($data, 33, 30));<br />
          $this-&gt;album   = $this-&gt;strippad(substr($data, 63, 30));<br />
          $this-&gt;year    = $this-&gt;strippad(substr($data, 93, 4));<br />
          $this-&gt;comment = $this-&gt;strippad(substr($data, 97, 29));<br />
          $this-&gt;track_byte = substr($data, 126, 1);<br />
          $this-&gt;track_number = ord($this-&gt;track_byte);<br />
          $this-&gt;genre_byte = substr($data, 127, 1);<br />
          if (isset($GLOBALS["genres"][ord($this-&gt;genre_byte)])) {<br />
            $this-&gt;genre_text = $GLOBALS["genres"][ord($this-&gt;genre_byte)];<br />
          }<br />
        }<br />
      }<br />
    }</p>
<p>    function strippad ($data) {<br />
      return trim(strtr($data, chr(0), &#8216; &#8216;));<br />
    }<br />
  }</p>
<p>?&gt;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
