• Hi I am using Really Simple CSV Importer to create multiple posts.

    I write a python3 script to generate a csv file for the import. The script is generated in VIM with utf-8 encoding.

    Specifically, I put the ‘post_content’ field at the end of each row, and the value for each entry looks like (in double quotes with escape):

    "[embed]https://videourl[/embed]
      
      
     
      
      
     More from: <a href=""https://www.bilibili.com/video/av4697931/"">Fan ShotLibrary </a>"

    The csv works fine except for one thing: I always get one ” mark after the hyperlink text ‘Fan Shotlibrary’. It looks like:

    More from: Fan Shotlibrary

    The complete csv file generated is below:

    "post_type","tax_custom_category","post_tags","post_status","post_title","post_content"                               
    "videopost","custom_taxonomy","tag1,tag2","publish","TITLE","[embed]https://videourl[/ embed]
    
    &nbsp;
    
    &nbsp;
    
    More from: <a href=\"https://www.bilibili.com/video/av4697931/\">Fan ShotLibrary </a>"

    I compared it with the sample.csv, which also contains paragraphs in post_content; I always tried two escape methods, with ” and \\. I get the same results.

    Thanks for the help.

    • This topic was modified 7 years, 6 months ago by fredhdx.
    • This topic was modified 7 years, 6 months ago by fredhdx.
  • The topic ‘Trailing ” after [post_content] with “Really Simple CSV Importer”’ is closed to new replies.