<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    <title>Daniel Lange's blog (Entries tagged as plugin)</title>
    <link>http://daniel-lange.com/</link>
    <description>Life, IT, Managers, Cars...</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.5.3 - http://www.s9y.org/</generator>
    <pubDate>Sun, 06 Dec 2009 16:21:07 GMT</pubDate>

    <image>
        <url>http://daniel-lange.com/templates/bulletproof/img/s9y_banner_small.png</url>
        <title>RSS: Daniel Lange's blog - Life, IT, Managers, Cars...</title>
        <link>http://daniel-lange.com/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Kubuntu 9.10 (karmic) 64bit firefox java plugin</title>
    <link>http://daniel-lange.com/archives/51-Kubuntu-9.10-karmic-64bit-firefox-java-plugin.html</link>
            <category>Linux</category>
    
    <comments>http://daniel-lange.com/archives/51-Kubuntu-9.10-karmic-64bit-firefox-java-plugin.html#comments</comments>
    <wfw:comment>http://daniel-lange.com/wfwcomment.php?cid=51</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=51</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;For some unknown reason the (K)Ubuntu developers did not update the Java plugin for firefox after jaunty (yet?).&lt;/p&gt;

&lt;p&gt;The version that Karmic (9.10) pulls out of the multiverse repository is still jaunty&#039;s (9.04).&lt;/p&gt;

&lt;p&gt;So when you try:&lt;/p&gt;

&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;apt-get&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;install&lt;/span&gt; sun-java6-plugin&lt;/div&gt;

&lt;p&gt;you&#039;ll get something like
&lt;blockquote&gt;
&lt;pre&gt;&lt;code&gt;   Reading package lists... Done
   Building dependency tree
   Reading state information... Done
   Some packages could not be installed. This may mean that you have
   requested an impossible situation or if you are using the unstable
   distribution that some required packages have not yet been created
   or been moved out of Incoming.
   The following information may help to resolve the situation:

   The following packages have unmet dependencies:
     sun-java6-plugin: Depends: sun-java6-bin (= 6-15-1) but 6-16-0ubuntu1.9.04 is to be installed
   E: Broken packages
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;Duh.&lt;/p&gt;

&lt;p&gt;Actually if you have the Java Runtime Environment (JRE, package name &lt;code&gt;sun-java6-jre&lt;/code&gt;) installed all files needed are already present.&lt;br /&gt;
Just not put in the right place on the filesystem.&lt;/p&gt;

&lt;p&gt;So, run:&lt;/p&gt;

&lt;div class=&quot;bash geshi&quot; style=&quot;text-align: left&quot;&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sudo&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;apt-get&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;install&lt;/span&gt; sun-java6-jre &amp;#160; &lt;span style=&quot;color: #666666; font-style: italic;&quot;&gt;# install JRE if needed&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;sudo&lt;/span&gt; &lt;span style=&quot;color: #c20cb9; font-weight: bold;&quot;&gt;ln&lt;/span&gt; &lt;span style=&quot;color: #660033;&quot;&gt;-s&lt;/span&gt; &lt;span style=&quot;color: #000000;&quot;&gt;/&lt;/span&gt;usr&lt;span style=&quot;color: #000000;&quot;&gt;/&lt;/span&gt;lib&lt;span style=&quot;color: #000000;&quot;&gt;/&lt;/span&gt;jvm&lt;span style=&quot;color: #000000;&quot;&gt;/&lt;/span&gt;java-&lt;span style=&quot;color: #000000;&quot;&gt;6&lt;/span&gt;-sun&lt;span style=&quot;color: #000000;&quot;&gt;/&lt;/span&gt;jre&lt;span style=&quot;color: #000000;&quot;&gt;/&lt;/span&gt;lib&lt;span style=&quot;color: #000000;&quot;&gt;/&lt;/span&gt;amd64&lt;span style=&quot;color: #000000;&quot;&gt;/&lt;/span&gt;libnpjp2.so &lt;span style=&quot;color: #000000;&quot;&gt;/&lt;/span&gt;usr&lt;span style=&quot;color: #000000;&quot;&gt;/&lt;/span&gt;lib&lt;span style=&quot;color: #000000;&quot;&gt;/&lt;/span&gt;mozilla&lt;span style=&quot;color: #000000;&quot;&gt;/&lt;/span&gt;plugins&lt;span style=&quot;color: #000000;&quot;&gt;/&lt;/span&gt;&lt;/div&gt;

