<?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/"
	xmlns:media="http://search.yahoo.com/mrss/">

<channel>
	<title>johannes.jarolim.com &#187; YAPB</title>
	<atom:link href="http://johannes.jarolim.com/blog/tag/yapb/feed/" rel="self" type="application/rss+xml" />
	<link>http://johannes.jarolim.com/blog</link>
	<description>Willkommen auf der privaten Homepage von Johannes Jarolim, Salzburg, Österreich / Welcome to the private homepage of Johannes Jarolim, Salzburg, Austria, Europe.</description>
	<lastBuildDate>Tue, 16 Apr 2013 15:06:05 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<atom:link rel="next" href="http://johannes.jarolim.com/blog/tag/yapb/feed/?page=2" />

		<item>
		<title>Your own photo mosaic page with WordPress and Yet Another Photoblog</title>
		<link>http://johannes.jarolim.com/blog/2008/07/24/your-own-photo-mosaic-page-with-wordpress-and-yapb/</link>
		<comments>http://johannes.jarolim.com/blog/2008/07/24/your-own-photo-mosaic-page-with-wordpress-and-yapb/#comments</comments>
		<pubDate>Thu, 24 Jul 2008 07:43:19 +0000</pubDate>
		<dc:creator>Johannes</dc:creator>
				<category><![CDATA[Know-How]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Yet Another Photoblog]]></category>
		<category><![CDATA[Know How]]></category>
		<category><![CDATA[Mosaic]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programmierung]]></category>
		<category><![CDATA[Templates]]></category>
		<category><![CDATA[YAPB]]></category>

		<guid isPermaLink="false">http://johannes.jarolim.com/blog/?p=352</guid>
		<description><![CDATA[You&#8217;re using YAPB, you want to create or use your own theme and now you&#8217;re stuck on how to create a mosaic page featuring all your photos? Thanks god &#8211; Here&#8217;s a post describing exactly that topic ;-) Basically, a mosaic page is a standard WP page using a custom page template. The job of [...]]]></description>
				<content:encoded><![CDATA[<p><strong>You&#8217;re using <a href="http://johannes.jarolim.com/yapb">YAPB</a>, you want to create or use your own theme and now you&#8217;re stuck on how to create a mosaic page featuring all your photos?</strong> Thanks god &#8211; Here&#8217;s a post describing exactly that topic ;-) <span id="more-352"></span> Basically, a mosaic page is a standard WP page using a custom page template. The job of the custom page template is to fetch all your YAPB images and to display them in some form. So: Let&#8217;s just do it:</p>
<h2>Create a page template file</h2>
<p>So let&#8217;s start with our new page template: Create a file named <strong>tpl.yapb.mosaic.php</strong> in your current theme folder.</p>
<h3>Throw in some WP Metadata</h3>
<p>As a first step we define a standard PHP comment at top with meta data so WordPress can identify this file as template:</p>
<pre>&lt;?php /* Template Name: YAPB Photo Mosaic Page (Prototype) */ ?&gt;</pre>
<h3>Create some infrastructure</h3>
<p>Now some default infrastructure for WP templates like calling the header, starting the WP loop, displaying the page title and content:</p>
<pre>&lt;?php
  get_header(); ?&gt;
  &lt;!-- Let's start the WordPress loop --&gt;
  &lt;?php if (have_posts()): while (have_posts()): the_post(); ?&gt;
    &lt;?php global $post; ?&gt;
    &lt;div class="post"&gt;
      &lt;h1&gt;&lt;a href="&lt;?php echo get_permalink() ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h1&gt;
      &lt;?php the_content('read more...'); ?&gt;</pre>
<h3>Define what you want</h3>
<p>To display the thumbnails of all our photos, we need to know what we want to fetch exactly. In my case, i assign each photoblog post to a special category &#8220;photoblog&#8221;. That category is configured in YAPB &#8211; so i can ask for it&#8217;s id and get all (or at least the last 1000) posts of that category with a simple WordPress function. Additionally i use this php part to define the format of the thumbnails i want to display on this page:</p>
<pre>&lt;?php
  // Let's get the last 1000 photoblog entries
  $photoblog_posts = get_posts( 'category=' . get_option('yapb_default_post_category') . '&amp;numberposts=1000' );
  // Let's define the needed thumbnail format
  $thumbConfig = array( 'h=80', 'q=100', 'fltr[]=usm|60|0.5|3' );
?&gt;</pre>
<h3>Loop through the fetched posts</h3>
<p>Since we should have all needed posts now, we simply cycle through all of them, get the image and display the thumbnails. In this sample i use a unordered list as structure for the images:</p>
<pre>&lt;ul&gt;
  &lt;?php foreach($photoblog_posts as $photoblog_post): ?&gt;
    &lt;?php if (!is_null($image = YapbImage::getInstanceFromDb($photoblog_post-&gt;ID))): ?&gt;
      &lt;li&gt;&lt;a title="&lt;?php echo $photoblog_post-&gt;post_title ?&gt;" href="&lt;?php echo get_permalink($photoblog_post-&gt;ID) ?&gt;"&gt;&lt;img src="&lt;?php echo $image-&gt;getThumbnailHref($thumbConfig) ?&gt;" width="&lt;?php echo $image-&gt;getThumbnailWidth($thumbConfig) ?&gt;" height="&lt;?php echo $image-&gt;getThumbnailHeight($thumbConfig) ?&gt;" alt="&lt;?php echo $photoblog_post-&gt;post_title ?&gt;" /&gt;&lt;/a&gt;&lt;/li&gt;
    &lt;?php endif ?&gt;
  &lt;?php endforeach ?&gt;
&lt;/ul&gt;</pre>
<h3>Close the previously created infrastructure</h3>
<p>To cleanly finalize the page template we now close the previously opened WordPress loop and call the footer.</p>
<pre>&lt;?php endwhile; endif; ?&gt;&lt;!-- end of the WP loop --&gt;
&lt;?php get_footer(); ?&gt;</pre>
<p>The complete file may be found in <a href="http://johannes.jarolim.com/blog/wp-content/uploads/File/wp_page_template_mosaic.zip">this .zip file (275 KB)</a>.</p>
<h3>Finally just use the new page template</h3>
<p>To use the page template, just go to your admin panel, write a new page and choose your newly created page template &#8211; Voila: You have your first YAPB mosaic page!</p>
]]></content:encoded>
			<wfw:commentRss>http://johannes.jarolim.com/blog/2008/07/24/your-own-photo-mosaic-page-with-wordpress-and-yapb/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>YAPB mentioned on bloggingbits.com</title>
		<link>http://johannes.jarolim.com/blog/2007/09/21/yapb-mentioned-on-bloggingbitscom/</link>
		<comments>http://johannes.jarolim.com/blog/2007/09/21/yapb-mentioned-on-bloggingbitscom/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 09:43:00 +0000</pubDate>
		<dc:creator>Johannes</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Yet Another Photoblog]]></category>
		<category><![CDATA[clarification]]></category>
		<category><![CDATA[extending]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[response]]></category>
		<category><![CDATA[schoolmasterly]]></category>
		<category><![CDATA[YAPB]]></category>

		<guid isPermaLink="false">http://johannes.jarolim.com/blog/2007/09/21/yapb-mentioned-on-bloggingbitscom/</guid>
		<description><![CDATA[Today i spotted a blog post mentioning YAPB at bloggingbits.com &#8211; After reading the article i felt the urge to schoolmasterly correct one word: Hacking. &#8220;nothing is stopping you from hacking WordPress to function as a photoblog&#8221; What&#8217;s wrong with this sentence? I just don&#8217;t like the word &#8220;hacking&#8221; in that context (arg!) Hacking is [...]]]></description>
				<content:encoded><![CDATA[<p>Today i spotted a blog post mentioning YAPB at <a href="http://bloggingbits.com/5-odd-and-unique-uses-of-wordpress/">bloggingbits.com</a> &#8211; After reading the article i felt the urge to <span>schoolmasterly </span>correct one word: Hacking.</p>
<p><em>&#8220;nothing is stopping you from <span style="text-decoration: underline;">hacking</span> WordPress to function as a photoblog&#8221;</em></p>
<p>What&#8217;s wrong with this sentence?</p>
<p><span id="more-261"></span></p>
<h2>I just don&#8217;t like the word &#8220;hacking&#8221; in that context (arg!)</h2>
<p><strong>Hacking</strong> is the way of the spaghetti code ninja to extend a cms via manipulating the base code of the cms to achieve what he wants in a more or less small ammount of time. But if the cms gets updated, he has to apply all those changes a second time. Since cms&#8217;s get updated regulary (security updates), that can bunch up to a serious pile of work over time. Since the cms owner is stuck to the hacking codeninja he is also stuck to the last known hacked cms version even if it has serious security flaws.</p>
<p><strong>Extending via a plugin</strong> on the other side is the way of the brave software developer (If the cms supports this). He examins the system to be extended in a very carefully way, sees all those provided hooks and programs the plugin. This way the cms user may update his cms installation whenever he wants/has to and has a pretty high chance the plugin will work afterwards. Until the cms internal hooks and dependecies stay compatible the owner may apply several updates until the plugin developer has to react on cms changes.</p>
<p>YAPB is a <strong>plugin</strong> and <strong>not a hack</strong> &#8211; So it&#8217;s <strong>extending</strong> WordPress ;-)</p>
<p>Harrhh &#8211; I&#8217;m so relaxed and relieved now. I&#8217;m such a monk.</p>
]]></content:encoded>
			<wfw:commentRss>http://johannes.jarolim.com/blog/2007/09/21/yapb-mentioned-on-bloggingbitscom/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Yet Another Photoblog goes BETA!</title>
		<link>http://johannes.jarolim.com/blog/2006/08/25/yet-another-photoblog-goes-beta/</link>
		<comments>http://johannes.jarolim.com/blog/2006/08/25/yet-another-photoblog-goes-beta/#comments</comments>
		<pubDate>Fri, 25 Aug 2006 22:23:31 +0000</pubDate>
		<dc:creator>Johannes</dc:creator>
				<category><![CDATA[Nicht kategorisiert]]></category>
		<category><![CDATA[Beta release]]></category>
		<category><![CDATA[Photoblog]]></category>
		<category><![CDATA[Plugin developement]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[YAPB]]></category>
		<category><![CDATA[Yet Another Photoblog]]></category>

		<guid isPermaLink="false">http://johannes.jarolim.com/blog/2006/08/25/yet-another-photoblog-goes-beta/</guid>
		<description><![CDATA[It&#8217;s official &#8211; YAPB is BETA and downloadable. If you&#8217;re interested in turning your WordPress blog into a photoblog, just download the plugin and try for yourself. I think this approach to photoblogging is somehow unique &#8211; You can post photoblog posts, display thumbnails and EXIF data &#8211; And you&#8217;re still able to use the [...]]]></description>
				<content:encoded><![CDATA[<p><img width="252" height="136" alt="" style="float: left; margin-right: 10px; margin-bottom: 10px;" src="/blog/wp-content/uploads/Image/yapb/yapb_beta.gif" /><strong>It&#8217;s official</strong> &#8211; YAPB is BETA and downloadable. If you&#8217;re interested in turning your WordPress blog into a photoblog, just <a href="http://johannes.jarolim.com/blog/wordpress/yet-another-photoblog/">download the plugin</a> and try for yourself. I think this approach to photoblogging is somehow unique &#8211; You can post photoblog posts, display thumbnails and EXIF data &#8211; And you&#8217;re still able to use the full potential of wordpress and it&#8217;s bunch of plugins.</p>
<p><strong>Happy blogging and don&#8217;t forget:</strong> It&#8217;s still BETA and i&#8217;d appreciate positive and/or negative feedback very much!</p>
]]></content:encoded>
			<wfw:commentRss>http://johannes.jarolim.com/blog/2006/08/25/yet-another-photoblog-goes-beta/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Yet Another Photoblog goes alpha!</title>
		<link>http://johannes.jarolim.com/blog/2006/05/27/yet-another-photoblog-goes-alpha/</link>
		<comments>http://johannes.jarolim.com/blog/2006/05/27/yet-another-photoblog-goes-alpha/#comments</comments>
		<pubDate>Sat, 27 May 2006 17:56:16 +0000</pubDate>
		<dc:creator>Johannes</dc:creator>
				<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Yet Another Photoblog]]></category>
		<category><![CDATA[Alpha]]></category>
		<category><![CDATA[Photoblog]]></category>
		<category><![CDATA[Plugin developement]]></category>
		<category><![CDATA[Release]]></category>
		<category><![CDATA[YAPB]]></category>

		<guid isPermaLink="false">http://johannes.jarolim.com/blog/2006/05/27/yet-another-photoblog-goes-alpha/</guid>
		<description><![CDATA[Finally &#8211; My wp-plugin &#34;Yet another Photoblog&#34; goes alpha. What does that mean? Well &#8211; I&#8217;m programming on a photoblog-conversion Plugin for WordPress for a while now and a alpha version is installed on this site since this morning. What is Yapb? What can you expect? A non invasive WP-plugin that converts wp into a [...]]]></description>
				<content:encoded><![CDATA[<p><img width="252" height="136" style="float: left; padding-right: 1em;" src="/blog/wp-content/uploads/Image/yapb/yapb_alpha(1).gif" alt="" /><strong>Finally</strong> &#8211; My wp-plugin <strong>&quot;Yet another Photoblog&quot; goes alpha</strong>. What does that mean? Well &#8211; I&#8217;m programming on a photoblog-conversion Plugin for WordPress for a while now and a alpha version is installed on this site since this morning.</p>
<p><strong>What is Yapb? What can you expect?</strong></p>
<ul>
<li>A non invasive WP-plugin that converts wp into a easy useable photoblog system</li>
<li>Easy image upload &#8211; All wordpress post-features can be used</li>
<li>On the fly thumbnail generation &#8211; You can use multiple thumbnail sizes as you need them: Thumbnail generation is now part of the template</li>
<li>Exif data processing and output</li>
</ul>
<p><strong>The idea</strong><br />There aren&#8217;t many open source photoblog systems out there in the wild. I searched a long time and found only few. Evaluated all of them and decided to program one on myself, since none of them meet my demands. I did that about three times &#8211; Every version was build up from the scratch. Every version was better and more flexible. More cool and finally more proprietary.</p>
<p>Every time i saw a feature in another blog system that i wanted to have &#8211; i had to spend much of my rare spare time to design, program and integrate it into my own photoblog system. After impelenting some features i decided that this was a waste of time.</p>
<p>There already was a system having lot&#8217;s of features and a huge community: WordPress. Yapb is my try to build on a wide spread platform &#8211; And to get what i want &#8211; As a photographer and programmer.</p>
<p><strong>Technical spoken</strong><br />Yapb integrates tightly into wordpress. Via Javascript DOM manipulation it injects several form additions into the standard wordpress post form. It provides additional data and fnctions to themes so that nearly every theme can be converted to a photoblog in virtually no time. Yapb doesn&#8217;t touch original wordpress code. You can decide if you want to write a normal WordPress Text-Post or if you want to post an image. etc. etc.</p>
<p><strong>What&#8217;s next? </strong>Nearly all pics you see on this blog are posted over Yapb. Now it&#8217;s only a matter of time that a installable version get&#8217;s released.</p>
]]></content:encoded>
			<wfw:commentRss>http://johannes.jarolim.com/blog/2006/05/27/yet-another-photoblog-goes-alpha/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
