<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Relations &#187; Eds.  Notes</title>
	<atom:link href="http://relations.ka2.de/category/ed-notes/feed/" rel="self" type="application/rss+xml" />
	<link>http://relations.ka2.de</link>
	<description>Random Rants and Ramblings about Media and/or Technology</description>
	<lastBuildDate>Fri, 17 May 2013 06:42:55 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
	<atom:link rel='hub' href='http://relations.ka2.de/?pushpress=hub'/>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
	<atom:link rel="hub" href="http://superfeedr.com/hubbub" />
	<atom:link rel="hub" href="http://nuwzhub.appspot.com" />
			<item>
		<title>What (TF) have i been doing</title>
		<link>http://relations.ka2.de/2011/01/14/wha-have-i-been-doing/</link>
		<comments>http://relations.ka2.de/2011/01/14/wha-have-i-been-doing/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 07:53:30 +0000</pubDate>
		<dc:creator>gkamp</dc:creator>
				<category><![CDATA[Eds.  Notes]]></category>

		<guid isPermaLink="false">http://relations.ka2.de/?p=1812</guid>
		<description><![CDATA[Sorry for the long hiatus on this blog. So before i start blogging again (new years resolution), a short wrap-up about what i was doing in the meantime. Since August, i first had to prepare a couple of talks Georgi Kobilarov kindly asked me to give a presentation at the Web of Data Meetup Berlin [...]]]></description>
				<content:encoded><![CDATA[<p>Sorry for the long hiatus on this blog. So before i start blogging again (new years resolution), a short wrap-up about what i was doing in the meantime. Since August, i</p>
<ul>
<li>first had to prepare a couple of talks
<ul>
<li>Georgi Kobilarov kindly asked me to give a presentation at the <a href="http://blog.georgikobilarov.com/2010/08/data-journalism-meetup-berlin-september-1st-2010/" target="_blank">Web of Data Meetup Berlin</a></li>
<li>Then i was invited to give a talk at the<a href="http://www.ifra.net/wiki/9th-international-newsroom-summit" target="_blank"> IFRA Newsroom Summit</a> in London (right before Arthor Sulzberger Jr.&#8217;s speaking slot :-)</li>
</ul>
</li>
<li>then went for a two week holiday (Sardegna, &#8211; very nice),</li>
<li>had three weeks of
<ul>
<li>conferences  (<a href="http://www.scoopcamp.de/" target="_blank">Scoopcamp</a>, <a href="http://www.dpa-newslab.com/2010/09/06/scoopcamp-hackathon/" target="_blank">Scoopcamp Hackathon</a>),</li>
<li>fairs (<a href="http://www.ifraexpo.com/" target="_blank">IFRA Expo</a>),</li>
<li>meetings (<a href="http://www.minds-international.com/" target="_blank">MINDS International</a>) and</li>
<li>workshops (<a href="http://www.zv-online.de/inhalt/mseminar321_fr.htm" target="_blank">BDZV &#8211; Tablets für Blattmacher</a>) and</li>
</ul>
</li>
<li>did the preparation for next years budgeting.</li>
<li>did some more talks
<ul>
<li>an invited  dinner talk at the <a href="http://www.cassini.de">Cassini</a> Convention (a years end  customer event )</li>
<li>and a talk at the Innovation-Forum (a course in the brand news Masters study <a href="http://www.informatik.uni-hamburg.de/Info/Studium/MSc/ITMC/" target="_blank">IT-Management and Consulting</a>) at the CS department at the University of Hamburg</li>
</ul>
</li>
<li>and participated in the<a href="http://speedlab.tumblr.com/" target="_blank"> 1st Speedlab journalism </a>(as an expert on &#8220;The future of news&#8221; :-)</li>
</ul>
<p>All in addition to running several projects: mostly focused on digital publishing, but also on (Geo-)Metadata and other stuff. </p>
<p>In my spare time i continued renovating the house and started setting up my new desktop computer (The first desktop i bought in more than ten years). Actually it is no longer a desktop since i wall mounted it. For those interested: it&#8217;s quite a beast  (27&#8221; iMac, Core i7, 16GB RAM, SSD + 1 TB) that should povide the processing power for the experiments i want to run this year.</p>
<p>So all in all it was (and still is) a quite busy time.</p>
<p>I hope in the meantime you enjoyed my Google <a href="http://www.google.com/reader/public/atom/user%2F13826663647881592084%2Fstate%2Fcom.google%2Fbroadcast" target="_blank">shared item feed</a>, my delicious <a href="http://feeds.delicious.com/v2/rss/gkamp" target="_blank">bookmark feed</a> , and my <a href="http://twitter.com/statuses/user_timeline/12483902.rss&quot;" target="_blank">twitter feed </a></p>
<p>But now i&#8217;m back and intend to spent more time on blogging (and building  stuff) again. </p>
]]></content:encoded>
			<wfw:commentRss>http://relations.ka2.de/2011/01/14/wha-have-i-been-doing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgraded to 2.6</title>
		<link>http://relations.ka2.de/2008/07/15/upgraded-to-26/</link>
		<comments>http://relations.ka2.de/2008/07/15/upgraded-to-26/#comments</comments>
		<pubDate>Tue, 15 Jul 2008 07:02:58 +0000</pubDate>
		<dc:creator>gkamp</dc:creator>
				<category><![CDATA[Eds.  Notes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://relations.ka2.de/?p=607</guid>
		<description><![CDATA[After reading this i immediately upgraded to WordPress 2.6. The upgrade itself  seemingly was flawless. If you happen to find a bug, please tell me. BTW.: I switch to doing an svn export of the WP tag from the automattic repository followed by an internal rsync -avz. This reduces the upgrade time to a couple [...]]]></description>
				<content:encoded><![CDATA[<p>After reading <a href="http://technosailor.com/2008/07/14/wordpress-26-launching-tonight/" target="_blank">this </a>i immediately upgraded to WordPress 2.6. The upgrade itself  seemingly was flawless. If you happen to find a bug, please tell me.</p>
<p>BTW.: I switch to doing an svn export of the WP tag from the automattic repository followed by an internal rsync -avz. This reduces the upgrade time to a couple of seconds. Due to the layout of WP (mixing original files and  user adaptions in the same directory this also means that there is the chance of stale files at the rsync target directory, perhaps introducing potential security risks.</p>
<p>Wrt. 2.6  I&#8217;m especially interested in the revisions and the PressThis functionality as well as the image captions. Right now i&#8217;m sharing interesting blog posts in my  <a href="http://www.google.com/reader/shared/13826663647881592084?hl=en" target="_blank">google shared item feed.</a> I&#8217;m definitely not going to do a press this post for every blog post i&#8217;m sharing but try to find a middle ground. In preparation for this i added a new category &#8220;<a href="http://relations.ka2.de/category/fresh-from-the-press" target="_blank">Fresh from the press</a>&#8220;.</p>
<p>Initially i&#8217;m going to make the PressThis posts visible at the homepage but will eventually hide them from it, similar to the <a href="http://relations.ka2.de/category/daily-deli/" target="_blank">DailyDeli</a> posts. If don&#8217;t know about the DailyDeli posts. These are post that are automatically generated by delicious and cover all my daily bokmarking at delicious. BTW. my delicious account can be found <a href="http://del.icio.us/gkamp" target="_blank">http://del.icio.us/gkamp</a>.</p>
<p>In other news my apologies for not posting more often recently but i had to work on renovating the house and some other stuff i&#8217;m working on. Hopefully this will change soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://relations.ka2.de/2008/07/15/upgraded-to-26/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Going Places &#8211; Scopes and other locations</title>
		<link>http://relations.ka2.de/2008/06/02/going-places-scopes/</link>
		<comments>http://relations.ka2.de/2008/06/02/going-places-scopes/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 06:23:40 +0000</pubDate>
		<dc:creator>gkamp</dc:creator>
				<category><![CDATA[Eds.  Notes]]></category>
		<category><![CDATA[Noteworthy]]></category>
		<category><![CDATA[goingplaces]]></category>
		<category><![CDATA[locations]]></category>
		<category><![CDATA[maps]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[scopes]]></category>

		<guid isPermaLink="false">http://relations.ka2.de/?p=513</guid>
		<description><![CDATA[Rem: First i have to apologize that i didn&#8217;t write this post earlier. But i was busy getting phase 2: geocoding of places within the story out of the door an then i had some holiday, then went to Where2.0 and Wherecamp etc. But expect a number of articles tagged goingplaces this week. Earlier Parts [...]]]></description>
				<content:encoded><![CDATA[<p><em>Rem:</em> First i have to apologize that i didn&#8217;t write this post earlier. But i was busy getting phase 2: geocoding of places within the story out of the door an then i had some holiday, then went to Where2.0 and Wherecamp etc.</p>
<p>But expect a number of articles tagged goingplaces this week.</p>
<hr />Earlier Parts of this miniseries: <a href="http://relations.ka2.de/2008/01/21/going-places-1/" target="_blank">Part I: Adding geographic metadata to news at the source</a>, <a href="http://relations.ka2.de/2008/02/01/going-places-great-news/" target="_blank">Part II: Great news from Adrian Holovaty</a>, <a href="http://relations.ka2.de/2008/02/01/boing-places-early-experiments/" target="_blank">Part III: Early Experiments</a>, <a href="http://relations.ka2.de/2008/02/26/going-places-what-is-a-scope/" target="_blank">Part IV: Places in News stories vs. Places of News storie</a></p>
<hr />Before showing some examples how our the geocoded stories look like i&#8217;ll first introduce the current definitions of the various terms we use and the reasons why we use that definitions. This post particulary builds o top of my last post and you might read it <a href="http://relations.ka2.de/2008/02/26/going-places-what-is-a-scope/" target="_blank">first</a>.</p>
<p>Warning: This may be boring stuff for some of you and you might ask yourself why is this guy trying so hard to find kinda formal definitions.  Actually doing this it is fascinating stuff for me (couldn&#8217;t negligect help my former AI, ontology building life).</p>
<p>In addition i think it is absolutely essential to have an idea of  how and why you are adding geocodes to your content before you are going to do so. Especially when you are a professionnal news organization and reseller. So here we go:</p>
<h3>Geocoded News Stories</h3>
<p>The first thing to do is to somehow define what a geocoded news story is about. Please note that all following definitions do not attempt to fulfill all the criteria a mathematician has in mind when he hears the term definition but rather to create a comon understanding of what is meant, e.g. more like a glossary entry / dictionary entry.</p>
<dl>
<dt>A <strong>geocoded news story</strong></dt>
<dd>is a news stories that has at least one location attached as accompanying meta-data. Locations include <strong>locations of the news story</strong> as well as <strong>locations in the news story</strong>. </dd>
<dd>In case the story is a complex news story composed of a number of parts (e.g. multiple texts and / or multiple images, a multimedia news story consisting of text, image, video, audi, etc). the locations of the story as a whole is the (multi-)set of the parts of the story.</dd>
<p>The most important things to note is that a news story can have multiple locations and tehes locations can have different roles wrt. the story.</p>
<h3>Locations of news stories, Locations in news stories</h3>
<p>First a kinda formal distinction between locations of news stories and locations in  news stories:</p>
<dl>
<dt>A <strong>location of a (news) story</strong> </dt>
<dd>is a location assigned to the news story as a whole. This location is not necessarily mentioned in the story itself.</dd>
</dl>
<p>There are different types of locations of a news story, e.g. scope, locus and place of production (see below). Whereas scope and locus are generally <strong>geographic names</strong> (in our case mostly administrative divisions like states, counties, cities but also other geographic features that have a geographic name), a  place of production usually is more specific, e.g. an address.</p>
<dl>
<dt>A <strong>location (with)in a (news) story</strong></dt>
<dd> is a location directly or indirectly mentioned in the news story itself. </dd>
</dl>
<p>Most of the  locations in news stories do not fullfil the criteria of a geographic name (see below). They are most likely rather of thekind of business and private addresses, street segments, blocks, or points of interest. Not surprisingly, locations within news stories are  typically more specific than locations of news stories (in the sense of having a smaller geographic extent).</p>
<p>You might wonder why i added the indirectly mentioned in the definition. This is in order to take care of the fact that typically not  the location itself, but a business, a governmental institution name like a court etc. is mentioned in the story.  The actual locations, i.e. the addresses of the relevant  branches  / offices of a business are not part of the story and have often have to be inferred from the text of the story.</p>
<p>Actually, if you are writing the story you definitely know  what locations you mean. Unfortunately, today,this kind of meta-data is almost never attached to the story at the source. I&#8217;m currently working hard at work to</p>
<ul>
<li> raise the awareness within our and other news organization that this meta-data is important information and actually a USP</li>
<li>look for ways to include this kind of information into our legacy systems without  breaking them</li>
<li>building tools for enabling the writers to easily add the locations to their stories (e.g looking up addresses in interna and external directories etc.</li>
</ul>
<h3>Geographic Names</h3>
<p>As you can see from the above remarks the term geographic name is of special importance in this context, hence it should be defined. we use it  according to  the  definition of the U.S. Board on Geographic  Names (from <a href="http://geonames.usgs.gov/docs/pro_pol_pro.pdf" target="_blank">Principles, Policies, and Procedures for Domestic Geographic Names</a>)(emphasis by me):</p>
<dl>
<dt>A <strong>geographic name</strong></dt>
<dd>is a name applied to a geographic feature. It is the proper name, specific term, or expression by which a particular geographic entity is, or was, known. A geographic entity is <strong>any relatively permanent part of the natural or manmade landscape or seascape that has recognizable identity within a particular cultural context</strong>. A geographic name, then, may refer to any place, feature, or area on the Earth&#8217;s surface, or to a related group of similar places, features, or areas.</dd>
</dl>
<h3>Scopes</h3>
<p>As said above, locations of news stories can be of different types. There are at least the following types: <strong>scope</strong>, <strong>locus</strong> and <strong>place of production</strong>.  There are surely additional  types of places of news stories i don&#8217;t know about. The following are the current  definitions of Scope, Locus and Place of production we use. First the definition of scopes (Warning: this is going to be a long section)</p>
<dl>
<dt> A <strong>scope </strong>of a story </dt>
<dt>
</dt>
<dd> is a geographic name that is part of an (official administrative divisions) <strong>hierarchical partition of a defined geographic extent</strong>, representing a l<strong>argest area  wrt. the above hierarchy where this story is deemed relevant</strong> by an editor</dd>
</dl>
<p><em>Rem.:</em></p>
<p>A variant of scopes are <strong>legal scopes</strong>. These do not describe the area of relevancy but the geographic extent in which it legally allowed to use this content.  This is especially often  the case with images and other non-textual content.</p>
<p>The basic intention of scopes is to be able to describe a geographic extent  as unambigously as possible without actually describing the geometry, while in parallel using a terminology that is known to ordinary people.</p>
<p>Using scopes instead of the actual geometries frees on one hand our customers from having the need to have their own GIS infrastructure in place. Most often  the communicated identifiers are sufficient for enabling them to solve their needs. If they need real geographic inferences they are still able to buy the underlying data itself and /or use a webservice to retrieve the geometries.</p>
<p>On the other hand  using identifiers and not the geometries is often the only way to enable  to communicate geographic extents to our customers. At least in germany it is not possible or very expensive to buy the redistribution rights to the underlying geometries. It alo saves a lot of bandwidth.</p>
</dl>
<p>Please note that a news story can have<em> multiple scopes</em> and that <em>not all scopes have to be in the same hierarchy</em>. It is only required that every hierarchy in itself is a hierachical partition of a clearly defined geographical extent.</p>
<p>It is absolutely perfect to have one scope being contained in a hierarchy e.g. denoting the <em>administrative divisions</em> of germany as defined in the so called &#8220;Amtlicher Gemeinde Schlüssel (AGS)&#8221; (Bundesländer ~ states, Regierungsbezirk (no equivalent in the US), Kreis ~ county, Stadt/Gemeinde ~city/town/village) and another scope belonign to a second hierarchy denoting the adminstrative subdivisions of a certain city, e.g the boroughs and districts of Hamburg, the neigbourhoods of hamburg as defined by some company or community, the <em>zipcodes</em> of germany etc.</p>
<dl>I also think that being able to add metadata describing a geographic extent to which content is deemed relevant would benefit all kinds of content, ranging from tweets, (e.g. please notify only my friends in the City of San Franciso that i&#8217;m coming to town, because i&#8217;m only there for 2 hours, and other friends in California wouldn&#8217;t make it in time) to blog posts since they are basically news stories to wikipedia entries.</p>
<p>Another way of looking at scopes is as hints of what to expose at what zoom level on a map. For doing so you don&#8217;t need complex calculations. Adding some information/ access to the bounding box of the scope in order to be able to do so,</p>
<h3>Hierarchical partitions</h3>
</dl>
<p>Since my early experiences i don&#8217;t believe in grand unified theories / ontologies, that try to <strong>the</strong> model of a domain. I rather believe in sets of small, very domain specific ontologies. The notion of a hierarchical partition for a certain extent does originate from this belief. It encapsulates the partonomy relationships for localities of a coherent set of types.</p>
<p>From an engineering point of view the notion of a hierarchical partition also allows us to loosely couple the different hierarchies.</p>
<dl>So what is a hierarchical partition of a defined geographic extent? And why do we care?  To answer the second question first:</p>
</dl>
<ul>
<li>We have somehow to explain what we are doing to our customers (and ourselves)</li>
<li>If we happen to come up with a definition that has a nice set of properties we might be able to use algorithms that take advantage of these properties. The following shows that our understanding / definition of what a hierarchical partition is evolved over time.</li>
</ul>
<dl>I first interpreted hierachical partition in the pure mathematical sense, i.e.:</p>
<ul>
<li>for any given point in the plane within the defined geographic extent there is <strong>exactly one</strong> corresponding scope on <strong>each level</strong> of the hierarchy</li>
<li>for any given scope there is <strong>exactly one predecessor</strong> wrt. this hierarchy.</li>
</ul>
</dl>
<p>But looking at the administrative division of germany i recognized that this is actually not the case. and the first criterion has to be relaxed. This stems from the following facts.</p>
<ul>
<li>There are counties denoting cities (so called Stadtkreise) that are not  represented in the &#8220;city/town/&#8221; level of the AGS hierarchy. e-g there &#8220;holes&#8221; at this level. While this fact may be worked around by adding these counties into the city level of the hierarchy.</li>
<li>Some states do not have so called &#8220;Regierungsbezirke&#8221;, they eliminated this level at some time in the past. Hence there are also holes at this layer.</li>
</ul>
<p>The following changes of the rules would take care of these facts:</p>
<ul>
<li>for any given point in the plane within the defined geographic extent there is <strong>at least one</strong> corresponding scope in <strong>some</strong><strong> level</strong> of the hierarchy</li>
<li>for any given point in the plane within the defined geographic extent there is <strong>at most one</strong> corresponding scope <strong>on every level</strong> of the hierarchy</li>
<li>for any given scope there is <strong>exactly one predecessor</strong> wrt. this hierarchy.</li>
</ul>
<p>So i thought that this division was sufficient to cover also the adminsitrative subdivisision of other countries. But when validating this defintion against the administrative divisions of the United States i learned that  New York City is an aggregate of 5 counties of the state of New York , each county being coterminous  with a borough of New York City. Taking care of that and hopefully preparing ourselves of other &#8220;strange&#8221; cases we end up with the following definition of  a hierarchical partition:</p>
<dl>
<dt>A <strong>hierarchical partition </strong><em>p</em> of scopes of a geographic extent <em>e </em></dt>
<dd>is a <strong>directed acyclic graph</strong> (<a href="http://en.wikipedia.org/wiki/Directed_acyclic_graph">DAG</a>) with the following properties:</p>
<ol>
<li>There is a single source  <em>s_top</em> (the top level scope) with a geographic extent being <a href="http://en.wiktionary.org/wiki/conterminous">coterminous</a> with the geographic extent (using coterminous as having matching boundaries interpretation</li>
<li>every scope has a property denoting its level in the hierarchy with the top level scope having the level 1</li>
<li>for any given point  <em>p</em> in <em>e</em> there is <strong>at least one</strong> corresponding scope <em>s(point)</em> at some level in the DAG</li>
<li>for every scope  that has more than one successor the geographic extent of set of successors is coterminous with the geographic extent of this scope</li>
<li>for every scope that has more than one predecessor the geographic extent of set of predecessors is coterminous with the geographic extent of this scope</li>
</ol>
</dd>
</dl>
<p><em>Rem:</em></p>
<ul>
<li> This definition is definitely not perfect in it&#8217;s formulation but some of you might help me with improving it. It might also be better to start with a poset based definition and switch to a graph based  definitin when introducing additional relations, e.g. topological relations describing adjointness etc.</li>
<li> It might be helpful to distinguish between hierarchical partitions and leveled hierarchical partitions with the difference between two two is the fact if the scopes are assigned levels, or not.</li>
<li> Why is it important to have the level information you might ask? It is necessary in order to transcribe the semantics</li>
<li> In order to not lose the two stricter definitions the first one is defined as a <strong>strict partition hierarchy</strong>, whereas the second is a <strong>partition hierarchy</strong>.</li>
<li> I haven&#8217;t found the time to look deeper into this, but it looks like that it is likely that a (leveled) hierarchical partition already has been assigned a name somewhere in mathematics.  IIf someone out there happens to know where to look (computational geometry?) would love to know about it.</li>
<li> It also seems to be the case that if you add a an additional level with a single node <em>s_bottom</em> that is the successor of every leaf node in the hierachical partition, you get a lattice.  Maybe some of the lattice properties and knowledge /algorithms for lattices might prove helpful</li>
</ul>
<p>After this very extensive coverage of scopes  i just briefly introduce the current definitions of loci and places of production. This is mostly the case because  right now there are only some ideas  how a definition of these should look like.</p>
<dl>
<dt>A <strong>locus</strong> of a story</dt>
<dd>
<ul>
<li>is a geographic name contained in a set of geonames of a defined geographic extent,</li>
<li>representing the / a smallest area wrt. the above hierarchy where the events of this story are happening / have happened / are going to happen</li>
</ul>
</dd>
</dl>
<p><em>Rem.:</em><br />
Initially a locus was also defined a being part of a hierarchical partition. This gains the advantage to being  able to unambigously describe the locus withtin that hierachy (at least at each level). But while this is a property that is important  for scopes, in fact that is the main purpose of scopes,  being able to use names that are typically used e.g natural features like mountain ranges etc. is more important than being unambigous.</p>
<dl>
<dt> A <strong>place of production </strong>of a story </dt>
<dd>
<ul>
<li>is a location where the news story (or parts of it) were produced (e.g. written by the author, edited by the editor, &#8230;)</li>
<li>describing as exact as possible the geographic position of the production (e.g. using geographic coordinates, addresses, &#8230;)</li>
</ul>
</dd>
</dl>
<h3>Locations within  news stories</h3>
<p>A <strong>location (with)in a (news) story</strong> is a location directly or indirectly mentioned in the news story itself. These locations are typically not geographic names but rather addresses, street segments, blocks,  or POIs. Not surprisingly,  locations within news stories are typically more specific (in the sense of having a smaller geographic extent) than locations of news stories.</p>
<h3>What&#8217;s next?</h3>
<p>In the next post i&#8217;m sketching the current status and am finally giving you some examples.</p>
]]></content:encoded>
			<wfw:commentRss>http://relations.ka2.de/2008/06/02/going-places-scopes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgraded to WP2.5 &#8211; Lots of problems with plugins</title>
		<link>http://relations.ka2.de/2008/04/09/upgraded-to-wp25/</link>
		<comments>http://relations.ka2.de/2008/04/09/upgraded-to-wp25/#comments</comments>
		<pubDate>Wed, 09 Apr 2008 06:06:18 +0000</pubDate>
		<dc:creator>gkamp</dc:creator>
				<category><![CDATA[Eds.  Notes]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://relations.ka2.de/?p=555</guid>
		<description><![CDATA[As some of you have sure noticed, i upgraded to WP2.5 yesterday. While the upgrade of WordPress itself went relatively smooth. But then the problems started. After the upgrade i had a look at the homepage and there were no stories to see. I immediately suspected the plug-ins. After disabling all plug-ins the stories were [...]]]></description>
				<content:encoded><![CDATA[<p>As some of you have sure noticed, i upgraded to WP2.5 yesterday. While the upgrade of WordPress itself  went relatively smooth.</p>
<p>But  then the problems started.  After the upgrade i had a look at the homepage and there were no stories to see. I immediately suspected the plug-ins. After disabling all plug-ins the stories were there again, hence the suspicion was right.</p>
<p>I only installed and activated a few plug-ins:</p>
<dl>
<dt><a href="http://www.neato.co.nz/ultimate-tag-warrior/" target="_blank">Ultimate Tag Warrior</a></dt>
<dd> for tagging the posts,</dd>
<dt> <a href="http://unknowngenius.com/blog/wordpress/spam-karma/" target="_blank">Spam Karma</a></dt>
<dd> for catching spam, </dd>
<dt> <a href="http://www.laptoptips.ca/projects/tinymce-advanced/" target="_blank">TinyMCE advanced</a> </dt>
<dd>for enhanced editing</dd>
<dt>Ted Fox&#8217;s plugin for <a href="http://anime.tedfox.com/2007/others/change-thumbnail-creation-size-wordpress-plugin/" target="_blank"> </a></dt>
<dd><a href="http://anime.tedfox.com/2007/others/change-thumbnail-creation-size-wordpress-plugin/" target="_blank">changing the thumbnail size</a></dd>
<dt> the <a href="http://www.ryowebsite.com/?p=46" target="_blank">category visibility plugin</a> </dt>
<dd>for excluding the automated posts from del.icio.us from the frontpage and the feeds. </dd>
</dl>
<p>Since WP2.5 should include the functionality of of UTW and the changing the size i could do without them. But first i had to figure out how to convert the UTW Tags.  The respective Import  &gt; Ultimate Tag Warrior command did work seamlessly for importing the tags. Since i haven&#8217;t uploaded any images, i couldn&#8217;t check if the included WP2.5 functionality is equivalent to the plug-in functionality. We&#8217;ll see.</p>
<p>Unfortunately there is no officially approved Spam Karma 2  for WP2.5. But i hope that the version i&#8217;m using right now is continuing to work as effectively as it did, this blog could not live without it. And no Akismet is not considered an option, i like to have this blog self-hosted and not dependent on third-party services for mission critical parts. But i think it is fairly save to bet that there are no changes in WP2.5 that affect Spamm Karma 2.</p>
<p>That leaves the category visibility plugin and TinyMCE Advanced. I used the auto-upgrade option for TinyMCE Advanced (first time i&#8217;ve seen this). This lead to a state where i was simply not able save a post. Everytime i tried to save the post, i got the &#8220;Do you really want to leave this page, you&#8217;ll lose all your changes, ..&#8221; pop up alert. Since i&#8217;m not dependent on the added functionality of TinyMCE Advanced, i keep it deactivated for now and have a look into it later.</p>
<p>The category visibility plugin does not work with WP2.5, as the category and tag system has been changed . It was also the most likely suspect for the homepage not displaying any post.  I then looked for an upgraded version, and had to find out that the orginal author abandoned development,  and the patch for WP2.3 he linked from his site went out of business too.  Hence i had to leave it with all categories enabled on both  the frontpage and the feeds for the time being. I&#8217;m not sure if this bothered you or just reminded you that there is also a DailyDeli category :-). I finally found a <a href="http://www.ipeat.com/?page_id=91" target="_blank">version of that plugin that seems to work with WP2.5</a>. Hence the dailyDeli posts should be removed from the FrontPage and the feeds. If would like to have the DailyDeli posts included in the feeds please tell me.</p>
<p>All in all WP upgrades are IMHO too much hassle. This starts with the fact that i don&#8217;t understand why plugins and themes are located below wp-content and the whole structure of WP is not very upgrade friendly, Then there is no support for easily detecting which versions of the plugins are compatible with the new version etc.  Automattic  should definitely have a look at Typo3 how they handle this. For example, this is the layout of the typo3 root directory:</p>
<pre>-rw-r--r-- 1 p34755284 ftpusers    46 Sep  7  1999 clear.gif
drwxr-xr-x 8 p34755284 ftpusers    97 Nov 20  2005 fileadmin
-rw-r--r-- 1 p34755284 ftpusers   764 Apr 18  2003 index.html
lrwxrwxrwx 1 p34755284 ftpusers    18 Jan  7 01:36 index.php -&gt; tslib/index_ts.php
lrwxrwxrwx 1 p34755284 ftpusers    12 Jan  7 01:36 media -&gt; tslib/media/
lrwxrwxrwx 1 p34755284 ftpusers    17 Jan  7 01:36 showpic.php -&gt; tslib/showpic.php
lrwxrwxrwx 1 p34755284 ftpusers    16 Jan  7 01:36 t3lib -&gt; typo3_src/t3lib/
lrwxrwxrwx 1 p34755284 ftpusers    16 Jan  7 01:36 tslib -&gt; typo3_src/tslib/
lrwxrwxrwx 1 p34755284 ftpusers    16 Jan  7 01:36 typo3 -&gt; typo3_src/typo3/
lrwxrwxrwx 1 p34755284 ftpusers    32 Jan 25 08:20 typo3_src -&gt; ../../code/typo3/typo3_src-3.8.1
drwxr-xr-x 3 p34755284 ftpusers  4096 Aug 24  2007 typo3conf
drwxr-xr-x 6 p34755284 ftpusers 16384 Mar 12 14:34 typo3temp
drwxr-xr-x 8 p34755284 ftpusers  4096 Nov 20  2005 uploads</pre>
<p>What at first sight looks like an awful lot of  unnecessary symbolic links, is actually a clever scheme that allows to upgrade to a new version of Typo3 with pointing a single link: typo3_src to a different directory while keeping all the configuration data and extensions in cleanly separated in typo3conf and all the uploaded content also in separated containers, e.g. fileadmin</p>
<p><strong>Update:</strong></p>
<p>Looks a lot that the <a class="entry-title-link" href="http://feeds.downloadsquad.com/%7Er/weblogsinc/downloadsquad/%7E3/267036202/" target="_blank">WordPress Automatic Update plugin</a> would have saved me a lot of trouble. I just noticed that i forgot to include the Google Analytics tracking code after updating the themes for WP2.5</p>
<p>Is there a plugin for inserting the GA tracking code?</p>
]]></content:encoded>
			<wfw:commentRss>http://relations.ka2.de/2008/04/09/upgraded-to-wp25/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Going to Where2.0 / WhereCamp2008</title>
		<link>http://relations.ka2.de/2008/04/02/going-to-where20-wherecamp2008/</link>
		<comments>http://relations.ka2.de/2008/04/02/going-to-where20-wherecamp2008/#comments</comments>
		<pubDate>Wed, 02 Apr 2008 05:26:27 +0000</pubDate>
		<dc:creator>gkamp</dc:creator>
				<category><![CDATA[Eds.  Notes]]></category>

		<guid isPermaLink="false">http://relations.ka2.de/2008/04/02/going-to-where20-wherecamp2008/</guid>
		<description><![CDATA[This year i&#8217;m finally able to visit Where 2.0 and WhereCamp2008. I&#8217;m also planning to stay in Sf and the bay area in between the two conferences (May 15th and 16th). So anybody who has an interest in discussing the topics of this blog with me (or just having a beer together) is invited to [...]]]></description>
				<content:encoded><![CDATA[<p>This year i&#8217;m finally able to visit <a href="http://en.oreilly.com/where2008/public/content/home" target="_blank">Where 2.0</a> and <a href="http://wherecamp.pbwiki.com/WhereCamp2008">WhereCamp2008</a>. I&#8217;m also planning to stay in Sf and the bay area in between the two conferences (May 15th and 16th). So anybody who has an interest in discussing the topics of this blog with me  (or just having a beer together) is invited to send me a short note, either via a comment below or mail: relations (at) ka2 (dot) de.</p>
]]></content:encoded>
			<wfw:commentRss>http://relations.ka2.de/2008/04/02/going-to-where20-wherecamp2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eds. Notes &#8211; FancyZoom, tapping into my SharedItems archive</title>
		<link>http://relations.ka2.de/2008/02/27/eds-notes-fancyzoom-tapping-into-my-shareditems-archive/</link>
		<comments>http://relations.ka2.de/2008/02/27/eds-notes-fancyzoom-tapping-into-my-shareditems-archive/#comments</comments>
		<pubDate>Wed, 27 Feb 2008 08:21:23 +0000</pubDate>
		<dc:creator>gkamp</dc:creator>
				<category><![CDATA[Eds.  Notes]]></category>
		<category><![CDATA[shareditems]]></category>
		<category><![CDATA[web2.0]]></category>

		<guid isPermaLink="false">http://relations.ka2.de/2008/02/27/eds-notes-fancyzoom-tapping-into-my-shareditems-archive/</guid>
		<description><![CDATA[FancyZoom A couple of weeks ago i made a small change to the way full size images are displayed. I&#8217;m now using FancyZoom, an excellent opensource way of javascript-enabling / web2.0-ifying this process. Since it leaves the html code completely untouched it should work seamlessly with feed readers, and degrade gracefully on old browsers. If [...]]]></description>
				<content:encoded><![CDATA[<h2>FancyZoom</h2>
<p>A couple of weeks ago i made a small change to the way full size images are displayed. I&#8217;m now using <a href="http://www.cabel.name/draft1/2008/02/fancyzoom-10.html" target="_blank">FancyZoom</a>, an excellent opensource  way of javascript-enabling / web2.0-ifying this process. Since it leaves the html code completely untouched it should work seamlessly with feed readers, and degrade gracefully on old browsers. If you experience any problems, please tell me.</p>
<h2>Tapping into my shared items</h2>
<p>Some of you might have noticed that i make extensive use of the &#8220;Share item&#8221; feature of Google reader. I think of it as a service to the readers of this blog: An intelligent filter to the one-hundred smething feeds i&#8217;m reading.  To be exact (according to my Google reader trends page):</p>
<blockquote><p>From your <strong> 182  subscriptions</strong>, over the last 30 days <strong>you read  5,933  items</strong>, <strong>starred  0  items</strong>, <strong>shared  499  items</strong>, and <strong>emailed  0  items</strong>.</p></blockquote>
<p>With my last post i decided that it makes sense to tap into this ressource while writing posts. In some sense i already did this in some way for quite some time. I used the search feature of google reader (filtered on my shared items) to find the respective blog posts.</p>
<p class="entry-secondary">I now decided to include a select list of the entries returned by these searches as a &#8220;See also service&#8221;.  Please tell me if you consider this avaluable add on.right now i&#8217;m not sure if it makes sense to include the abstracts of the related posts. Please tell me.</p>
]]></content:encoded>
			<wfw:commentRss>http://relations.ka2.de/2008/02/27/eds-notes-fancyzoom-tapping-into-my-shareditems-archive/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Server upgrade</title>
		<link>http://relations.ka2.de/2008/01/15/server-upgrade/</link>
		<comments>http://relations.ka2.de/2008/01/15/server-upgrade/#comments</comments>
		<pubDate>Tue, 15 Jan 2008 06:35:11 +0000</pubDate>
		<dc:creator>gkamp</dc:creator>
				<category><![CDATA[Eds.  Notes]]></category>
		<category><![CDATA[1&1]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[upgrade]]></category>

		<guid isPermaLink="false">http://relations.ka2.de/2008/01/15/server-upgrade/</guid>
		<description><![CDATA[Since the 1 &#38; 1 server this domain is running on was already a bit aged (approx. 4 years old) and as a precaution for the things to come (at least the things i&#8217;m planning to do) I decided to do a server crossgrade to a 1 &#38; 1 Homepage Server L64 (Athlon 64&#215;2 3800+, [...]]]></description>
				<content:encoded><![CDATA[<p>Since the 1 &amp; 1 server this domain is running on was already a bit aged (approx. 4 years old) and as a precaution for the things to come (at least the things i&#8217;m planning to do) I decided to do a server crossgrade to a 1 &amp; 1 Homepage Server L64 (Athlon 64&#215;2 3800+, 2 x 2,0 GHz, 1 GB, 2 x 160 GB, Software-RAID). I suppose that this horsepower should be sufficient for the next few years, especially since i&#8217;m planning to use cloud computing facilities like S3, EC2 etc. in case i need really scalable web applications.</p>
<p>The process itself went smoother than anticipated. I ordered the cross-grade on Jan, 3rd. and was told that it would take approx. 5- 7 workdays.</p>
<p>Just to be sure first i did backup my MySQL-databases. There were some minor problems with the phpmyadmin supplied by 1&amp;1 not being able to backup the database of this blog. Presumably because it was too big (or taking too long) due to all the Spam-Entries in the database. I had to resort ssh and the commandline (actually a much nicer process ;-) I then did a backup of the dumped databases and the webspace to my local machines via rsync.</p>
<p>Expecting something like a mail announcing that the maschine will be switched in the next 24 hours, i waited. On Jan, 7th just by curiosity i logged into the machine and did a &#8220;less /proc/cpuinfo&#8221; and found that the machine was already upgraded.</p>
<p>I tested the different domains and apps and it looks that all are running smoothly. So if you find any glitches, contact me.</p>
]]></content:encoded>
			<wfw:commentRss>http://relations.ka2.de/2008/01/15/server-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iwPhone Theme installed</title>
		<link>http://relations.ka2.de/2007/11/16/iwphone-theme/</link>
		<comments>http://relations.ka2.de/2007/11/16/iwphone-theme/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 06:24:18 +0000</pubDate>
		<dc:creator>gkamp</dc:creator>
				<category><![CDATA[Eds.  Notes]]></category>
		<category><![CDATA[Quick 'n Dirty]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[itouch]]></category>

		<guid isPermaLink="false">http://relations.ka2.de/2007/11/16/iwphone-theme/</guid>
		<description><![CDATA[I just installed the iwPhone theme. Hence visitors accessing this blog with an iPhone or an iTouch, should have a different user experience. Right now I&#8217;m not satisfied with the look of the page. It neither a natural translation of the the veryplaintext theme i use, nor a good implementation of the iPhone human interface [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://relations.ka2.de/wp-content/uploads/2007/11/iwphone-2.png" title="iwphone-2.png"><img src="http://relations.ka2.de/wp-content/uploads/2007/11/iwphone-2.thumbnail.png" title="iwphone-2.png" alt="iwphone-2.png" align="left" /></a>I just installed the <a href="http://iwphone.contentrobot.com/" target="_blank">iwPhone</a> theme. Hence visitors accessing this blog with an iPhone or an iTouch, should have a different user experience.</p>
<p>Right now I&#8217;m not satisfied with the look of the page. It neither a natural translation of the the veryplaintext theme i use, nor a good  implementation of the  iPhone  human interface guideline. But it&#8217;s a starting point.</p>
<p>If anybody knows a better iPhone theme, i&#8217;d like to hear.</p>
<p>BTW.: Does anybody know it there is a way to autmatically t focus the page in a way that the addressbar is hidden? I find it a bit annoying (especially in landscape mode)</p>
]]></content:encoded>
			<wfw:commentRss>http://relations.ka2.de/2007/11/16/iwphone-theme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Eds. Note: DailyDeli Category banned from home page, Permalinks Enabled</title>
		<link>http://relations.ka2.de/2007/08/24/ed-note-dailydeli-category-banned-from-home-page/</link>
		<comments>http://relations.ka2.de/2007/08/24/ed-note-dailydeli-category-banned-from-home-page/#comments</comments>
		<pubDate>Fri, 24 Aug 2007 07:14:07 +0000</pubDate>
		<dc:creator>gkamp</dc:creator>
				<category><![CDATA[Eds.  Notes]]></category>

		<guid isPermaLink="false">http://relations.ka2.de/?p=299</guid>
		<description><![CDATA[For a couple of months i wanted to remove the DailyDeli Entries from the main index page. Although i and maybe also you deem them relevant for searching and &#8220;What I&#8217;m up to purposes&#8221; they just cluttered the index page. Doesn&#8217;t look nice if you have 10 DailyDeli posts followed by a &#8220;real&#8221; post. So [...]]]></description>
				<content:encoded><![CDATA[<p>For a couple of months i wanted to remove the DailyDeli Entries from the main index page. Although i and maybe also you deem them relevant for searching  and &#8220;What I&#8217;m up to purposes&#8221; they just cluttered the index page. Doesn&#8217;t look nice if you have 10 DailyDeli posts followed by a  &#8220;real&#8221; post.</p>
<p>So i finally settled on doing it. Fortunately there is already a plugin for that purpose called <a href="http://ryowebsite.com/wp-plugins/category-visibility/" title="CatVis" target="_blank">catvis</a>. Unfortunately  some people mention that it might cause problems with WP2.2+.  And indeed it does. After unchecking the box for showing the DailyDeli on the front page everything seemed fine at first, there where problems while displaying the single post pages.</p>
<p>The error message clearly showed that there where unbalanced parantheses in the generated SQL-Code. Easy to fix i thought. Hence i changed:<br />
<code><br />
elseif (is_single())  // add permalink check (eff beta 10, thanks to ruralmoon)<br />
$ret .= " AND (($cat_visibility.archives=1 AND $lc";<br />
</code><br />
into<br />
<code><br />
elseif (is_single())  // add permalink check (eff beta 10, thanks to ruralmoon)<br />
$ret .= "AND (($cat_visibility.archives='$checkval' AND $lc)";<br />
</code><br />
If you still find any erros, please report them and i may have a closer look at the plugin code. But since i&#8217;m not a PHP guide (and don&#8217;t want to become one, i try to avoid this.<br />
matching the code for some other cases. But then wordpress complained about the DB-table not being there.<br />
<code><br />
<strong>WordPress database error:</strong> [Unknown table 'wp_catt_visibility' in where clause]<br />
<code> SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND ID = 278 AND (post_type = 'post') AND ((wp_catt_visibility.archives='1' AND wp_catt_visibility.cv_user_level&lt;='10') OR post_type='page' OR wp_catt_visibility.catt_ID IS NULL) ORDER BY post_date DESC</code><br />
</code><br />
and<br />
<code><br />
<strong>WordPress database error:</strong> [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BY post_date ASC LIMIT 1' at line 1]<br />
<code>SELECT ID, post_title FROM wp_posts WHERE post_date &gt; '' AND post_type = 'post' AND post_status = 'publish' AND ID != ORDER BY post_date ASC LIMIT 1</code><br />
</code><br />
Whereas the DB-Table wp_catt_visibility is definitely defined in DB, the second error clearly exposes an error in the SQL-Code. Since i figured that i never would need the ability to hide a single post i just uncommented it ending up with:<br />
<code><br />
elseif (is_single())  // add permalink check (eff beta 10, thanks to ruralmoon)<br />
// GK: do nothing because of WP complaining about the statement below<br />
$ret .= "";<br />
//GK: fixed unbalanced parantheses<br />
//$ret .= "AND (($cat_visibility.archives='$checkval' AND $lc)";<br />
</code><br />
In related news, i also finally enabled permalinks (after checking that the old unrewritten links still work</p>
<p>If your still experience any problems with this site problems please report them to me. </p>
]]></content:encoded>
			<wfw:commentRss>http://relations.ka2.de/2007/08/24/ed-note-dailydeli-category-banned-from-home-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
