The MU forums have moved to WordPress.org

Posting via XML-RPC and html tags (3 posts)

  1. xyzzy
    Member
    Posted 15 years ago #

    I'm trying to use various XML-RPC clients to post to my WPMU blog. Basic functionality works fine. But, WPMU seems to be removing bracket in HTML tags and this is causing problems. For example:

    <img src="someimage.jpg"> become:

    img src="someimage,jpg"

    ie. the brackets are removed.

    Any ideas?

    Thanks-
    Bill

  2. matthes_s
    Member
    Posted 15 years ago #

    The same problem here!

  3. burtadsit
    Member
    Posted 15 years ago #

    This is a known issue with php 5.x and the libxml2 library that is compiled into php 5.x. It's a long and involved issue with plenty of finger pointing.

    You can find tons of info on it by looking for 'libxml2 problem' or 'xmlrpc problem' but this guy seems to have a handle on a solution. Available as a wp plugin.

    http://josephscott.org/archives/2009/03/wordpress-libxml2-episode-iv-a-new-plugin/

    I work alot with buddypress and it uses xmlrpc to talk to bbpress. bp solves the issue by filtering all outgoing <> chars and replacing them for the trip with something else.

    I haven't tried Joseph Scott's plugin. bp has it's own solution.

About this Topic