Remove HTML tags from Microsoft Word automatically in WordPress

One of the most common errors, and one of the most ugly bugs in WordPress, is when copy-paste text from Microsoft Word . It is a terrible practice, which I never tire of repeating that is avoided.

And that is if you see " forced " to create a text in MS Word, you can always paste it in the editor HTML so that it does not inherit HTML tags that Word itself generates. Even WordPress incorporates in the editor an icon to paste from Word which does just that.

And it is not a mania, because there are times when that silly and simple fact of copying and pasting from Word to the WordPress Visual editor can even destroy the design of your website so do not take it as a joke.

But even if those WordPress editors do not always have recourse to a small code for mercilessly eliminate those Word HTML tags that do not do any good.

To do this you just have to incorporate these lines to your function plugin or to the file ] functions.php of the active theme:

// Remove Word HTML

function cleanHTML ( $ html ) {

$ html = ereg_replace ( "<(/)?(font|span|del|ins)[^>] *>" "" $ html [19659012]) ;

$ html = ereg_replace ( "<([^>] *) (class | lang | style | size | face) = (" [ ^ "] * " | '[^'] * '| [^>] + ) ([^>] *)> "," <1> ", $ html);

$ html = ereg_replace (" <([^>] *) (class | lang | style | size | face) = ("[^”] *" | ' [ ^ '] * ' | [ ^ > ] + ) ( [ ^ > ] * ) > "," < 1 > " $ html ) ;

return $ html

}

Save the changes and you'll be free of unexpected surprises.

WordPress.com for Windows 8?

I do not finish coming out of my astonishment, and that is that Microsoft is still trying to retry the wheel, usually trying to make it square it turns out that Automattic now imitates Microsoft in its efforts to reinvent the wheel, and now it's square.

Okay, I'm a Mac user many years ago, as I am also a Windows user since its first versions, of MS-DOS, Linux from Slackware 2, even OS / 2 Warp and CP / M, but what does not make sense does not have it, and this is the bullshit of the year less coming from Automattic

On this occasion the happy idea is to offer a application for Windows 8 from which to manage, view, publish on WordPress.com. Of course, you need an Internet connection, otherwise you will not connect clearly.

 wordpress com for windows 8 "title =" wordpress com for windows 8 "width =" 500 "height =" 327 "class = "aligncenter size-medium wp-image-63580" srcset = "http://bootstrapx.com/wp-content/uploads/2018/06/wordpress-com-para-windows-8-500x327.png 500w, https: / /ayudawp.com/wp-content/uploads/2012/06/wordpress-com-para-windows-8.png 1004w "sizes =" (max-width: 500px) 100vw, 500px "/> </a> </p>
<p> The "<em> thing </em>" this one serves to navigate "<em> by WordPress.com </em>", seeing the latest articles, photos and so on. It also offers some icons to do "<em> Reblog </em> ", Do" <em> I like </em> "to" WordPress.com style "or follow the blog in question, besides the possibility of publishing in your / s blog / s of WordPress.com. </p>
<p> <strong> That is, the same as in WordPress.com </strong> but opening a <strong> application that cons ume additional memory </strong>which adds more data to the already saturated Windows registry, occupying space on your hard drive, with limited features, because it is not WordPress.com in its entirety, only without using the browser, which by the way It is pre-loaded from the start of the operating system, so even in that you do not save system memory. </p>
<p> Come on, <del datetime= Microsoft on its line (twisted) which Automattic has gone to the dark side.

If you're still curious to try it, then nothing, download the Preview Release of Windows 8 and you get the pleasure of wasting time with a diminished, stupid version without sense of WordPress.com canned in a Windows application .

Microsoft supports WordPress and has done cool things, some as successful as migrate Live Spaces to WordPress what that honors them, but this Automattic I do not understand, it's like the shits of Oxite and Orchard and someone else will explain it to me.

Live to see!

Updated to reverse the guilt of the monster, it turns out that the application is Automattic, not Microsoft, as well I have reminded me in the comments.

NOTICE : this publication is two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you:

Migration from Live Spaces to WordPress, complete guide and FAQ

 Windows Live Spaces + WordPress.com

Good, as it was a few days ago that was announced the migration of Spaces from Microsoft Live to WordPress.com and, given that the information is somewhat scattered and not very clear, in front of the questions of the new users that are already coming here and the forum I have decided to gather all the available information about the [19659004] migration of Live Spaces to WordPress .

I hope it helps you, especially since in the official WordPress.com Spanish forums for the moment they send you closing the strings and going to contact form (in English) and in the official blog send you to the post from Microsoft and, back to the WordPress.com forums, which give you back here, creating an infinite loop (sic). Come on, a show of how to dizzy the user and not give an answer to so much concern.

Let's go to it …

1. What is the reason for the migration of Live Spaces to WordPress.com ?

La official explanation is that with this agreement Microsoft has decided to offer a better blog publishing platform to Live users, something with what we agree (in which WordPress is better), what has not been said are the final strategic reasons for this action, if Microsoft wants to go further in its relationship with Automattic or even if it intends to "sponsor" other services such as Gravatar or even Intense Debate, and almost prefer not or may soon have to have Live account to access our blog, knowing the tendency of Microsoft to try to control everything (just like Apple but above without dazzling the user). In short, and as good Marcelino points me is that Microsoft leaves Live Spaces period.

2. Migration, step by step

Step 0: Start migration in Live Spaces

  1. Go to your space and sign in.
  2. Click on First steps. Update my blog to WordPress.com
  3. Click on Continue
  4. The main page of WordPress.com will appear.

  5. Follow the instructions on the screen, which we detail below …

Step 1: Connection [19659018] The first thing we have to do is connect everything together in the update process. If you already have an account on WordPress.com you can enter your information there if you prefer to bring your Live Space to the existing account. If not, create a new account at http://es.wordpress.com before you begin.

To start the migration, click on the "Connect" button

If you did not see the button is that WordPress.com has not detected that you already have an account on the site, you just have to sign in and you'll see it.

Once you click on the "Connect" you will be asked to connect to your Microsoft Live account if you have not already done so, in order to connect your Live Space to WordPress.com. It would be a screen like this …

If you had not accessed before, fill in the access information to your Windows Live account and, in both cases, click on the "Connect" button or "Connect", as it appears.

Of course, if you do not agree to make the connection, you can end the process right here by clicking on the "No, thanks" or "No, thanks" button.

Step 2: User account

If you already have an account on WordPress.com you are ready to start, otherwise you will be asked to create a new one …

No you get scared if you already see the data filled out in the form with your Live ID information, that's because these data are known – and used – in the connection process. Of course, if you want you can change the data at this time for which you want. It is important that you choose a password as secure as possible, for this you will see an indicator that changes color as you type.

Read the conditions of service, check the box that indicates that you agree with them (if so ) and you click on the "Next" button.

If you had already accessed your WordPress account or as I recommended in the previous step, you will not have to fill in anything, just choose if you want your Live Space to be integrate in a site already created or you prefer to create a new one (usually the most usual choice if the content is different from other sites you already have).

If you choose a site already existing one will be asked if you want to allow notices of your new posts to be sent to your Windows Live Messenger account.

In any case, after doing the above, click on "Next" (next)

Step 3: Create your site on WordPress.com

This we have already covered on several occasions and, almost the best, is that you see the following presentation (from slide 15) that shows you all the steps to take, it is just a matter of filling in information, in a couple of screens you will have your created site.

Step 4: The update

Once you have completed the information of your new site, such as the URL it will have and the name of it, we have already started the migration of the content from your Live Space to WordPress. The first thing you will see will be a confirmation screen before starting the process …

While the migration is taking place, you will receive a WordPress email welcoming you, so you will be entertained in the process . When you have finished you will see a screen like this …

And is already you have finished the migration itself, now it is possible that some fringes have been left, let's see them.

3. I do not trust the migration, I want to download my Space

You can keep a copy of your current Spaces blog and decide later (be careful, before March 16, 2011) if you want to move it to WordPress.com or another service blog

  1. Go to your space and log in.
  2. Click on Download my blog to my PC (Download my blog on the computer).
  3. In the File Download dialog box, click on Save. Select the location where you want to save the file, then click Save.

The blog will be saved in HTML format and organized into folders so you can easily store and review it.

4. Step, you pissed me off, I erase my Space

Nothing, you'll come back (to WordPress), if you want to delete your space:

  1. Go to your space and log in.
  2. Click on Continue and delete my space.
  3. Remember that you can not undo this action, it is irreversible, if you doubt better make a copy before.

  4. Click on Continue

5. I have lost my Lists after having migrated to WordPress.com

Microsoft has designed a temporary solution for users who have lost their Lists after having migrated their blog to WordPress. If you are one of those users who wish to retrieve access to your Lists information, follow these steps:

  1. Log in to your Windows Live Profile ( http://profile.live.com )
  2. At the top of your browser (where you'll see the address: http: // {cid} .profile.live.com – Add the word "lists" without the quotes at the end of the URL. it will look like this: http: // {cid} .profile.live.com / lists
  3. Click on Enter.

You will then have access to all the lists that were previously available in your Space.

Note: This solution will only be available until March, 2011 so you better copy and save them on your computer because then you will not be able to recover them

In WordPress, of course, you can create lists. but my advice is as follows:

  1. Create a new entry
  2. Form your list as you want, you can even add links to each element of it
  3. Switch to the HTML editor and copy the generated code (control + co command + c on your keyboard)
  4. Add a text widget to "Appearance -> Widgets"
  5. Put the title you want and in the text box paste (control + vo command + v) the code that you copied before
  6. Click on save to be save the changes in the widget and your list will appear in the chosen sidebar of your site
  7. The entry you used can delete it or save it (without publishing it) and use it to generate codes whenever you want to use this trick to paste HTML in your text widgets

5. FAQ (frequently asked questions)

What happened to my photos?
If you have a photo module in your space, you can continue organizing, storing and sharing photos in Windows LiveSkyDrive. But it will not be migrated to WordPress.com, only that multimedia content integrated to the blog entries will be moved.

Can I move my theme?
No, you can not move your theme but on WordPress.com you will find More than 100 to choose from.

Can I move lists, guestbooks or notes?
No, WordPress offers you a lot of similar functionalities in some cases, in addition to many that you did not know, such as statistics in Real time, icons to share your posts on social networks, polls, buttons to vote comments and much more. Take a tour of the administration desk of your site and you'll see.

If you had lists of links to friendly blogs, modules and things like that save everything you can in HTML or even by hand, then you can add it in the widgets of text (not always because WordPress.com restricts certain codes by security issues) and links in the links section, and then add the link widget.

My Spaces blog was private, is it also after migrate to WordPress?
In the migration this configuration is saved, however you can change it at any time in the privacy options of the WordPress administration desktop.

If you had friends who allowed you to see your private blog this information it does not matter so you'll have to mark your site in WordPress so that only the people you choose will see it. Then, in the user configuration page you can add them to the site (they are required to open an account in WordPress.com even if they do not create a site).

What about the drafts?
They do not migrate like this what better to publish before the migration. Then, if you want, you can have them go back to being drafts in the publishing options of the WordPress ticket editor.

Are the comments migrated?
Yes, the comments of your posts will be migrated to WordPress

What about my photo albums?
If you did not have the images inserted in your blog posts in Spaces, they will not be migrated. You can insert them in the right place before migration. However, your albums will still be available at Windows Live Photos .

Where are my friends and groups?
WordPress.com does not have a "group" or "friends" system as you know it in Live Spaces so you can not migrate that part. If you remember the detailed migration process before there is a step where you can choose to have your entries sent to Messenger Connect, so your contacts will know when you publish something new.

From there you can use the WordPress systems of tags, site discovery and subscriptions to find new friends and blogs to read.

Where do I find help?
You have several main sources of WordPress help:

NOTICE : this post is two or more years ago. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you: