Ask Your Question
0

HTTP Authentication With WP All Import

asked 2018-11-30 10:50:02 -0600

dealyon gravatar image

updated 2018-11-30 16:32:06 -0600

Hello all,

To begin with, I've used URL and login in credentials to manually verify successful connectivity to the RETS XML file. So, link and username/password are properly configured.

I'm using WP Importer—not supported here—to populate posts within a Wordpress site. WP All Import instructs how to formate a feed URL to include username and password for HTTP authentication http://username:password@link-to-file. I've formatted the link accordingly and when submitted receive the following error: RETS ReplyCode="20036" ReplyText="Missing User-Agent request header field."

Reading up it seems injecting the username/password in the http request is not supported today. I've emailed WP Importer and in the meantime thought I might check this forum to see if anyone has another suggestion for RETS authentication using this or similar plugin.

Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2018-11-30 14:57:36 -0600

Is something like this what you are looking for?
"https://wp-property.github.io/addons/importer/xml-and-rets-setup-services-for-wp-property-importer.html"

edit flag offensive delete link more

Comments

Thank you @bwolven. I'll definitely read up on that plug in as an option on future projects. On receipt of your message I did email them to ask in they could provide implementation services. Hope to hear something from WP All Import as I've already purchased that plugin.

dealyon gravatar imagedealyon ( 2018-11-30 16:26:10 -0600 )edit

I've never worked with WP before but I know some RETS Vendors use that plug-in.
Hopefully it will work for you.

bwolven gravatar imagebwolven ( 2018-11-30 16:29:01 -0600 )edit

Hey @bwolven, just got a response from WP All Importer. They advised I ask Pargon how/if it would be possible to access the feed programmatically via the URL. Additionally if you have a PHP example, I can send it their way and they can advise further. Can you assist?

dealyon gravatar imagedealyon ( 2018-12-01 14:21:58 -0600 )edit

There is a PHP library for accessing RETS: "https://github.com/troydavisson/PHRETS"
You can access RETS using the URL such as in a browser.
You need to specify a RETS version as a parameter on the URL as well as transaction parameters.
But it is much easier to use a library for RETS.
Here are the steps:
* Login
* Search
...
* Logout

bwolven gravatar imagebwolven ( 2018-12-03 08:28:18 -0600 )edit

You can also download the Paragon RETS best practice document on the top right of the vendor support home page. The Blue link.
Also this question lists some resources too.
http://vendorsupport.paragonrels.com/...

bwolven gravatar imagebwolven ( 2018-12-03 08:30:06 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-11-30 10:50:02 -0600

Seen: 41 times

Last updated: Nov 30