First time here? Check out the FAQ!
0

HTTP Authentication With WP All Import

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!

dealyon's avatar
dealyon
asked 2018-11-30 10:50:02 -0500, updated 2018-11-30 16:32:06 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

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"

bwolven's avatar
bwolven
answered 2018-11-30 14:57:36 -0500
edit flag offensive 0 remove flag delete link

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's avatar dealyon (2018-11-30 16:26:10 -0500) 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's avatar bwolven (2018-11-30 16:29:01 -0500) 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's avatar dealyon (2018-12-01 14:21:58 -0500) 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's avatar bwolven (2018-12-03 08:28:18 -0500) 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's avatar bwolven (2018-12-03 08:30:06 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer