<?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>Frans van der Meer &#187; Programmeren</title>
	<atom:link href="http://www.frans.pro/over/programmeren/feed" rel="self" type="application/rss+xml" />
	<link>http://www.frans.pro</link>
	<description>Persoonlijke weblog van een iets te dikke internet ondernemer</description>
	<lastBuildDate>Sat, 04 Feb 2012 10:04:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Watson: IBM kreeg het weer voor elkaar!</title>
		<link>http://www.frans.pro/programmeren/watson-ibm-kreeg-het-weer-voor-elkaar.html</link>
		<comments>http://www.frans.pro/programmeren/watson-ibm-kreeg-het-weer-voor-elkaar.html#comments</comments>
		<pubDate>Sat, 19 Feb 2011 15:44:36 +0000</pubDate>
		<dc:creator>Frans van der Meer</dc:creator>
				<category><![CDATA[Programmeren]]></category>

		<guid isPermaLink="false">http://www.frans.pro/?p=676</guid>
		<description><![CDATA[In 1996 versloeg Deep Blue Garri Kasparov. 15 jaar later verslaat Watson 2 voormalige winnaars met het tv-spel Jeopardy. Schaken is een kwestie van alle mogelijkheden overzien en dat combineren met een strategie van de tegenstander. Voor Jeopardy komen hele andere technieken om de hoek kijken. Begrijpen wat er gevraagd wordt en dan combinaties maken [...]]]></description>
			<content:encoded><![CDATA[<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/lI-M7O_bRNg?fs=1&amp;hl=nl_NL&amp;rel=0" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="480" height="300" src="http://www.youtube.com/v/lI-M7O_bRNg?fs=1&amp;hl=nl_NL&amp;rel=0" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>In 1996 versloeg <a href="http://nl.wikipedia.org/wiki/Deep_Blue">Deep Blue</a> <a href="http://nl.wikipedia.org/wiki/Garri_Kasparov">Garri Kasparov</a>. 15 jaar later verslaat Watson 2 voormalige winnaars met het tv-spel Jeopardy.<br />
Schaken is een kwestie van alle mogelijkheden overzien en dat combineren met een strategie van de tegenstander. Voor Jeopardy komen hele andere technieken om de hoek kijken. Begrijpen wat er gevraagd wordt en dan combinaties maken in databases om een antwoord te produceren is zo onwaarschijnlijk ingewikkeld dat ik bijna niet kan geloven dat dit echt is. En dan te bedenken dat Watson niet online was. De databases stonden op zijn eigen harde schijf&#8230; Met 25 developers is er 4 jaar gewerkt aan dit project. Dus IBM heeft 100 jaar geïnvesteerd om dit ding te produceren!</p>
<p>Fascinerend om te zien dat Watson zelfs &#8216;onzeker&#8217; kan zijn over antwoorden. Het aantal vraagtekens bij een antwoord geeft aan hoe waarschijnlijk het antwoord wordt geacht. Je weet dat je naar een computer zit te kijken, maar je gaat dat ding-met-een-stekker menselijke eigenschappen toedichten.</p>
<p>Stel dat Watson online komt. Het zou de hele zoekmachine business zoals we die nu kennen overhoop gooien. Watson is geen zoekmachine, maar een vindmachine. Geen raar gedoe met 2 steekwoorden en 100.000 resultaten meer, gewoon je vraag stellen en het antwoord krijgen! Het is gewoon eng&#8230; In bovenstaand promo filmpje wordt gesproken over historie&#8230; en dat geloof ik ook wel. Vanaf nu nemen computers de wereld over&#8230; &#8216;we have created a monster!&#8217;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frans.pro/programmeren/watson-ibm-kreeg-het-weer-voor-elkaar.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Free Drupal App Store</title>
		<link>http://www.frans.pro/programmeren/the-free-drupal-app-store.html</link>
		<comments>http://www.frans.pro/programmeren/the-free-drupal-app-store.html#comments</comments>
		<pubDate>Wed, 09 Feb 2011 11:37:49 +0000</pubDate>
		<dc:creator>Frans van der Meer</dc:creator>
				<category><![CDATA[Programmeren]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[Drupal]]></category>

		<guid isPermaLink="false">http://www.frans.pro/?p=667</guid>
		<description><![CDATA[Robert Douglass &#8216;s talk in Brussels about a Drupal App Store bravely hits the Achilles heel of open source in general. The ongoing rage discussion about a Drupal App Store on Twitter got me thinking&#8230; what problem are we trying to solve here? The problem is not money, but apps. There is a lack of  (so called) apps [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://twitter.com/robertDouglass">Robert Douglass</a> &#8216;<a href="http://bxl2011.drupaldays.org/node/319">s talk in Brussels about a Drupal App Store</a> bravely hits the Achilles heel of open source in general.<br />
The ongoing <del datetime="2011-02-09T11:38:57+00:00">rage</del> discussion about a Drupal App Store on <a href="http://twitter.com/search?q=%23drupalappstore">Twitter</a> got me thinking&#8230; what problem are we trying to solve here?</p>
<p>The problem is not money, but apps. There is a lack of  (so called) apps for Drupal.<br />
Why is <a href="http://www.wordpress.com">WP</a> so popular? Because it works, out of the box. Besides that, it is easy to understand for a non-nerd. The huge number of complete plugins and themes is fantastic. Just search in the plugin section of your admin area, click install and it works&#8230; wow!</p>
<p>Now compare that with Drupal&#8230; Do you really think that I can teach my mother how to use drush?  <em>Of course that says something about my teaching skills and not about drush or my mother.</em></p>
<p>I know&#8230; &#8220;Drupal is build by and for devs&#8221; (and not for my mother). But there is a whole market out there!<br />
<a href="http://www.lullabot.com/"> The Lullabots</a> compared Drupal with Lego in their <a href="http://www.lullabot.com/podcasts/podcast-91-concept-drupal-app-store">podcast</a>. If Drupal is Lego, WP is Playmobil. With Playmobil the fun is to play with a <a href="http://www.amazon.com/Playmobil-Blackbeards-Pirate-Ship/dp/B000296DT6">complete ship</a>, out of the box. With Lego the fun is to <span style="text-decoration: underline;">build</span> the ship and then play with <a href="http://www.pirateshiptoys.net/lego-pirates-the-black-heart-galleon-giant-moc-pirate-ship.html">your custom 22-canon pirate ship</a>.</p>
<p>Now&#8230; what if we could attract the Playmobil community to come over and play with us? What would that mean for Drupal? It would build momentum for the whole Drupal project! All we need to do is provide ready-to-play toys!<br />
So, we skip the money discussion and we concentrate on complete, generic solutions, products or apps.</p>
<p>I would love to have a central <a href="http://drupal.org/project/features">Features</a> server with complete and supported products, promoted on drupal.org. And yes&#8230; those Features will be free and open source, no micro payments, no macro payments.<br />
Let&#8217;s see if we can invite <a href="http://ma.tt">ma.tt</a> to <a href="http://www.youtube.com/watch?v=eFwkv14u3b4">come out and play</a>!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frans.pro/programmeren/the-free-drupal-app-store.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Style your autocomplete field in Drupal</title>
		<link>http://www.frans.pro/programmeren/style-your-autocomplete-field-in-drupal-6.html</link>
		<comments>http://www.frans.pro/programmeren/style-your-autocomplete-field-in-drupal-6.html#comments</comments>
		<pubDate>Sun, 14 Nov 2010 20:55:38 +0000</pubDate>
		<dc:creator>Frans van der Meer</dc:creator>
				<category><![CDATA[Programmeren]]></category>

		<guid isPermaLink="false">http://www.frans.pro/?p=641</guid>
		<description><![CDATA[Styling an autocomplete field in Drupal 6 is easy. You can use the CSS classes below to style the throbber (the ajax loading indicator) and the select list, that pops up after typing. /* AJAX autocomplete dropdown list */ #autocomplete &#123; position: absolute; border: 1px solid; overflow: hidden; z-index: 100; &#125; #autocomplete ul &#123; margin: [...]]]></description>
			<content:encoded><![CDATA[<p>Styling an autocomplete field in Drupal 6 is easy.</p>
<p>You can use the CSS classes below to style the throbber (the ajax loading indicator) and the select list, that pops up after typing.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;"><span style="color: #808080; font-style: italic;">/* AJAX autocomplete dropdown list */</span>
<span style="color: #cc00cc;">#autocomplete</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">position</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">absolute</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">border</span><span style="color: #00AA00;">:</span> <span style="color: #933;">1px</span> <span style="color: #993333;">solid</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">overflow</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">hidden</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">z-index</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">100</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#autocomplete</span> ul <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">margin</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #cc66cc;">0</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">list-style</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">none</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#autocomplete</span> li <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">white-space</span><span style="color: #00AA00;">:</span> pre<span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">cursor</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">default</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">padding</span><span style="color: #00AA00;">:</span> <span style="color: #933;">5px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #cc00cc;">#autocomplete</span> li<span style="color: #6666ff;">.selected</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">background</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#000</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">color</span><span style="color: #00AA00;">:</span> <span style="color: #cc00cc;">#fff</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
<span style="color: #808080; font-style: italic;">/* Animated throbber */</span>
html<span style="color: #6666ff;">.js</span> input<span style="color: #6666ff;">.form-autocomplete</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">background-image</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">url</span><span style="color: #00AA00;">&#40;</span><span style="color: #ff0000; font-style: italic;">img/throbber.gif</span><span style="color: #00AA00;">&#41;</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">background-repeat</span><span style="color: #00AA00;">:</span> <span style="color: #993333;">no-repeat</span><span style="color: #00AA00;">;</span>
  <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span> <span style="color: #933;">2px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span>
html<span style="color: #6666ff;">.js</span> input<span style="color: #6666ff;">.throbbing</span> <span style="color: #00AA00;">&#123;</span>
  <span style="color: #000000; font-weight: bold;">background-position</span><span style="color: #00AA00;">:</span> <span style="color: #933;">100%</span> <span style="color: #933;">-18px</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.frans.pro/programmeren/style-your-autocomplete-field-in-drupal-6.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drupal Views Bulk Operations on a single object</title>
		<link>http://www.frans.pro/programmeren/drupal-views-bulk-operations-on-a-single-object.html</link>
		<comments>http://www.frans.pro/programmeren/drupal-views-bulk-operations-on-a-single-object.html#comments</comments>
		<pubDate>Sat, 06 Nov 2010 15:40:21 +0000</pubDate>
		<dc:creator>Frans van der Meer</dc:creator>
				<category><![CDATA[Programmeren]]></category>
		<category><![CDATA[Custom module]]></category>
		<category><![CDATA[Drupal]]></category>
		<category><![CDATA[VBO]]></category>

		<guid isPermaLink="false">http://www.frans.pro/?p=622</guid>
		<description><![CDATA[The Drupal module Views Bulk Operations (VBO) is great! It lets you select objects (nodes) from a table, select an action and execute that action on the selected objects. So you can, for example, delete all selected nodes. Since it uses Views, the list of objects can be anything exposed to Views and of course [...]]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.drupal.org">Drupal</a> module <a href="http://drupal.org/project/views_bulk_operations">Views Bulk Operations (VBO)</a> is great!</p>
<p>It lets you select objects (nodes) from a table, select an action and execute that action on the selected objects.<br />
So you can, for example, delete all selected nodes. Since it uses <a href="http://drupal.org/project/views">Views</a>, the list of objects can be anything exposed to Views and of course be filtered and sorted with Views. VBO makes it easy to make an administrative interface.</p>
<p>You can easily create your own actions in a custom module. For a project I needed some custom actions for downloading a PDF version of a selection of nodes and one for sending PDFs out by email. So I carefully handcrafted those actions in a custom module.. and surprise, surprise, it works fine. The only thing is, you need to have a list and select items from that list. That is perfectly suitable for the overview list, but I also wanted some nice buttons on the full node page, with the same actions I have in my overview list. It is not so difficult to create a block View and load that, with the right arguments, somewhere on the full node page.</p>
<p>But then you have a list with one node (same node as the node page you are looking at) and some actions. To preform an action you need to select the node and execute the action. That looks stupid. So I came to this question:</p>
<h2>Is it possible to preselect a single object (node) and hide the select list in Views Bulk Operations?</h2>
<p>Answer: Yes.<br />
As usual, there are 1.000 ways to do this in Drupal. The easiest way I found was a <a href="http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_form_alter/6">hook_form_alter</a>. I wrote a mini custom drupal module <a href="../wp-content/uploads/views_bulk_operations_single_object.tar.gz">&#8216;Views Bulk Operations Single Object</a>&#8216; for this, the code is below.<br />
Have fun!<span id="more-622"></span></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #339933;">&lt;</span> ?php
<span style="color: #666666; font-style: italic;">/*
 * This module uses a form alter to disable the table output when 'Items to display' is set to 1 in a VBO view
 * Offcourse the single object that is selected in the view will be 'checked'
 * 
 * Purpose:
 * Build a VBO view and display it as a block.
 * Load this block on a single node (or whatever object) page and have the same operations available as in the VBO list
 * 
 * 
 * Note:
 * This Mini Module is not very well tested... it works for me, so it might work for you.
 * 
 * Usage:
 * Make a VBO view with your desired operations
 * Add a display block (or another.. but i uses those)
 * In that display, play with the arguments until you are sure that the right object is selected (for example node-&gt;nid)
 * Set 'items to display' on 1 (I know... that is not needed, because of your arguments; it will only load 1 object... but we need something to activate the form_alter)
 * Now display that block on a full node page and be sure to pass the right argument. (I use panels for that)
 * Et Voila...
 * 
 */</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">function</span> views_bulk_operations_single_object_form_alter<span style="color: #009900;">&#40;</span><span style="color: #339933;">&amp;</span><span style="color: #000088;">$form</span><span style="color: #339933;">,</span> <span style="color: #000088;">$form_state</span><span style="color: #339933;">,</span> <span style="color: #000088;">$form_id</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span>
       <span style="color: #990000;">substr</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$form_id</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">26</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">==</span> <span style="color: #0000ff;">'views_bulk_operations_form'</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #666666; font-style: italic;">// is it a VBO form?</span>
       <span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$form</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'objects'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'#view'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">pager</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'items_per_page'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #666666; font-style: italic;">// is items per page set</span>
       <span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$form</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'objects'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'#view'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">pager</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'use_pager'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #666666; font-style: italic;">// is use pager set</span>
       <span style="color: #339933;">!</span><span style="color: #000088;">$form</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'objects'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'#view'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">pager</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'use_pager'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">&amp;&amp;</span> <span style="color: #666666; font-style: italic;">// we don't want a pager</span>
       <span style="color: #000088;">$form</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'objects'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'#view'</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">pager</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'items_per_page'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">1</span> <span style="color: #666666; font-style: italic;">// we want a single object</span>
  <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$form</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'select'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'#title'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> t<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Operations'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #666666; font-style: italic;">// not much of a bulk... on a single object</span>
    <span style="color: #000088;">$form</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'objects'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'#type'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #0000ff;">'none'</span><span style="color: #339933;">;</span>  <span style="color: #666666; font-style: italic;">// don't render the objects table</span>
    <span style="color: #000088;">$form</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'checked_value'</span><span style="color: #009900;">&#93;</span> <span style="color: #339933;">=</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span> <span style="color: #666666; font-style: italic;">// select the first object in the result set</span>
      <span style="color: #0000ff;">'#type'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #0000ff;">'hidden'</span><span style="color: #339933;">,</span> 
      <span style="color: #0000ff;">'#value'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #cc66cc;">1</span><span style="color: #339933;">,</span> 
      <span style="color: #0000ff;">'#parents'</span> <span style="color: #339933;">=&gt;</span> <span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span>
        <span style="color: #0000ff;">'objects'</span><span style="color: #339933;">,</span> 
        <span style="color: #0000ff;">'selection'</span><span style="color: #339933;">,</span> 
        <span style="color: #cc66cc;">1</span>
      <span style="color: #009900;">&#41;</span>
    <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span>
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.frans.pro/programmeren/drupal-views-bulk-operations-on-a-single-object.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>buttons not working in Flash on Ubuntu amd64 (64bit)?</title>
		<link>http://www.frans.pro/programmeren/howto-programmeren/buttons-not-working-in-flash-on-ubuntu-amd64-64bit.html</link>
		<comments>http://www.frans.pro/programmeren/howto-programmeren/buttons-not-working-in-flash-on-ubuntu-amd64-64bit.html#comments</comments>
		<pubDate>Wed, 26 May 2010 10:16:44 +0000</pubDate>
		<dc:creator>Frans van der Meer</dc:creator>
				<category><![CDATA[HowTo]]></category>

		<guid isPermaLink="false">http://www.fransvandermeer.com/?p=598</guid>
		<description><![CDATA[So you have installed the Flash plugin from Adobe on a 64bit Ubuntu&#8230; You try to watch youtube, but you can never pause, because the buttons are unresponsive. Try this&#8230; worked for me! Open a terminal and copy and paste this: gksudo gedit /usr/lib/nspluginwrapper/i386/linux/npviewer Give your password and a editor pops up. Direct after #!/bin/sh [...]]]></description>
			<content:encoded><![CDATA[<p>So you have installed the Flash plugin from Adobe on a 64bit Ubuntu&#8230; You try to watch youtube, but you can never pause, because the buttons are unresponsive.</p>
<p>Try this&#8230; worked for me!</p>
<p>Open a terminal and copy and paste this:</p>
<pre>gksudo gedit /usr/lib/nspluginwrapper/i386/linux/npviewer
</pre>
<p>Give your password and a editor pops up. Direct after #!/bin/sh press enter for a new line and copy paste this:</p>
<pre>export GDK_NATIVE_WINDOWS=1
</pre>
<p>The complete file looks now something like this:</p>
<pre>#!/bin/sh
export GDK_NATIVE_WINDOWS=1
TARGET_OS=linux
TARGET_ARCH=i386
. /usr/lib/nspluginwrapper/noarch/npviewer
</pre>
<p>Save and close the editor. Restart your Firefox and enjoy your coffee break while watching Youtube videos.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frans.pro/programmeren/howto-programmeren/buttons-not-working-in-flash-on-ubuntu-amd64-64bit.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto use a drupal user base for Weave sync server</title>
		<link>http://www.frans.pro/open-source/howto-use-a-drupal-userbase-for-weave-sync-server.html</link>
		<comments>http://www.frans.pro/open-source/howto-use-a-drupal-userbase-for-weave-sync-server.html#comments</comments>
		<pubDate>Sat, 30 Jan 2010 17:22:40 +0000</pubDate>
		<dc:creator>Frans van der Meer</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.fransvandermeer.com/?p=549</guid>
		<description><![CDATA[With 2 desktops, 2 laptops, an EEE and a phone it was always hard to keep my bookmarks, browser history and username/passwords in sync. Not anymore! Weave is an add-on for Firefox that keeps al your Firefox data in sync in a central database. And yes, it works great! Just install the add-on on every [...]]]></description>
			<content:encoded><![CDATA[<p>With 2 desktops, 2 laptops, an EEE and a phone it was always hard to keep my bookmarks, browser history and username/passwords in sync. Not anymore! <a href="https://addons.mozilla.org/en-US/firefox/addon/10868">Weave</a> is an add-on for Firefox that keeps al your Firefox data in sync in a central database. And yes, it works great! Just install the add-on on every FF you have. You can use the central Mozilla database for syncing. It is safe to use; your data is stored encrypted with a key that only you know.</p>
<p>But then still.. wouldn&#8217;t it be nice to have it stored on your own servers. Storing passwords (even when they are encrypted) on a remote, not controlled-by-me host is not my first choice. Those guys @ mozilla understood that, and also released the <a href="https://wiki.mozilla.org/Labs/Weave/Sync/1.0/Setup">sync server</a> as open source. So you can have everything under your own control.. nice!</p>
<p>I added a script that integrates a Drupal install with the Weave Sync server. We use a Drupal install for our Intranet; every one who works for us has a Drupal account. I wanted to avoid a new user base for Weave, to simplify maintenance and reduce questions from users. Luckily the Weave Sync server is very modular en overall very well done!</p>
<p>Source code is found here: <a href="http://www.fransvandermeer.com/wp-content/uploads/weave-drupal.php_.tar.gz">drupal.php</a></p>
<p>Here is how i did it:<br />
<code>Install the weave sync server (note there are different servers (full, registration, sync). In this case you just need the sync server, accounts can be created and updated in your drupal install)<br />
I followed these instructions:<br />
<a href="https://wiki.mozilla.org/Labs/Weave/Sync/1.0/Setup">https://wiki.mozilla.org/Labs/Weave/Sync/1.0/Setup</a></code></p>
<p><code><em>After successful installation of the sync server, you need to add your drupal user base</em><br />
1. edit this line in your {hostname}_constants.php<br />
if (!defined('WEAVE_AUTH_ENGINE')) { define('WEAVE_AUTH_ENGINE', 'drupal'); }</code></p>
<p><code>2. Add and edit these lines in your {hostname}_constants.php<br />
the mysql user has to have read access to your users table in the drupal install<br />
if (WEAVE_AUTH_ENGINE == 'drupal')<br />
{<br />
#host, db name, username, password and prefix for the drupal auth store<br />
if (!defined('WEAVE_DRUPAL_MYSQL_AUTH_HOST')) { define('WEAVE_DRUPAL_MYSQL_AUTH_HOST', 'localhost'); }<br />
if (!defined('WEAVE_DRUPAL_MYSQL_AUTH_DB')) { define('WEAVE_DRUPAL_MYSQL_AUTH_DB', 'drupal'); }<br />
if (!defined('WEAVE_DRUPAL_MYSQL_AUTH_USER')) { define('WEAVE_DRUPAL_MYSQL_AUTH_USER', 'drupal'); }<br />
if (!defined('WEAVE_DRUPAL_MYSQL_AUTH_PASS')) { define('WEAVE_DRUPAL_MYSQL_AUTH_PASS', 'drupal'); }<br />
if (!defined('WEAVE_DRUPAL_MYSQL_AUTH_PREFIX')) { define('WEAVE_DRUPAL_MYSQL_AUTH_PREFIX', ''); }<br />
}</code></p>
<p><code>3. save the <a href="http://www.fransvandermeer.com/wp-content/uploads/weave-drupal.php_.tar.gz">drupal.php</a> file in the folder 1.0/weave_user</code></p>
<p><code>Now install the firefox add-on and start syncing with your drupal login/pass combo</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.frans.pro/open-source/howto-use-a-drupal-userbase-for-weave-sync-server.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Spijt van dubbele slash</title>
		<link>http://www.frans.pro/programmeren/spijt-van-dubbele-slash.html</link>
		<comments>http://www.frans.pro/programmeren/spijt-van-dubbele-slash.html#comments</comments>
		<pubDate>Thu, 31 Dec 2009 14:51:44 +0000</pubDate>
		<dc:creator>Frans van der Meer</dc:creator>
				<category><![CDATA[Programmeren]]></category>

		<guid isPermaLink="false">http://www.fransvandermeer.com/?p=542</guid>
		<description><![CDATA[Aan het eind van het jaar kijk je terug. Het opmerkelijkste nieuws van dit jaar was niet de crisis, dat was immers vorig jaar al nieuws; Nee, wat mij betreft was het nieuws van het jaar 2009, dat Berners-Lee, pappa van het internet, spijt heeft van de dubbele slash in http://. Toen hij de protocollen [...]]]></description>
			<content:encoded><![CDATA[<p>Aan het eind van het jaar kijk je terug. Het opmerkelijkste nieuws van dit jaar was niet de crisis, dat was immers vorig jaar al nieuws; Nee, wat mij betreft was het nieuws van het jaar 2009, dat Berners-Lee, pappa van het internet, spijt heeft van de dubbele slash in http://.<br />
Toen hij de protocollen ontwierp leek het een goed idee, nu zegt hij dat het ook wel had gekunt zonder, en dan alleen een :. In <a href="http://bits.blogs.nytimes.com/2009/10/12/the-webs-inventor-regrets-one-small-thing/">het interview</a> voegt hij er aan toe dat het waarschijnlijk veel bomen had uit gespaard, denk maar eens aan al die printjes met de nodeloze //.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frans.pro/programmeren/spijt-van-dubbele-slash.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android svn client?</title>
		<link>http://www.frans.pro/programmeren/android-svn-client.html</link>
		<comments>http://www.frans.pro/programmeren/android-svn-client.html#comments</comments>
		<pubDate>Sat, 05 Dec 2009 15:45:45 +0000</pubDate>
		<dc:creator>Frans van der Meer</dc:creator>
				<category><![CDATA[Programmeren]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>

		<guid isPermaLink="false">http://www.fransvandermeer.com/programmeren/android-svn-client.html</guid>
		<description><![CDATA[Afgelopen week had ik een pdf nodig, waarvan ik zeker wist dat deze op onze subversion server staat. Ik had alleen mijn mobiel bij me, dus ik dacht, laat ik een svn client downloaden voor mijn Android telefoon. Wat schetst mijn verbazing? Zo&#8217;n app is niet beschikbaar in de Android Market. Raar hoor, ik dacht [...]]]></description>
			<content:encoded><![CDATA[<p>Afgelopen week had ik een pdf nodig, waarvan ik zeker wist dat deze op onze subversion server staat. Ik had alleen mijn mobiel bij me, dus ik dacht, laat ik een svn client downloaden voor mijn Android telefoon. Wat schetst mijn verbazing? Zo&#8217;n app is niet beschikbaar in de Android Market.</p>
<p>Raar hoor, ik dacht dat alleen nerds zo&#8217;n Google phone gebruiken. Logische conclusie is dus dat er een <strong>subversion client</strong> is&#8230; maar neen. Zouden die appbuilders alleen maar bezig zijn met onzin bouwen dan?</p>
<p>Anyhow, ik heb vandaag dus maar een webbased svn client op de server geinstalleerd, zodat ik er met de browser bij kan&#8230; maar wat een gehannes. Als iemand tips heeft houd ik me aanbevolen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frans.pro/programmeren/android-svn-client.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Accepteer creditcards met je mobiel</title>
		<link>http://www.frans.pro/programmeren/accepteer-creditcards-met-je-mobiel.html</link>
		<comments>http://www.frans.pro/programmeren/accepteer-creditcards-met-je-mobiel.html#comments</comments>
		<pubDate>Wed, 02 Dec 2009 18:09:18 +0000</pubDate>
		<dc:creator>Frans van der Meer</dc:creator>
				<category><![CDATA[Programmeren]]></category>
		<category><![CDATA[betalen]]></category>
		<category><![CDATA[mobiel]]></category>

		<guid isPermaLink="false">http://www.fransvandermeer.com/programmeren/accepteer-creditcards-met-je-mobiel.html</guid>
		<description><![CDATA[Een van de oprichters van twitter, heeft een mooi nieuw product. Hoewel niet nieuw lijkt het briljant te worden uitgevoerd. Eigenlijk maak je van je mobiel een betaalautomaat door de toevoeging van een kaartlezer. Perfect voor postbodes, conducteurs, oplichters en marktkooplui. Goed idee! Lees alles hier.]]></description>
			<content:encoded><![CDATA[<p>Een van de oprichters van twitter, heeft een mooi nieuw product. Hoewel niet nieuw lijkt het briljant te worden uitgevoerd.</p>
<p>Eigenlijk maak je van je mobiel een betaalautomaat door de toevoeging van een kaartlezer. Perfect voor postbodes, conducteurs, oplichters en marktkooplui.</p>
<p>Goed idee! Lees alles <a href="http://www.readwriteweb.com/archives/twitter_co-founder_launches_new_mobile_payment_system.php">hier</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frans.pro/programmeren/accepteer-creditcards-met-je-mobiel.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nokia 1100 te koop?</title>
		<link>http://www.frans.pro/programmeren/nokia-1100-te-koop.html</link>
		<comments>http://www.frans.pro/programmeren/nokia-1100-te-koop.html#comments</comments>
		<pubDate>Tue, 21 Apr 2009 13:12:29 +0000</pubDate>
		<dc:creator>Frans van der Meer</dc:creator>
				<category><![CDATA[Programmeren]]></category>

		<guid isPermaLink="false">http://www.fransvandermeer.com/?p=491</guid>
		<description><![CDATA[Ik zoek nog een Nokia 1100 naar aanleiding van dit bericht. Het klinkt mij als een 1 april grap, waarvan niemand had begrepen dat het een grap was&#8230; Wat kan er nou zo byzonder zijn aan die hardware-software combinatie, dat niet na te bouwen is? Of snap ik het gewoon niet?]]></description>
			<content:encoded><![CDATA[<p>Ik zoek nog een Nokia 1100 naar aanleiding van <a href="http://webwereld.nl/nieuws/57088/-hackers-kapen-tan-codes-met-oude-nokia-s-.html">dit bericht</a>.</p>
<p>Het klinkt mij als een 1 april grap, waarvan niemand had begrepen dat het een grap was&#8230; Wat kan er nou zo byzonder zijn aan die hardware-software combinatie, dat niet na te bouwen is? Of snap ik het gewoon niet?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.frans.pro/programmeren/nokia-1100-te-koop.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

