Access to protected feeds via HTTP authentication?

I'm using Multisite Privacy to protect a WP network. I've selected "Visitors must have a login" for each site.

I'd like to access the feeds for these sites from the dashboards of sites in another network, displaying them with your Dashboard Feeds plugin. (Protected content authored in NetworkA, displayed in dashboards for users of NetworkB.)

However, the authentication at NetworkA is getting in the way, and supplying http://username:password@domain.com/feed doesn't seem to be supported.

Is there a way for me to achieve this?

  • Alexander

    @WRDSB,

    Im sorry HTTP authentication isn't available. It's actually a Wordpress core issue, because the RSS library used doesn't support it.

    The Dashboard Feeds plugin uses the "fetch_feed" Wordpress function. That function runs off the SimplePie library, which currently doesn't support http authentication.

    With custom coding, you could use the Wordpress HTTP API to retrieve the information. This way you could add headers for the http authentication. However, at this point you'd also need to implement your own RSS parser.

    Thanks for being a WPMU DEV member. Let us know if we can be of any further assistance.
    Best regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.