Support » Plugin: Blogger Importer » I Want My Inline STYLE, INPUT, IFRAME etc tags?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Workshopshed

    (@workshopshed)

    It should not lose IFrames, we did have an issue a few versions back where it was not using the correct sanitiser due to an issue with SimplePie but that should be fixed.

    Do you have an example of one of your iframes that is getting stripped?

    The code for “cleaning” the posts should be in blogger-importer-sanitize.php and you should be able to change that to include Input, Class and ID.

    STYLE tags are intentionally stripped out so that the WordPress theme can control the appearance rather than old blogger tags.

    EXEIdeas

    (@exeideas)

    Q1.) How To Imports All Tags And Attributes?
    Ans.) Do the following import add tags and attributes from blogger.
    1.) Go To Your FTP.
    2.) Edit “/wordpress/wp-content/plugins/blogger-importer/blogger-importer-sanitize.php”.
    3.) Find The Below Line To Imports Tags…
    var $strip_htmltags = array(‘base’, ‘blink’, ‘body’, ‘doctype’, ‘font’, ‘form’, ‘frame’, ‘frameset’, ‘html’, ‘input’, ‘marquee’, ‘meta’, ‘script’, ‘style’);
    4.) Remove your desired tag from this banned list to get in your WordPress blog.
    5.) Find The Below Line To Imports Attributes…
    var $strip_attributes = array(‘bgsound’, ‘class’, ‘expr’, ‘id’, ‘imageanchor’, ‘onclick’, ‘onerror’, ‘onfinish’, ‘onmouseover’, ‘onmouseout’, ‘onfocus’, ‘onblur’, ‘lowsrc’, ‘dynsrc’, ‘trbidi’);
    6.) Remove your desired attributes from this banned list to get in your WordPress blog.
    7.) Save and Done.

    EXEIdeas

    (@exeideas)

    Thanks for replying and answering me. Now I got what I want and shared the whole steps in upper reply yo new comers can get it perfectly if they want.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I Want My Inline STYLE, INPUT, IFRAME etc tags?’ is closed to new replies.