Windows Live Writer este in opinia mea cea mai complexa aplicatie care permite แก้ไข และ publicarea articolelor pe un blog, Aplicatia poate fi folosita atat pentru blogurile hostate pe WordPress.com- แชร์พอร์ต- Blogger- TypePad, cat si pe cele self hosting-
Inainte de a conecta Windows Live Writer la un blog cu platforma Wordpress, trebuie mai intai sa bifam optiunile de Remote Publishing- Atom Publishing Protocol และ XML-RPC จาก แผงหน้าปัด > การตั้งค่า > Writing-

Dupa conectare, Windows Live Writer importa cateva elemente ale blogului printre care ธีมกราฟิก (optional) si tag-urile. Cand blogul are o ฐานข้อมูล foarte consistenta, in special pe tabelul cu tag-uri (numar mare) este posibil ca serverul pe care este hostat blogul sa nu permita conexiunea WLW-ului si apara erori de genul:
การตอบสนองของเซิร์ฟเวอร์ไม่ถูกต้อง – The response to the wp.getTags method received from the blog server was invalid-


ข้อผิดพลาดนี้ปรากฏขึ้นโดยเฉพาะเมื่อเราต้องการนำเข้ารายการแท็ก (wp_tags) ใน Windows Live Writer
รายละเอียดผิดพลาด-
Unexpected Error Occurred
An unexpected error has occurred within the application.
WindowsLive.Writer.Extensibility.BlogClient.BlogClientInvalid
ServerResponseException: Invalid Server Response - The response to the wp.getTags method received from the blog server was invalid:
Invalid response document returned from XmlRpc server
at WindowsLive.Writer.BlogClient.Clients.XmlRpcBlogClient.
CallMethod(String methodName, XmlRpcValue[] parameters)
at WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.
WordPressGetKeywords(String blogId)
at WindowsLive.Writer.BlogClient.Clients.MetaweblogClient.
GetKeywords(String blogId)
at WindowsLive.Writer.BlogClient.Blog.RefreshKeywords()
at WindowsLive.Writer.PostEditor.PostPropertyEditing.
SharedPropertiesController.<.ctor>b__0(Object sender, EventArgs args)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at WindowsLive.Writer.Controls.BitmapButton.OnClick(EventArgs e)
at System.Windows.Forms.Control.WmMouseUp
(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.
OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.
WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
สาเหตุของข้อผิดพลาด:
ในขณะที่นำเข้า (จาก แท็ก ในกรณีของเรา) เซิร์ฟเวอร์ที่โฮสต์บล็อกได้รับการร้องขอมากกว่าปกติอีกครั้ง ขีดจำกัดหน่วยความจำ (RAM) ที่จัดสรรให้กับการดำเนินการ สคริปต์ PHP เกินแล้ว ด้วยเหตุนี้เซิร์ฟเวอร์จึงปฏิเสธการเชื่อมต่อหรือหยุดการนำเข้า “เอกสารตอบกลับไม่ถูกต้องส่งคืนจากเซิร์ฟเวอร์ XmlRpc“-
การแก้ไขข้อผิดพลาด-
เช่นเดียวกับในกรณีที่เกิดข้อผิดพลาด “metaWeblog.newPost“วิธีแก้ปัญหาก็มาจาก .htaccess- เราจะต้องเพิ่มบรรทัดนั้น เพิ่มขีดจำกัดหน่วยความจำ กำหนดให้กับบัญชีเว็บโฮสติ้งที่มีบล็อกอยู่ เมื่อต้องการทำเช่นนี้ ให้เพิ่มบรรทัดใน .htaccess:
value memory_limit 256M
คุณค่า 256ม อัน “หน่วยความจำ _limit” ชุด ขนาดสูงสุดที่แสดงเป็นไบต์ อันไหน สคริปต์ PHP สามารถใช้งานได้- ขีดจำกัด “หน่วยความจำ _limit” ถูกตั้งค่าเริ่มต้นเป็น 128ม ของไฟล์ php.ini (config-ul PHP_INI_ALL ต่อเซิร์ฟเวอร์สำหรับ PHP) บนเซิร์ฟเวอร์ที่รีสตาร์ทส่วนใหญ่ พีพี 5.3.10- ในอดีตกาลก่อน พีเอชพี 5.2.0 มูลค่าเป็นของ 8มและด้วยการเปิดตัวเวอร์ชั่น พีเอชพี 5.2.0, ค่านี้ตั้งไว้ที่ 16ม-
ก่อนนำเข้า แท็ก ใน WLW คุณสามารถเพิ่มขีดจำกัดนี้ให้สูงกว่า 128Mแต่คุณต้องคำนึงถึงด้วย หน่วยความจำทั้งหมดของเว็บเซิร์ฟเวอร์- คำสั่ง “หน่วยความจำ _limit” ป้องกันไม่ให้สคริปต์ PHP ที่เขียนผิดพลาดใช้หน่วยความจำที่มีอยู่ทั้งหมดบนเซิร์ฟเวอร์ ขอแนะนำให้หลังจากนำเข้าแล้ว ให้ลบบรรทัดนี้ออกจาก .htaccess เพื่อกลับไปเป็นค่าเริ่มต้นที่ตั้งไว้ php.ini-
หากคุณไม่สามารถเข้าถึงการตั้งค่าการปรับเปลี่ยนค่าได้ “หน่วยความจำ _limit”ในสถานการณ์นี้ คุณจะต้องติดต่อผู้ให้บริการที่โฮสต์บล็อกของคุณ ด้วยเหตุผลด้านความปลอดภัยและประสิทธิภาพ ผู้ให้บริการเว็บโฮสติ้งส่วนใหญ่จะจำกัดการเข้าถึงบัญชีในการตั้งค่า “อ่อนไหว” ของเซิร์ฟเวอร์