<?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>fadvisor.net/blog &#187; wordpress</title>
	<atom:link href="http://fadvisor.net/blog/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://fadvisor.net/blog</link>
	<description>Fahad Alduraibi Blog</description>
	<lastBuildDate>Tue, 29 Nov 2011 22:28:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WP-RTL</title>
		<link>http://fadvisor.net/blog/2008/10/wp-rtl/</link>
		<comments>http://fadvisor.net/blog/2008/10/wp-rtl/#comments</comments>
		<pubDate>Sun, 26 Oct 2008 21:46:50 +0000</pubDate>
		<dc:creator>Fahad Alduraibi</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[bidi]]></category>
		<category><![CDATA[left-to-right]]></category>
		<category><![CDATA[ltr]]></category>
		<category><![CDATA[right-to-left]]></category>
		<category><![CDATA[rtl]]></category>
		<category><![CDATA[tinymce]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://fadvisor.net/blog/?p=74</guid>
		<description><![CDATA[I have always wanted to write bidirectional posts with English and Arabic languages together. However, to do so I needed to have the support for RTL and LTR from the TinyMCE editor in wordpress which was not there (this is true at the moment of writing this post).  The only possible was was to edit [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">I have always wanted to write bidirectional posts with English and Arabic languages together. However, to do so I needed to have the support for RTL and LTR from the TinyMCE editor in wordpress which was not there  (this is true at the moment of writing this post).  The only possible was was to edit the post in the html form and add the required tags and parameters.</p>
<p style="text-align: justify;" dir="rtl">كثيرا ما وددت ان اكتب مقالا في مدونتي يحتوي كلمات من اللغة العربية الانجليزية ولكن ذلك يتطلب استخدام محرر نصوص يدعم الكتابة من اليسار لليمين ومن اليمين لليسار و للاسف فان محرر النصوص TinyMCE المدمج مع مدونت wordpress لا يقدم ذلك الدعم (الدعم غير موجود حتى لحظة كتابة هذا الموضوع). وكانت الطريقة الوحيدة لعمل ذلك هي عن طريق تعديل نص html مباشرة.</p>
<p style="text-align: justify;">One day I decided to write my own plugin to enalble such this feature and to my suprise I found that the original <a title="TinyMCE homepage" href="http://tinymce.moxiecode.com/" target="_blank">TinyMCE</a> editor already has that support in the needed files are actually installed with wordpress but are being disabled!  <img src='http://fadvisor.net/blog/wp-content/plugins/smilies-themer/Nomicons v2.0/unsure.png' alt=':?' class='wp-smiley' /> </p>
<p style="text-align: justify;" dir="rtl">في احد الايام قررت ان اكتب plugin لمدونة wordpress لاضافة هذه الخاصية وبعد البحث تفاجت بان البرنامج الاصلي لمحرر <a title="موقع TinyMCE" href="http://tinymce.moxiecode.com/">TineMCE</a> يوفر الدعم للكتابة بالجهتين وان الملفات الخاصه بذلك موجودة مع مدونة wordpress ولكنها غير مفعلة!  <img src='http://fadvisor.net/blog/wp-content/plugins/smilies-themer/Nomicons v2.0/unsure.png' alt=':?' class='wp-smiley' /> </p>
<p style="text-align: justify;">So that made my day easy and all I have done was to enable these features (LTR &amp; RTL) and add their buttons to the toolbar  <img src='http://fadvisor.net/blog/wp-content/plugins/smilies-themer/Nomicons v2.0/laughing.png' alt=':D' class='wp-smiley' /> </p>
<p style="text-align: justify;" dir="rtl">هذا الاكتشاف سهل العمل بشكل كبير حيث ان كل ما كان علي عملة هو تفعيل تلك الخاصية واضافة الازرار في شريط التحرير الخاص بـ TineMCE  <img src='http://fadvisor.net/blog/wp-content/plugins/smilies-themer/Nomicons v2.0/laughing.png' alt=':D' class='wp-smiley' /> </p>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2008/10/screenshot-1.png"><img class="size-medium wp-image-79 aligncenter" title="TinyMCE showing the LTR &amp; RTL buttons" src="http://fadvisor.net/blog/wp-content/uploads/2008/10/screenshot-1-300x106.png" alt="TinyMCE showing the LTR &amp; RTL buttons" width="300" height="106" /></a></p>
<address style="text-align: center;" dir="ltr">TinyMCE showing the LTR &amp; RTL buttons</address>
<address style="text-align: center;" dir="rtl">صورة تبين الازرار المضافة لشريط التحرير</address>
<address style="text-align: center;" dir="rtl"> </address>
<p style="text-align: center;"><a href="http://fadvisor.net/blog/wp-content/uploads/2008/10/screenshot-2.png"><img class="size-medium wp-image-80" title="The resulting HTML code with some LTR and RTL lines" src="http://fadvisor.net/blog/wp-content/uploads/2008/10/screenshot-2-300x94.png" alt="The resulting HTML code with some LTR and RTL lines" width="300" height="94" /></a></p>
<address style="text-align: center;" dir="ltr">The resulting HTML code with some LTR and RTL lines</address>
<address style="text-align: center;" dir="rtl">نص الـ HTML ويبين تعديلات الاتجاة للنص</address>
<p style="text-align: center;"><a href="http://wordpress.org/extend/plugins/wp-rtl/"><img class="size-medium wp-image-105 aligncenter" title="Download" src="http://fadvisor.net/blog/wp-content/uploads/2008/11/download.gif" alt="Download" width="100" height="30" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://fadvisor.net/blog/2008/10/wp-rtl/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