&lt;p&gt;This will install the JRE (if it&#039;s not already installed) and will symlink the firefox plugin for java in place so that it&#039;ll be found after a browser restart.&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Sun, 06 Dec 2009 18:00:00 +0100</pubDate>
    <guid isPermaLink="false">http://daniel-lange.com/archives/51-guid.html</guid>
    <category>64bit</category>
<category>firefox</category>
<category>java</category>
<category>karmic</category>
<category>kubuntu</category>
<category>mozilla</category>
<category>plugin</category>
<category>ubuntu</category>

</item>
<item>
    <title>Seredipity default event_s9ymarkup plugin breaking URLs that contain underscores</title>
    <link>http://daniel-lange.com/archives/28-Seredipity-default-event_s9ymarkup-plugin-breaking-URLs-that-contain-underscores.html</link>
            <category>Serendipity</category>
    
    <comments>http://daniel-lange.com/archives/28-Seredipity-default-event_s9ymarkup-plugin-breaking-URLs-that-contain-underscores.html#comments</comments>
    <wfw:comment>http://daniel-lange.com/wfwcomment.php?cid=28</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://daniel-lange.com/rss.php?version=2.0&amp;type=comments&amp;cid=28</wfw:commentRss>
    

    <author>nospam@example.com (Daniel Lange)</author>
    <content:encoded>
    &lt;p&gt;
The default Serendipity mark-up plugin (event_s9ymarkup) currently breaks URLs that contain underscores.&lt;/p&gt;

&lt;p&gt;So
&lt;/p&gt;

&lt;blockquote&gt;http://en.wikipedia.org/wiki/Statler_%26_Waldorf&lt;/blockquote&gt;

&lt;p&gt;will end up&lt;/p&gt;

&lt;blockquote&gt;http://en.wikipedia.org/wiki/Statler&amp;lt;/u&amp;gt;%26_Waldorf&lt;/blockquote&gt;

&lt;p /&gt;

&lt;p&gt;
because of a faulty regex.

Garvin Hicking does not really want to fix this. (See &lt;a target=&quot;_blank&quot; title=&quot;Serendipity Forums: serendipity_event_s9ymarkup adds &lt;/u&gt; to URLs breaking&quot; href=&quot;http://board.s9y.org/viewtopic.php?p=72455&quot;&gt;this&lt;/a&gt; s9y support forum article for arguments pro/contra fixing it). So if you encounter this problem, your options are:
&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;replace _ in URLs with %5F (aka manually urlencode it)&lt;/li&gt;&lt;li&gt;remove the plugin or disable it
&lt;/li&gt;&lt;li&gt;patch the plugin&lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;Patching is basically changing&lt;/p&gt;

&lt;p&gt;&lt;font face=&quot;courier new,courier,monospace&quot;&gt;plugins/serendipity_event_s9ymarkup/serendipity_event_s9ymarkup.php&lt;/font&gt;:&lt;br /&gt;&lt;/p&gt;

&lt;blockquote&gt;$text = preg_replace(&#039;/\b_([\S ]+?)_\b/&#039;,&#039;&amp;lt;u&amp;gt;\1&amp;lt;/u&amp;gt;&#039;,$text);&lt;/blockquote&gt;

&lt;p&gt;to&lt;/p&gt;

&lt;blockquote&gt;$text = preg_replace(&#039;/\ _([\S ]+?)_\ /&#039;,&#039; &amp;lt;u&amp;gt;\1&amp;lt;/u&amp;gt; &#039;,$text);&lt;/blockquote&gt;

&lt;p&gt;If you want to be writing things like &amp;quot;Haha[&lt;em&gt;lol&lt;/em&gt;]&amp;quot; (which I have no real use for ...), extend the &amp;quot;\ &amp;quot; with whatever you&#039;d like to be o.k. to delimit &lt;em&gt;bolded&lt;/em&gt; words beyond blanks. It should only be symbols that are not valid in URLs (so none of &amp;quot;$-_.+!*&#039;(),&amp;quot; which are all valid in URLs according to &lt;a title=&quot;RFC 1738 - Uniform Resource Locators (URL)&quot; target=&quot;_blank&quot; href=&quot;http://www.ietf.org/rfc/rfc1738.txt&quot;&gt;RFC 1738&lt;/a&gt;).&lt;/p&gt;

&lt;p&gt;You may also want to consider replacing one underscore (&amp;quot;_&amp;quot;) with two or more (&amp;quot;__&amp;quot;) to make the detection, that you actually wanted to write bold text, more reliable.&lt;/p&gt;
 
    </content:encoded>

    <pubDate>Fri, 11 Apr 2008 13:30:00 +0200</pubDate>
    <guid isPermaLink="false">http://daniel-lange.com/archives/28-guid.html</guid>
    <category>bug</category>
<category>html</category>
<category>plugin</category>
<category>serendipity</category>
<category>underscore</category>
<category>url</category>

</item>

</channel>
</rss>