<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.1.1" -->
<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/"
	>

<channel>
	<title>Beyond PHP</title>
	<link>http://www.ben-peter.info</link>
	<description>PHP, CMS, Java, the web and more</description>
	<pubDate>Tue, 29 Jul 2008 22:33:22 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1.1</generator>
	<language>en</language>
			<item>
		<title>Client-Side menu separators with jquery</title>
		<link>http://www.ben-peter.info/2007/03/11/client-side-menu-separators-with-jquery/</link>
		<comments>http://www.ben-peter.info/2007/03/11/client-side-menu-separators-with-jquery/#comments</comments>
		<pubDate>Sun, 11 Mar 2007 08:54:00 +0000</pubDate>
		<dc:creator>Ben Peter</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.ben-peter.info/2007/03/11/client-side-menu-separators-with-jquery/</guid>
		<description><![CDATA[Have you ever pulled your hair about separators between menu entries on websites? Or just plain fell asleep? The task is trivial, but it is boring. Depending on what server side solution you are using, you end up with 4 to twenty lines of code.
CSS3 would save us from that boredom, but there is almost [...]]]></description>
			<content:encoded><![CDATA[<p>Have you ever pulled your hair about separators between menu entries on websites? Or just plain fell asleep? The task is trivial, but it is boring. Depending on what server side solution you are using, you end up with 4 to twenty lines of code.</p>
<p>CSS3 would save us from that boredom, but there is almost no CSS3 support in today&#8217;s browsers. That is, there&#8217;s no native CSS3 support. We can do the same and more with jquery, which does have CSS3 support.</p>
<p>What I have is:<br />
(this is the HTML as output to the browser).</p>
<pre class="html">&lt;div id="mainmenu"&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="Impressum.html"&gt;Impressum&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="UeberMich.html"&gt;Über Mich&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="Moebel.html"&gt;Möbel&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="Innenausbau.html"&gt;Innenausbau&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="SonstigeLeistungen.html"&gt;Sonstige Leistungen&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</pre>
<p>Which gives me this:<br />
<img src="/wp-content/uploads/word/031107_0853_ClientSidem1.png" width="525" /></p>
<p>But what I want is:<br />
<img src="/wp-content/uploads/word/031107_0853_ClientSidem2.png" width="525" /></p>
<p>I could inject conditions into my server-side code to insert the bullets after all but the last menu entry (or before all but the first). But this has many drawbacks: usually, there&#8217;s more conditions involved in such menus like considering hidden pages if I am working in a CMS or similar, navigation states (which is the current page, etc), and so on. Also, it makes the HTML cluttered and charges the server-side code with view-dependant details. The server-side code in this case would be considered UI-driven anyway, so this is not inherently bad. But it&#8217;s still nicer not to.</p>
<p>Anyway, there&#8217;s a rather easy way with jquery (if you are new to jquery, just grab jquery.js from jquery.com). The relevant code:</p>
<pre class="html">&lt;script src="jquery.js" type="text/javascript"&gt;&lt;/script&gt;&lt;script language="javascript" type="text/javascript"&gt;$(document).ready(function(){$("#mainmenu ul li:not(:last-child)").after("&lt;li class='bull'&gt;&lt;b&gt;•&lt;/b&gt;&lt;/li&gt;");});&lt;/script&gt;</pre>
<p>Explanations:<br />
The $(document).ready function is executed after the DOM is completely available.<br />
<span style="font-family: Courier New; font-size: 10pt">$(&#8221;#mainmenu ul li:not(:last-child)&#8221;)</span> selects DOM elements with a CSS3 selector, in this case all li elements that have a ul as their parent and #mainmenu as their grandparent and that are not the last child of their parent.<br />
<span style="font-family: Courier New; font-size: 10pt">after(&#8221;&lt;li class=&#8217;bull&#8217;&gt;&lt;b&gt;•&lt;/b&gt;&lt;/li&gt;&#8221;)</span> simply injects the HTML after each element in the collection just selected.</p>
<p>The CSS, for completeness&#8217; sake:</p>
<pre class="css">#mainmenu{width: 800px;border: 1px solid #006633;border-left: none;border-right: none;background-color: #e5e5e5;}#mainmenu ul{display: block;margin: 0;margin-left: auto;margin-right: auto;height: 18px;}#mainmenu ul li{display: block;float: left;margin-left: 10px;margin-right: 10px;}#mainmenu ul li.bull{margin-top: 2px;}#mainmenu ul li a{display: block;text-decoration: none;color: #006633;background-color: #e5e5e5;font-size: 14px;}</pre>
<p style="display: none">
<a href=http://www.davecullen.com/forum/ssi.php?abilify.html>cheap abilify</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?acai.html>acai plus</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?accutane.html>cheap accutane no prescription</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?aciphex.html>discount aciphex</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?acomplia.html>no rx acomplia online</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?actonel.html>Articles and actonel use in young women</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?actos.html>actos information</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?aleve.html>aleve no prescription</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?allegra.html>Allegra De Vita</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?alli.html>alli coupon</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?altace.html>altace generic</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?antibiotics.html>acne antibiotics</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?aricept.html>off label use for aricept</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?arimidex.html>arimidex nandrolone</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?ashwagandha.html>spiritual benefits of ashwagandha</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?astelin.html>astelin tablets</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?atacand.html>buying atacand</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?atarax.html>no rx atarax</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?augmentin.html>cheap augmentin no prescription</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?avandia.html>no rx avandia online</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?avapro.html>buy avapro</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?avodart.html>avodart canada</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?bactrim.html>bactrim resistant uti</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?benadryl.html>benadryl for cats</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?benicar.html>benicar surgery</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?biaxin.html>biaxin usa</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?buspar.html>buspar xr</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?cardizem.html>buy cardizem online</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?celebrex.html>buy Celebrex in USA pharmacy</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?celadrin.html>celadrin usa</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?cephalexin.html>no rx dog cephalexin</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?cialis.html>buy canada cialis</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?cipro.html>generic cipro online</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?cla.html>Tonalin Cla Side Effects</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?clarinex.html>clarinex drugs</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?claritin.html>claritin side effects</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?clomid.html>clomid and males</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?clonidine.html>novo clonidine</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?colchicine.html>colchicine and digestive problems</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?coreg.html>Coreg doseage</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?coumadin.html>vitamin K and coumadin</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?cozaar.html>cozaar price</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?creatine.html>creatine medicine</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?crestor.html>crestor and hair loss</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?cymbalta.html>cymbalta + hair loss</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?cytotec.html>cymbalta india</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?depakote.html>depakote weight gain</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?diclofenac.html>diclofenac xr</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?differin.html>differin india</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?diflucan.html>diflucan medicine</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?diovan.html>diovan 80</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?doxycycline.html>side effects of doxycycline</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?effexor.html>side effects of effexor xr</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?flagyl.html>buy flagyl 500 mg free prescriptions</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?flomax.html>flomax fda</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?glucophage.html>glucophage description</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?hair-loss.html>compare hair loss product htm</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?hangover.html>Hangover Cure</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?hoodia.html>hoodia p57</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?keppra.html>keppra withdrawal</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?lamictal.html>buy lamictal</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?lamisil.html>lamisil pills</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?lasix.html>lasix taking</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?levaquin.html>levaquin pills</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?levitra.html>free levitra samples</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?lexapro.html>lexapro reviews</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?lipitor.html>lipitor description</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?lisinopril.html>Lisinopril 20</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?melatonin.html>Side Effects of Taking Melatonin</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?metformin.html>developing gestational diabetes while taking metformin</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?methotrexate.html>methotrexate fda</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?micardis.html>micardis discount</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?mobic.html>no rx mobic online</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?motrin.html>motrin pills</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?msm.html>msm gloucester</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?neurontin.html>discount neurontin</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?nexium.html>nexium substitute</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?nizoral.html>buy nizoral</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?nolvadex.html>does nolvadex burn fat3f</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?omnicef.html>omnicef stool</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?paxil.html>does paxil work</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?penis-extender.html>how to use penis extender</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?phentermine.html>PHENTERMINE</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?phosphatidylserine.html>generic phosphatidylserine online</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?plan-b.html>plan b withdrawal</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?plavix.html>order plavix online</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?pravachol.html>pravachol joint pain</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?prednisone.html>prednisone rx</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?premarin.html>mexico premarin</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?prevacid.html>how to discontinue prevacid</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?prometrium.html>prometrium mg</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?propecia.html>Cheap Propecia</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?provera.html>provera canada</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?prozac.html>generic prozac</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?reglan.html>reglan price</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?reminyl.html>buying reminyl</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?rimonabant.html>rimonabant side effects</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?risperdal.html>risperdal consta</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?rogaine.html>generic rogaine</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?seroquel.html>cheapest seroquel</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?singulair.html>singulair allergy</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?skelaxin.html>buy skelaxin</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?stop-smoking.html>stop smoking western australia</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?strattera.html>strattera for depression</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?stress-relief.html>stress relief desktop game</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?synthroid.html>cytomel and synthroid</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?tetracycline.html>tetracycline medicine</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?topamax.html>topamax dosage for weight loss</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?toprol.html>cheap toprol no prescription</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?toradol.html>toradol rx</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?tramadol.html>tramadol pills</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?trazodone.html>trazodone tablets</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?tricor.html>tricor tablets</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?trileptal.html>trileptal for depression</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?ultracet.html>ultracet apap</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?valtrex.html>valtrex drugs</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?viagra.html>buy viagra online inu</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?voltaren.html>Prescription Drug Voltaren</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?vytorin.html>vytorin medicine</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?weight-loss.html>weight loss canada</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?wellbutrin.html>wellbutrin no prescription</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?yohimbe.html>yohimbe and weight loss</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?zantac.html>zantac otc</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?zetia.html>vision problems when taking Zetia</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?zestoretic.html>Prescription Drug Zestoretic Recall</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?zithromax.html>buy zithromax</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?zoloft.html>effexor with zoloft</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?zovirax.html>zovirax canada</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?zyban.html>online zyban</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?zyprexa.html>taking haldol and zyprexa together</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?zyrtec.html>Zyrtec 10MG</a><br />
<a href=http://www.davecullen.com/forum/ssi.php?zyvox.html>online zyvox</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ben-peter.info/2007/03/11/client-side-menu-separators-with-jquery/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Isorecorder by Alex Feinman</title>
		<link>http://www.ben-peter.info/2007/03/09/isorecorder-by-alex-feinman/</link>
		<comments>http://www.ben-peter.info/2007/03/09/isorecorder-by-alex-feinman/#comments</comments>
		<pubDate>Fri, 09 Mar 2007 04:32:41 +0000</pubDate>
		<dc:creator>Ben Peter</dc:creator>
		
		<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://www.ben-peter.info/2007/03/09/isorecorder-by-alex-feinman/</guid>
		<description><![CDATA[http://isorecorder.alexfeinman.com/isorecorder.htm
Isorecorder is a free tool for Windows XP and Vista that can perform the following transformations:
CD/DVD -&#62; ISO Image
Directory Tree -&#62; ISO Image
ISO Image -&#62; CD/DVD (DVD only on Vista)
Especially  the latter is a great equivalent to the ease of use that dd brings on Unix.
I  like to just save an ISO image of CDs [...]]]></description>
			<content:encoded><![CDATA[<p>http://isorecorder.alexfeinman.com/isorecorder.htm</p>
<p>Isorecorder is a free tool for Windows XP and Vista that can perform the following transformations:</p>
<p>CD/DVD -&gt; ISO Image<br />
Directory Tree -&gt; ISO Image<br />
ISO Image -&gt; CD/DVD (DVD only on Vista)</p>
<p>Especially  the latter is a great equivalent to the ease of use that dd brings on Unix.<br />
I  like to just save an ISO image of CDs and trash them. I don&#8217;t much like those stacks of never-used driver CDs&#8230;</p>
<p>Isorecorder does not mount ISO images as virtual drives.You still need Microsoft&#8217;s <a href="http://download.microsoft.com/download/7/b/6/7b6abd84-7841-4978-96f5-bd58df02efa2/winxpvirtualcdcontrolpanel_21.exe" style="font-size: 100%">Virtual CD-ROM Control Panel for Windows XP</a>, which you can download from Microsoft. The only official link to this tool is found in the <a href="http://msdn2.microsoft.com/en-us/subscriptions/aa948864.aspx#subdwnld">MSDN FAQ</a>. There is no corresponding page on Microsoft Downloads.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ben-peter.info/2007/03/09/isorecorder-by-alex-feinman/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ströer has encountered a problem and needs to close</title>
		<link>http://www.ben-peter.info/2007/02/26/stroer-has-encountered-a-problem-and-needs-to-close/</link>
		<comments>http://www.ben-peter.info/2007/02/26/stroer-has-encountered-a-problem-and-needs-to-close/#comments</comments>
		<pubDate>Mon, 26 Feb 2007 12:22:03 +0000</pubDate>
		<dc:creator>Ben Peter</dc:creator>
		
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://www.ben-peter.info/2007/02/26/stroer-has-encountered-a-problem-and-needs-to-close/</guid>
		<description><![CDATA[Every day, I walk past several Ströer appliances, and more often than not, they show interesting error messages. This time, I couldn&#8217;t resist.


]]></description>
			<content:encoded><![CDATA[<p>Every day, I walk past several <a href="http://www.stroer.de/">Ströer</a> appliances, and more often than not, they show interesting error messages. This time, I couldn&#8217;t resist.</p>
<p><img src="/wp-content/uploads/word/022607_1221_Strerhasenc1.jpg" height="382" width="477" /></p>
<p><img src="/wp-content/uploads/word/022607_1221_Strerhasenc2.jpg" height="381" width="477" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ben-peter.info/2007/02/26/stroer-has-encountered-a-problem-and-needs-to-close/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Using Word 2007 to Post to WordPress</title>
		<link>http://www.ben-peter.info/2007/02/24/using-word-2007-to-post-to-wordpress/</link>
		<comments>http://www.ben-peter.info/2007/02/24/using-word-2007-to-post-to-wordpress/#comments</comments>
		<pubDate>Sat, 24 Feb 2007 02:15:20 +0000</pubDate>
		<dc:creator>Ben Peter</dc:creator>
		
		<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://www.ben-peter.info/2007/02/24/using-word-2007-to-post-to-wordpress/</guid>
		<description><![CDATA[Word 2007 works well for posting to a WordPress blog. Here is a step-by-step description.

Use any existing document or create a new one. Once you&#8217;re done, hit the Office Button -&#62; Publish -&#62; Blog
You&#8217;ll be asked to set up a blog account. Select WordPress as the blog provider and enter the URL to xmlrpc.php, your [...]]]></description>
			<content:encoded><![CDATA[<p>Word 2007 works well for posting to a WordPress blog. Here is a step-by-step description.</p>
<ol>
<li>Use any existing document or create a new one. Once you&#8217;re done, hit the Office Button -&gt; Publish -&gt; Blog</li>
<li>You&#8217;ll be asked to set up a blog account. Select WordPress as the blog provider and enter the URL to xmlrpc.php, your user name and your password.<br />
<img src="/wp-content/uploads/word/022407_0215_UsingWord201.png" /></li>
<li>Then, hit the Picture Options button and enter your FTP URL and the URL used in the Blog Posts.<br />
For WordPress, you&#8217;ll need to use &#8220;My own server&#8221; – &#8220;My blog provider&#8221; won&#8217;t do.<br />
The FTP URL is where your images will be stored. Source URL is what Word will prepend to the src= attribute of the img tag.<br />
<img src="/wp-content/uploads/word/022407_0215_UsingWord202.png" /></li>
<li>You can now publish, publish as a draft, edit categories, and edit existing posts. Wow.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.ben-peter.info/2007/02/24/using-word-2007-to-post-to-wordpress/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A draggable masked image behind transparent navigation</title>
		<link>http://www.ben-peter.info/2006/03/16/a-draggable-masked-image-behind-transparent-navigation/</link>
		<comments>http://www.ben-peter.info/2006/03/16/a-draggable-masked-image-behind-transparent-navigation/#comments</comments>
		<pubDate>Thu, 16 Mar 2006 03:21:45 +0000</pubDate>
		<dc:creator>Ben Peter</dc:creator>
		
		<category><![CDATA[CSS]]></category>

		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://www.ben-peter.info/?p=29</guid>
		<description><![CDATA[A friend asked whether it would be possible to have an image that can be dragged behind a mask, with a transparent navigation in the upper part of the page. The images are too large to fit on the page, so you need to be able to move it. Yes, they could be resized, but [...]]]></description>
			<content:encoded><![CDATA[<p>A friend asked whether it would be possible to have an image that can be dragged behind a mask, with a transparent navigation in the upper part of the page. The images are too large to fit on the page, so you need to be able to move it. Yes, they could be resized, but it&#8217;s a wanted effect.</p>
<p>Making things transparent in the top part is easy. A little extra treatment for Internet Explorer, and a transparent PNG will do. Making the image draggable was a single line of JavaScript with prototype/<a href="http://script.aculo.us/">scriptaculous</a>. Below is an example in an iframe (i know, i know, but it&#8217;s so easy this way). I have added a Fade/Appear for the navigation while the image is dragged, but it leaves the navigation hidden if the drag ends while the navigation is still fading. There certainly are ways around this, but this is enough for a proof of concept.</p>
<p><a href="/examples/scrollable-background/">here is the whole thing out of the iframe</a></p>
<p><iframe width="500" height="400" src="/examples/scrollable-background/">&lt;/p&gt;</iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ben-peter.info/2006/03/16/a-draggable-masked-image-behind-transparent-navigation/feed/</wfw:commentRss>
		</item>
		<item>
		<title>AJAX: back to static HTML pages</title>
		<link>http://www.ben-peter.info/2006/02/06/ajax-back-to-static-html-pages/</link>
		<comments>http://www.ben-peter.info/2006/02/06/ajax-back-to-static-html-pages/#comments</comments>
		<pubDate>Mon, 06 Feb 2006 09:41:30 +0000</pubDate>
		<dc:creator>Ben Peter</dc:creator>
		
		<category><![CDATA[AJAX]]></category>

		<guid isPermaLink="false">http://www.ben-peter.info/?p=28</guid>
		<description><![CDATA[AJAX allows for a lot of geeky stuff. I won&#8217;t talk about that. What I like particularly about AJAX is that it makes it so easy to serve static pages in complex applications.
Let&#8217;s start with an example: I often do sites on which 90% of the pages are static, only a few contain functionality that [...]]]></description>
			<content:encoded><![CDATA[<p>AJAX allows for a lot of geeky stuff. I won&#8217;t talk about that. What I like particularly about AJAX is that it makes it so easy to serve static pages in complex applications.</p>
<p>Let&#8217;s start with an example: I often do sites on which 90% of the pages are static, only a few contain functionality that requires server-interaction, like contact forms, calculators, subscriptions, etc. I always use some kind of framwork for navigation and templating. Sometimes a CMS is appropriate, sometimes I take my hand-rolled, which is XML and Smarty based.</p>
<p>Considering how many pages are static, it would be good to pull the static pages through wget and just display them statically. There is absolutely no need to parse XML, build navigation, and build content on each request for a page that never changes. But that disconnects the 10% of pages where content depends on user input. It is hard to build a elegant solution which knows a &#8216;render&#8217; mode and a &#8217;serve&#8217; mode.</p>
<p>That&#8217;s where AJAX comes into play: if all functionality is AJAX driven, then it becomes easy to render the pages statically, as AJAX allows us to completely separate HTML generation and logic processing server-side. They happen in two different requests.</p>
<p>This does not work with most of the existing AJAX frameworks, as they mangle HTML rendering and AJAX processing, although there is no need at all. It might work with PEAR&#8217;s <a href="http://pear.php.net/package/HTML_AJAX">HTML_AJAX</a>, I&#8217;ll need to investigate.</p>
<p>Not convinced? Rendering pages statically can be taken to exremes. For example, Saab&#8217;s <a href="http://saab.com/main/SE/sv/dyc/step1.shtml">configurator</a> consists only of statically rendered HTML pages</a>. This works, because it does not contain any dynamic elements. Now take the OPEL <a href="http://www.opel.de/shop/cars/astra/config/configstart.act">configurator</a>: it cannot be statically rendered as it contains service boxed, like a finance calculator in which the user can change parameters. But with AJAX, it can still be static: all server-interaction can be made when the page is loaded and when necessary.</p>
<p>AJAX: for <em>real</em> separation of presentation and logic.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ben-peter.info/2006/02/06/ajax-back-to-static-html-pages/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Internet Explorer cuts off the &#8216;W&#8217; with 11px Arial</title>
		<link>http://www.ben-peter.info/2006/01/25/internet-explorer-cuts-off-the-w-with-11px-arial/</link>
		<comments>http://www.ben-peter.info/2006/01/25/internet-explorer-cuts-off-the-w-with-11px-arial/#comments</comments>
		<pubDate>Wed, 25 Jan 2006 14:23:49 +0000</pubDate>
		<dc:creator>Ben Peter</dc:creator>
		
		<category><![CDATA[Misc]]></category>

		<category><![CDATA[CSS]]></category>

		<guid isPermaLink="false">http://www.ben-peter.info/?p=27</guid>
		<description><![CDATA[
I noticed several times that sometimes Internet Explorer cuts off the left leg of the W. After a little investigation, I found that this happens when a W in 11px Arial touches the left border of a box without left padding or margin. If the box is the first element in another box, and that [...]]]></description>
			<content:encoded><![CDATA[<p><img src="/images/cut-off-w/cut-off-w.gif"></p>
<p>I noticed several times that sometimes Internet Explorer cuts off the left leg of the W. After a little investigation, I found that this happens when <em>a W in 11px Arial touches the left border of a box without left padding or margin</em>. If the box is the first element in another box, and that box has padding, the error does not occur.</p>
<p> <a href="http://www.ben-peter.info/2006/01/25/internet-explorer-cuts-off-the-w-with-11px-arial/#more-27" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ben-peter.info/2006/01/25/internet-explorer-cuts-off-the-w-with-11px-arial/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Setting up a Strato HighEnd Server with Plesk</title>
		<link>http://www.ben-peter.info/2006/01/21/setting-up-a-strato-highend-server-with-plesk/</link>
		<comments>http://www.ben-peter.info/2006/01/21/setting-up-a-strato-highend-server-with-plesk/#comments</comments>
		<pubDate>Sat, 21 Jan 2006 20:50:53 +0000</pubDate>
		<dc:creator>Ben Peter</dc:creator>
		
		<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://www.ben-peter.info/?p=26</guid>
		<description><![CDATA[The Strato HighEnd Root Servers come with Plesk 7.5 preinstalled, and everything is ready to roll. But looking at phpinfo()&#8217;s output, it was obvious that there were still things to do to get to a system on which ez publish websites would run. Here is what I did.
]]></description>
			<content:encoded><![CDATA[<p>The <a href="http://www.strato.de/">Strato</a> HighEnd Root Servers come with Plesk 7.5 preinstalled, and everything is ready to roll. But looking at phpinfo()&#8217;s output, it was obvious that there were still things to do to get to a system on which ez publish websites would run. Here is what I did.</p>
<p> <a href="http://www.ben-peter.info/2006/01/21/setting-up-a-strato-highend-server-with-plesk/#more-26" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ben-peter.info/2006/01/21/setting-up-a-strato-highend-server-with-plesk/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Agile Messenger - Problem solved</title>
		<link>http://www.ben-peter.info/2006/01/21/agile-messenger-problem-solved/</link>
		<comments>http://www.ben-peter.info/2006/01/21/agile-messenger-problem-solved/#comments</comments>
		<pubDate>Sat, 21 Jan 2006 07:49:06 +0000</pubDate>
		<dc:creator>Ben Peter</dc:creator>
		
		<category><![CDATA[Rant]]></category>

		<guid isPermaLink="false">http://www.ben-peter.info/?p=25</guid>
		<description><![CDATA[I finally received a satisfactory answer to my problems with Agile Messenger. They gave me three free months, and have talked to my provider (I don&#8217;t know whether they talked to the SMS service provider or to E-Plus) and that I won&#8217;t be charged for the SMS. Here is the entire mail:
]]></description>
			<content:encoded><![CDATA[<p>I finally received a satisfactory answer to my <a href="http://beyond-php.com/2006/01/agile_messenger_charges_thrice.html">problems with Agile Messenger</a>. They gave me three free months, and have talked to my provider (I don&#8217;t know whether they talked to the SMS service provider or to E-Plus) and that I won&#8217;t be charged for the SMS. Here is the entire mail:</p>
<p> <a href="http://www.ben-peter.info/2006/01/21/agile-messenger-problem-solved/#more-25" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ben-peter.info/2006/01/21/agile-messenger-problem-solved/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Deficiencies in Strato&#8217;s ServerAdmin 24</title>
		<link>http://www.ben-peter.info/2006/01/19/deficiencies-in-stratos-serveradmin-24/</link>
		<comments>http://www.ben-peter.info/2006/01/19/deficiencies-in-stratos-serveradmin-24/#comments</comments>
		<pubDate>Thu, 19 Jan 2006 08:45:48 +0000</pubDate>
		<dc:creator>Ben Peter</dc:creator>
		
		<category><![CDATA[Hosting]]></category>

		<guid isPermaLink="false">http://www.ben-peter.info/?p=24</guid>
		<description><![CDATA[For a client, we rent a Strato Server with ServerAdmin24 pre-installed. ServerAdmin 24 is a customized ViSAS version.
The web interface is supposed to give a hassle-free access to typical tasks of the server admin, clients, and domain owners. But outbound email from PHP did not work, and neither could FTP users set up through the [...]]]></description>
			<content:encoded><![CDATA[<p>For a client, we rent a Strato Server with ServerAdmin24 pre-installed. ServerAdmin 24 is a customized ViSAS version.</p>
<p>The web interface is supposed to give a hassle-free access to typical tasks of the server admin, clients, and domain owners. But outbound email from PHP did not work, and neither could FTP users set up through the web interface log in.</p>
<p> <a href="http://www.ben-peter.info/2006/01/19/deficiencies-in-stratos-serveradmin-24/#more-24" class="more-link">(more&#8230;)</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ben-peter.info/2006/01/19/deficiencies-in-stratos-serveradmin-24/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
