WordPress Verbra Import

My client was using Verbra to manage their properties and wanted to improve on their current site, which used Verbra’s own website to host the properties details. This was not ideal and presented the following issues:

  • Control of design: Whilst Verbra will try to replicate the website design, there are elements that will not completely match. Therefore you will end up with a site that may look slightly different then you originally intended.
  • Change of URL: Users are redirected to verbra.com and this can create trust issues amongst users. It’s never ideal to redirect to another domain.
  • SEO:  With all the data being hosted on Verbra’s own website, there will be no SEO benefit to the client’s own site.

My solution was to build a WordPress website that integrated with Verbra’s Client Feed Export API and imported all properties into WordPress on regular timed intervals throughout the day.

The script would do the following:

  • Import any new properties;
  • Update information on any current properties;
  • Remove any properties that no longer exist;
  • Remove media from any deleted properties in order to keep the size of the WordPress media library at a manageable size.

Here is a snippet of the script I created.

[snippet slug=wordpress-verbra lang=bsh]

 

If you are interested in integrating Verbra into WordPress, please get in touch.