WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Blogger import problem - HTML tags wrong (7 posts)

  1. mannerv
    Member
    Posted 5 years ago #

    I tried importing posts from my blogger account using the import feature.

    My posts look now like this in WordPress:
    Punnan ja euron kurssi alkaa lähentyä 1:1. Verkko-ostosten tekeminen Briteistä onkin nyt todella edullista.br /br /Katso esimerkiksi:br /a href=”http://play.co.uk”Play.co.uk/a - pelejä, kirjoja, elokuvia, musiikkiabr /a href=”http://www.warehouseexpress.com/Home/default.aspx”Warehouse Express/a - kameroitabr /a href=”http://www.hotukdeals.com/”Hot UK Deals/a - Brittien parhaat alennuksetbr /br /Ps. Projektini tehdä tärkeimmistä säästämisvinkeistä oma sivustonsa on taas edennyt. Katsopa siis a href=”http://www.tarkkamarkka.com”Tarkkamarkka.com/a ja käy liittymässä uuteen a href=”http://www.tarkkamarkka.com/foorumi”tarkan markan keskustelufoorumiin/a.

    Instead of <br /> making a break, the post shows /br. The same for other HTML tags. Any help is much appreciated.

    I am now (at this very moment) trying to import them first to WordPress.com and then export them out and import to my own WordPress.org blog...

  2. mannerv
    Member
    Posted 5 years ago #

    Okay, the WordPress.com import hanged at post 96/175. So that one did not work either.

    How can I import from Blogger without my posts becoming this garbage... :(

  3. mannerv
    Member
    Posted 5 years ago #

    Okay, I guess this might be related: http://josephscott.org/archives/2008/12/problems-with-libxml2-for-wordpress-xml-rpc-users/

    http://wordpress.org/support/topic/236178?replies=3

    I will try on doing it with WordPress.com if their servers XML RPC works...

  4. mannerv
    Member
    Posted 5 years ago #

    Here is the way to resolve this:
    Make a WordPress.com blog
    Import your Blogger blog there
    (even if the import hangs on screen, it has probably has gone through)
    Export the blog
    Import the WordPress.com export it to your WordPress.org blog

    This worked for me.

    In order to do a client-side redirect, I used Danny Ng's excellent script: http://www.dannytalk.com/2008/07/26/how-to-301-redirect-from-blogger-to-wordpress/

  5. Casper
    Member
    Posted 5 years ago #

    Hi,

    This is just to say that mannerv's comment above, is exactly what you need to do.
    I had the same problem, with HTML brackets ( < & >) being stripped, and then followed the steps above.

    It worked perfectly for my 700+ posts and 1300+ comments, but there were some kinks however;

    My tags haven't been imported, at all. Sad, but I can live with that.

    My XML export from WordPress.com were 3.9MB large, too big for wordpress, even tho I had set upload_max_filesize AND post_max_size in my php.ini.
    At the screen where I choose the file it said max. 8MB, but after pressing "Upload", it said "file too big, max is 3000kB."
    I solved this by chopping up the file in DreamWeaver into 2 equally large files, both below 2MB.
    If anyone wants to do the same, just make sure you scroll halfway thru the XML file and chop the content at these tags; <item> and </item>, including both of them.
    Also, see the FAQ about that.

    Just my 2 cents, if it helps anybody.

  6. mackaaij
    Member
    Posted 5 years ago #

    I'll contact my webhost to update the library but this plugin works:
    http://wordpress.org/extend/plugins/libxml2-fix/
    (the manual fix to comment out didn't work for me)

  7. egoldin
    Member
    Posted 4 years ago #

    Just to chime in here, as I spent the last hour or so trying to fix this, importing the blog at WordPress.com solved the problem.

    My web host has php 5.2.6, so that might have been the source of the problem, along with an old version of LibXML. But I prefer not to go through them, so importing at WP.com solved the problem for me!

Topic Closed

This topic has been closed to new replies.

About this Topic