Support » Requests and Feedback » [Plugin: WP-o-Matic] proxy support?

[Plugin: WP-o-Matic] proxy support?

  • wp-o-matic works great on my test-blog at home, but cannot use our corporate proxy which is obligatory for accessing the outside world. having an option to set proxy+authentication would be great (implication: this would imply changes to simplepie). any chance this would be added? 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    Huh, this plugin sounds like a sploggers dream… but anyway…

    Try this:

    Download the latest version from http://wordpress.org/extend/plugins/wp-o-matic/

    Edit wp-content/plugins/wp-o-matic/wpomatic.php and change line 394 from


    to now read

    WPOTools::getBinaryPath('curl', ' -U proxyuser:proxypasswd -x proxy:8080'),

    Change proxyuser, proxypasswd, proxy, and 8080 to the appropriate values.

    I’m guessing you have curl on your system. When you setup the plugin if it finds curl and you make these edits, then you’ll see it in the generated config.

    i have a dream, but it doesn’t involve sploggers 😉 i want write on my personal blog (on the web) and autopublish relevant posts on my company internal blog (behind the firewall) by pulling them in using wp-o-matic.

    getBinaryPath is only used to “cronify” wp-o-matic, it uses simplepie to actually fetch and parse feeds. I added 2 lines in the curl function in wp-o-matic\inc\simplepie\simplepie.class.php:

    curl_setopt($fp, CURLOPT_PROXY, ‘proxy:port’);
    curl_setopt($fp, CURLOPT_PROXYUSERPWD, ‘user:pwd’);

    and it works just fine. but wouldn’t it be great if you could set proxy & proxyauth in wp-o-matic (or simplepie) plugin admin?

    Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    Laughter. I read the simplepie part too 🙂 putting in curl_setopt is the correct way to go.

    It would be nice to have the option page include a proxy part as part of the UI. But what you’ve done is likely the quickest way to get it through your proxy.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WP-o-Matic] proxy support?’ is closed to new replies.