Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I want to paste into Wordpress posts large amounts of text stored in MS-Word files.

When I directly copy-paste from MS-Word, the page usually breaks because of various MS-Word control characters.

So I prefer to save my text as .txt and then copy pure text and paste it in Wordpress.

However, I then lose all formatting, like bold and italics.

Any ideas?

share|improve this question

3 Answers 3

Maybe you can take a look at the XML-RPC function and using Microsoft Live Writer. I think this will keep all your formats in tact.

Further is gives you a nice interface to work with in a desktop environment. All you have to do is enable this function in the backend, options -> write.

Download and install Microsoft Live Writer and you are ready to go.

http://en.wordpress.com/windows-live-writer/

share|improve this answer
    
thanks a lot, much appreciated –  p.a. Dec 9 '11 at 12:06

Another option is the paste from Word button on the toolbar. The option is under the kitchen sink view. Here is more info: http://blogsolace.com/how-to-use-the-paste-from-word-feature-in-wordpress/

share|improve this answer

Under Linux at least, the Word-paste button loses a lot of useful formatting, such as titles or tables, and even bold and italics.

A work-around that I am using is by HTML export, and copy-pasting the HTML code into the HTML input box of Wordpress. For this, you need the HTML export to be clean enough, this is now mostly the case with OpenOffice-produced HTML.

To do this:

  • Open document in OpenOffice writer
  • List item
  • Save as HTML
  • Open HTML in notepad or other text editing tool
  • Select the relevant section and copy it
  • Open the post in Wordpress, click "HTML" to have the source code version
  • Paste at the correct place within your post (using your usual paste method, eg. CTRL-V).
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.