<?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>HenrikSteen.net &#187; Double angle quotes</title>
	<atom:link href="http://www.henriksteen.net/tag/double-angle-quotes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.henriksteen.net</link>
	<description></description>
	<lastBuildDate>Wed, 06 Jan 2010 19:59:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Få riktige anførselstegn i WP</title>
		<link>http://www.henriksteen.net/2009/03/automaticanglequotespluginforwordpress/</link>
		<comments>http://www.henriksteen.net/2009/03/automaticanglequotespluginforwordpress/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 09:08:01 +0000</pubDate>
		<dc:creator>Henrik Steen</dc:creator>
				<category><![CDATA[Faglig]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Double angle quotes]]></category>
		<category><![CDATA[Guillemets]]></category>
		<category><![CDATA[Wordpress innstikk]]></category>

		<guid isPermaLink="false">http://henriksteen.net/?p=1462</guid>
		<description><![CDATA[Med dette innstikket i Wordpress får du automatisk oversatt den innebygde 'curly quotes' til korrekte norske anførselstegn (Guillemets, "sjevroner", 'double angle quotes'). Also in english.]]></description>
			<content:encoded><![CDATA[<h4 class="ingress">Med dette innstikket i WordPress får du automatisk oversatt den innebygde &#8216;curly quotes&#8217; til korrekte norske anførselstegn (Guillemets, &#171;sjevroner&#187;, &#8216;double angle quotes&#8217;).</h4>
<p><span id="more-1462"></span></p>
<h4 class="byline"><em>Av </em><a href="mailto:hs@henriksteen.net">Henrik Steen</a></h4>
<p><strong>Also in english further down on the page.</strong></p>
<div id="attachment_1471" class="wp-caption alignright" style="width: 223px"><a href="http://www.henriksteen.net/wp-content/uploads/wp-anglequote.gif"><img class="size-full wp-image-1471 " title="wp-anglequote" src="http://www.henriksteen.net/wp-content/uploads/wp-anglequote.gif" alt="Få korrekte guillemets i WordPress" width="213" height="213" /></a><p class="wp-caption-text">Få korrekte guillemets i WordPress</p></div>
<p>WordPress&#8217; innebygde &#8216;<em>curly quotes</em>&#8216; er simpelthen ikke korrekt norsk tegnsetting. På norsk – og en rekke andre språk  – er det korrekt å bruke såkalte sjevroner, <em>Guillemets</em>, på engelsk &#8216;<em>double angle quotes</em>&#8216;.</p>
<p>Dette innstikket i WordPress er et filter som automatisk skifter ut &#8216;curly quotes&#8217; med korrekte norske doble &#171;-&#187; anførselstegn i teksten din.</p>
<p>Innstikket legger til et par filtre i WordPress-installasjonen som erstatter den numeriske ascii-koden for curly quotes med riktige nummer for &#171;de norske&#187;:</p>
<pre>venstre = str_replace('&amp;#8220;', '&amp;#171;', $curl);
og
høyre = str_replace('&amp;#8221;', '&amp;#187;', $curl);</pre>
<p>All tekst på din blogg der du bruker anførselstegn, vil nå få korrekt norsk formatering.</p>
<p>NB! Innstikket virker ikke dersom du har fjernet wpautop eller filtre i din WordPress-installasjon.</p>
<h4 class="mt">In english</h4>
<p>The Automatic Angle Quotes plugin adjust &#8216;curly quotes&#8217; to double angle quotes, <em>Guillemets</em>, which is correct quotation mark in Albanian, Arabic, Armenian, Belarusian, Bulgarian, Catalan, Estonian, Franco-Provençal, French, Galician, Switzerland, Greek, Italian, North Korean, Latvian, Lithuanian, Norwegian, Portuguese (European), Russian,  some languages of the former Soviet Union using Cyrillic script, Spanish (in Spain), Swiss languages, Turkish, Ukrainian and Vietnamese.</p>
<p>Will not work if the wpautop is turned off or filters have been removed.</p>
<p>The plugin is basically a filter that replace the &#8216;curly quotes&#8217; with double angle quotes, like this:</p>
<pre>left curl = str_replace('&amp;#8220;', '&amp;#171;', $curl);
and
right curl = str_replace('&amp;#8221;', '&amp;#187;', $curl);</pre>
<div class="download-area">
<h4 class="mt">Download plugin/Innstikket finner du her</h4>
<ul>
<li class="downloadlink">(txt/php) <a href="http://henriksteen.net/wp-content/uploads/wp-anglequote.php" onclick="urchinTracker('/outgoing/henriksteen.net/wp-content/uploads/wp-anglequote.php?referer=');">Automatic Double Angle Quotes plugin for WordPress</a></li>
<li class="downloadlink">(ZIP) <a href="http://www.henriksteen.net/wp-content/uploads/anglequote.zip">Automatic Double Angle Quotes plugin for WordPress</a></li>
</ul>
<h4 class="mt">Installering/install</h4>
<ol>
<li>Legg filen i WordPress-&gt;wp-content-&gt;plugin-mappen / put plugin in plugin-folder</li>
<li>Aktiver innstikket i kontrollpanelet / activate in controlpanel</li>
<li>(det er ikke noe punkt tre, egentlig&#8230;) / you&#8217;re done!</li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.henriksteen.net/2009/03/automaticanglequotespluginforwordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
