• Resolved buanacyber

    (@buanacyber)


    Hi there,

    I wrote some html tags in my post_content column, just like this:

    “<p style=”text-align: center;”><span style=”color: #ff0000;”>*** BLA BLA BLA BLA BLA BLA BLA BLA BLA ***</span></p>
    <p style=”text-align: center;”>BLA BLA BLA !!!  <span style=”text-decoration: underline;”>BLA BLA BLA </span> BLA BLA BLA .</p>
    <p style=”text-align: justify;”>Bla bla bla Bla bla bla Bla bla bla Bla bla bla.</p>
    <p style=”text-align: center;”>BLA BLA BLA !!!</p>
    BLA BLA BLA :
    – Bla bla bla
    – Bla bla bla
    – Bla bla bla
    <p style=”text-align: justify;”>Bla bla bla Bla bla bla Bla bla bla.</p>
    <p style=”text-align: justify;”><span style=”color: #ff0000;”>BLA BLA BLA BLA BLA BLA BLA BLA BLA <span style=”color: #0000ff;”>BLA BLA BLA</span></span></p>
    <p style=”text-align: center;”>BLA BLA BLA.</p>

    But it doesnt work, its display only just a few line, no more, just like this :
    “<p style=”text-align: center;”><span style=”color: #ff0000;”>*** BLA BLA BLA BLA BLA BLA BLA BLA BLA ***</span></p>
    <p style=”text-align: center;”>BLA BLA BLA !!!  <span style=”text-decoration: underline;”>BLA BLA BLA </span> BLA BLA BLA .</p>

    And i see this error notification while i’m importing csv file:

    Warning: DOMDocument::loadHTML(): htmlParseEntityRef: no name in Entity, line: 8 in /home1/myname/public_html/mydomain/wp-content/plugins/wp-ultimate-csv-importer/plugins/class.inlineimages.php on line 28
    Created Post_ID – 28 – success , Author – not found (assigned to admin@mydomain.com) , Category – Category 1 | Category 1 , , Date – 2015-02-05 09:15:00 , Image -Image.jpg , Status – publish , Verify Here

    Would you please give me some help?

    https://wordpress.org/plugins/wp-ultimate-csv-importer/

Viewing 1 replies (of 1 total)
  • Plugin Author Smackcoders Inc.,

    (@smackcoders)

    Yes, it looks like breakage in csv due to format issues. It should be properly escaped and saved in UTF-8 format.

    I have made a private post import in our demo. Verify it
    Web view – http://demo.smackcoders.com/demowptwo/bla-bla/
    Admin view – http://demo.smackcoders.com/demowptwo/wp-admin/post.php?post=2297&action=edit

    So the csv should be like

    Title,Content,Author
    BLA BLA,"""<p style=""text-align: center;""><span style=""color: #ff0000;"">*** BLA BLA BLA BLA BLA BLA BLA BLA BLA ***</span></p>
    <p style=""text-align: center;"">BLA BLA BLA !!!  <span style=""text-decoration: underline;"">BLA BLA BLA </span> BLA BLA BLA .</p>
    <p style=""text-align: justify;"">Bla bla bla Bla bla bla Bla bla bla Bla bla bla.</p>
    <p style=""text-align: center;"">BLA BLA BLA !!!</p>
    BLA BLA BLA :
    - Bla bla bla
    – Bla bla bla
    – Bla bla bla
    <p style=""text-align: justify;"">Bla bla bla Bla bla bla Bla bla bla.</p>
    <p style=""text-align: justify;""><span style=""color: #ff0000;"">BLA BLA BLA BLA BLA BLA BLA BLA BLA <span style=""color: #0000ff;"">BLA BLA BLA</span></span></p>
    <p style=""text-align: center;"">BLA BLA BLA.</p>",buanacyber

Viewing 1 replies (of 1 total)

The topic ‘I Have Warning: DOMDocument::loadHTML(’ is closed to new replies.