If you have ads you want to include in the rentfrog.com database, you can use an XML feed. You can find detailed instructions on this page. Once you are ready, you can submit partnership request to rentfrog.com. The XML file will be hosted on your server and you will update the file on a regular basis. We will download the file and include your ads in the rentfrog database automatically.
-
File Formats:
The feed can only be in XML format
-
Encoding:
File must be UTF-8 encoded.
-
Content:
The feed contains the new ads for the specific date. A new feed must be generated everyday with "_date" added to the name, ie: rentfrog_20101123.xml with the new ads for that day. If a specific ad should be deleted, it can be included with the field set, and < STATUS > D < /STATUS > field.
-
Location:
You host your feed and we will download it from the URL you provide us
-
Field Specifications:
| Field
|
Format
|
Comments
|
| ID
|
Text
|
Partner unique ID for that specific ad.
|
| TITLE
|
Text
|
Ad title. It must be enclosed on a < ! [ CDATA[ ]] > wrapper.
|
| DESCRIPTION
|
Text
|
Ad description. It must be enclosed on a < ! [ CDATA[ ]] > wrapper.
|
| DATE
|
yyyy-mm-dd (hh:mm:ss)
|
The date when the ad was posted. Time hh:mm:ss is optional
|
| EMAIL
|
Text
|
Contact email. It must be enclosed on a < ! [ CDATA[ ]] > wrapper.
|
| LOCATION_STATE
|
State Code
|
State abbreviation code where the ad is located.
|
| LOCATION_CITY
|
Text
|
City name where the ad is located.
|
| ZIP_CODE
|
Integer
|
Zip code where the ad is located.
|
| ADDRESS
|
Text
|
Address where the ad is located. It must be enclosed on a < ! [ CDATA[ ]] > wrapper.
|
| PHONE
|
Standard Phone Number
|
Contact phone
|
| CATEGORY
|
RentFrog Code
|
RentFrog Category Code. Please, see complete list of category IDs.
|
| IMAGE_URL
|
URL text
|
Image URL for the ad. It must be enclosed on a < ! [ CDATA[ ]] > wrapper.
|
| PRICE
|
Decimal Number without currency symbol
|
Item price
|
| STATUS
|
Single Letter
|
N for new ads, U for updated ads, D for deleted ads
|
-
Sample XML File:
<?xml version='1.0' encoding='UTF-8'?>
<ADS>
<AD>
<ID>001</ID>
<STATUS>N</STATUS>
<TITLE><![CDATA[Test Item One]]></TITLE>
<DESCRIPTION><![CDATA[This is test description]]></DESCRIPTION>
<DATE><![CDATA[ 31-12-2008 01:15:00 ]]></DATE>
<EMAIL><![CDATA[ sales@yourdomain.com ]]></EMAIL>
<PHONE><![CDATA[ 123 555 1234 ]]></PHONE>
<ADDRESS><![CDATA[ 123 Fake Street ]]></ADDRESS>
<ZIP_CODE><![CDATA[ 00000 ]]></ZIP_CODE>
<LOCATION_STATE>MA</LOCATION_STATE>
<LOCATION_CITY><![CDATA[ Springfield ]]></LOCATION_CITY>
<CATEGORY><![CDATA[ 367 ]]></CATEGORY>
<IMAGE_URL><![CDATA[ http://www.yourdomain.com/image-1.png ]]></IMAGE_URL>
<IMAGE_URL><![CDATA[ http://www.yourdomain.com/image-2.png ]]></IMAGE_URL>
<PRICE>1000.00</PRICE>
</AD>
</ADS>