Deprecated: __autoload() is deprecated, use spl_autoload_register() instead in /var/www/sites/public_html/wiju.com/core/common/functions.inc.php on line 7
Contact - Wiju

Houses Feed

If you have a webpage with published ads, you can include them in Wiju! It is very simple:

  1. Create an XML file following the format guidelines specified below.
  2. Send us the URL where your feed is located (For example: http://www.yourdomain.com/wiju_feed.xml) using our contact form.

From that moment, we will periodically read your feed to insert new ads, make the appropiate changes and expire the ads that are no longer present in your feed.

Your ads will be included in Wiju's search results as soon as possible.

If you have any questions do not hesitate to contact us

XML Feed Format

These are the instructions for generating an XML feed to include your ads in Wiju. If you find it convenient, you can use our XSD Schema that describes the structure of the feed. If you need more information on the XML format we recommend that you consult Wikipedia.

The file must be encoded in UTF-8

The XML file will have a main <wiju> tag that will collect a set of ads represented by the <ad></ad> tags. Each <ad></ad> block contains required and optional fields:

REQUIRED FIELDS

The required fields are the set of XML tags that provide the minimum amount of information necessary for our systems to include your ads in Wiju.

  • id: ID of the ad on your page (can be numeric or alphanumeric, but must be unique, because we use the ID to avoid duplicate ads).
  • url: URL of the ad on your website.
  • title: Title of the ad.
  • content: Description of the ad (minimum 30 characters). Remember that the better the description, the bigger your audience will be!
  • type: Type of ad. The content of this field must be one of the following: Rent, Sale.

OPTIONAL FIELDS

Optional fields should not be added if they have no content. But if you have these fields on your website, please include them in your feed. Wiju's ordering algorithm prioritizes to quality, so the more complete the ad is, the better its position will be!

  • price: Precio de la vivienda.

    When the price is specified in a currency other than the country's official currency, you must use the 'currency' attribute. The values are determined by the ISO-4217 specification. Thus, Wiju will convert the value to official currency.

    <price currency="USD"><![CDATA[..]]></price>

    This would specify the price of housing in dollars. Do not include currency symbol next to the price. See technical specifications for details.

  • property_type: Housing type.

    Example: Apartment, Room, Tower Block, Chalet, Country House, etc.
    Only applicable if the ad is "For Rent", "For Sale".

    * Apartment * Room * Tower Block * Penthouse * House * Semidetached * New Building * Villa * Chalet * Duplex * Office * Loft * Story * Flat * Ranch * Farm * Business/Office * Rural Cottages * Countries * Farmhouse * Cottage * Country House * Parking Lot * Land * Shared Apartment

  • city: City where the Housing is located.
  • region: Name of the region / state where the Housing is located.
  • postcode: Zip Code.
  • floor_area: Size of the property. If not specified the unit of measure is determined by means of the default local unit. You can specify the unit of measure with the attribute 'unit': * meters * feet.
  • rooms: Number of rooms of the property.
  • bathrooms: Number of bathrooms of the property.
  • latitude: Latitude where the property is located. Refer to technical specifications for more details.
  • length: Length where the property is located. Refer to technical specifications for more details.
  • pictures: This tag includes the different images of the property.

    The field that defines a particular image is <picture>:

    • picture: This tag includes the fields for the URL and the title of the image (the title is optional).

      The fields that must be defined within the <picture> element are:

      • picture_url: URL where the picture is located.
      • picture_title: Title of the image.
    <pictures>
        <picture>
            <picture_url><![CDATA[..]]></picture_url>
            <picture_title><![CDATA[..]]>/picture_title>
        </picture>
        <picture>
            <picture_url><![CDATA[..]]></picture_url>
            <picture_title><![CDATA[..]]>/picture_title>
        </picture>
            ..
    </pictures>
    

    The image shown in Wiju for a specific ad will be the first of the set of images.
    You should choose the most relevant image as the first one because it will have great influence on user clicks.

    Wiju does not allow the inclusion of corporate pictures with the "Picture not available" message.
    If this is detected, Wiju reserves the right to block your ads.

    Once your ads are inserted in Wiju, the images associated with them cannot be modified even in the next reading of your feed.
    Make sure the new ads you add to your feed have the correct images.

  • date: Date the ad was posted. The correct format is DD/MM/YYYY.
  • time: Time the ad was posted. The correct formats are HH:MM or HH:MM:SS.
  • expiration_date: Date the ad will expire. The correct format is DD/MM/YYYY.

The following field must be filled according to if it is true or false. Refer to technical specifications to know what values represent true and false values.

  • is_new: Is the property new?

The XML feed will look like this:

<?xml version="1.0" encoding="utf-8"?>
<wiju>
	<ad>
        <id><![CDATA[..]]></id>
        <url><![CDATA[..]]></url>
        <title><![CDATA[..]]></title>
        <content><![CDATA[..]]></content>
        <type><![CDATA[..]]></type>
        
        <price><![CDATA[..]]></price>
        <property_type><![CDATA[..]]></property_type>
       
        <date><![CDATA[..]]></date>
        <time><![CDATA[..]]></time>
       
        <city><![CDATA[..]]></city>
        <region><![CDATA[..]]></region>
        <postcode><![CDATA[..]]></postcode>
       
        <floor_area unit="meters"><![CDATA[..]]></floor_area>

        <rooms><![CDATA[..]]></rooms>
        <bathrooms><![CDATA[..]]></bathrooms>
       
        <pictures>
         <picture>
          <picture_url><![CDATA[...]]></picture_url>
         </picture>
         <picture>
          <picture_url><![CDATA[...]]></picture_url>
         </picture>
        </pictures>
	</ad>
	<ad>
        ....
	</ad>
	<ad>
        ....
	</ad>
	...
</wiju>
  

Sample XML Feed

<?xml version="1.0" encoding="utf-8"?>
<wiju>
  <ad>
    <id><![CDATA[16677402]]></id>
    <url><![CDATA[http://www.yourdomain.com/post/like-new-condo-in-beautiful-punta-gorda-fl-long-term-rental]]></url>
    <title><![CDATA[Like New Condo in Beautiful Punta Gorda, FL-Long Term Rental]]></title>
    <content><![CDATA[Beautiful new condo, recently constructed. Fabulous eat in kitchen with upgraded wood cabinets. All stainless appliances.]]></content>
    <type><![CDATA[For Rent]]></type>
    <price><![CDATA[1200]]></price>
    <property_type><![CDATA[Condo]]></property_type>
    <date><![CDATA[2012-02-17]]></date>
    <time><![CDATA[17:52]]></time>
       
    <city><![CDATA[Punta Gorda]]></city>
    <region><![CDATA[Florida]]></region>
    <postcode><![CDATA[33950]]></postcode>

    <floor_area  unit="meters"><![CDATA[200]]></floor_area>
    <rooms><![CDATA[2]]></rooms>
    <bathrooms><![CDATA[1]]></bathrooms>
 
    <pictures>
      <picture>
        <picture_url><![CDATA[http://www.yourdomain.com/imagen_1.jpg]]></picture_url>
      </picture>
      <picture>
        <picture_url><![CDATA[http://www.yourdomain.com/imagen_2.jpg]]></picture_url>
      </picture>
    </pictures>
    
  </ad>
</wiju>
    

Version of about: 30/07/2012