Example Feed XML with Multiple Models

<?xml version="1.0" encoding="UTF-8"?> <hotPadsItems version="2.1"> <!-- companies are optional --> <!-- include multiple --> <!-- id (required) is the company ID in your system --> <Company id="company2"> <name>Revlon Realty</name> <!-- limit of 255 characters for URL --> <website>http://somesite.com</website> <!-- limit of 255 characters for URL --> <CompanyLogo source="http://yoursite.com/path/to/logo.gif" /> </Company> <!-- id (required) is the unique identifier in your system --> <!-- type (required) must be one of the following: RENTAL, SALE, CORPORATE, SUBLET, ROOM, FORECLOSURE, NEW_HOME, VACATION --> <!-- companyId (optional) from company section above --> <!-- propertyType (required) must be one of the following: CONDO = single unit in condo building, HOUSE = single family house, TOWNHOUSE = townhouse or rowhouse, DIVIDED = house or townhouse with multiple units, LARGE = apartment community or large apartment building, COMMUNITY = new home community or garden style apartment community MEDIUM = apartment building LAND = acreage or empty lot --> <Listing id="abc123" type="RENTAL" companyId="company2" propertyType="CONDO"> <!-- name & location --> <name>The Willows at Yorkshire</name> <!-- apartment unit # if needed --> <unit>55C</unit> <!-- if hide is true, the street address will be hidden from users --> <street hide="false">124 Main St.</street> <city>El Paso</city> <state>CT</state> <zip>00040</zip> <country>US</country> <!-- ISO Country Codes only. see http://www.iso.org/iso/iso3166_en_code_lists.txt --> <!-- lat/long are optional but guarantee correct positioning --> <!-- if included, MUST contain more than 2 digits of precision past the decimal point --> <latitude>34.123456</latitude> <longitude>-77.654321</longitude> <contactName>Rosemarie</contactName> <!-- contactEmail is where email leads are sent --> <!-- contactEmail and/or contactPhone required --> <contactEmail>rosemarie@somesite.com</contactEmail> <contactPhone>123-456-7890</contactPhone> <contactFax>123-456-7899</contactFax> <contactTimes>Sunday: 9:00 am to 5:00 pm Monday: 9:00 am to 5:00 pm Tuesday: 9:00 am to 5:00 pm Wednesday: 9:00 am to 5:00 pm Thursday: 9:00 am to 5:00 pm Friday: 9:00 am to 5:00 pm Saturday: 9:00 am to 5:00 pm </contactTimes> <!-- limit of 255 characters for Preview Message --> <previewMessage>Spacious Everything!</previewMessage> <description>This apartment comes with 3 parking spaces. Check out the kitchen photos</description> <terms>One year lease, then month to month. Deposit equals first month's rent</terms> <leaseTerm>OneYear</leaseTerm> <!-- allowed values: ContactForDetails, Monthly, SixMonths, OneYear --> <!-- limit of 255 characters for URL --> <website>http://somesite.com/listings.asp?id=299</website> <!-- limit of 255 characters for URL --> <virtualTourUrl>http://somesite.com</virtualTourUrl> <!-- the number of units in the building or at the community, if applicable --> <numUnits>445</numUnits> <dogs>false</dogs> <!-- omit if unknown --> <cats>false</cats> <!-- omit if unknown --> <!-- limit of 255 characters for URL --> <ListingLogo source="http://yoursite.com/path/to/logo.jpg" /> <!-- ListingTag elements are all optional. If you decide to include them, type is required and must be on of the following: PROPERTY_AMENITY = outdoor amenity. if building/community, then shared by residents MODEL_AMENITY = amenity inside all units MODEL_AMENITY_SELECT = amenity inside particular units RENT_INCLUDES = item included in rent MLS_NAME = Name of MLS this property is listed in. Do not include unless known. MLS_LISTING_ID = ID assigned to this property by an MLS. Do not include unless known. YEAR_BUILT = Year built, if known LOT_SIZE = Lot size, if known STORIES = Number of stories in this unit. --> <ListingTag type="PROPERTY_AMENITY"><tag>Pool</tag></ListingTag> <ListingTag type="PROPERTY_AMENITY"><tag>Covered Parking</tag></ListingTag> <ListingTag type="PROPERTY_AMENITY"><tag>Free Hot Dogs on Saturdays</tag></ListingTag> <ListingTag type="MODEL_AMENITY"><tag>Washer/Dryer</tag></ListingTag> <ListingTag type="MODEL_AMENITY_SELECT"><tag>Hardwood Floors</tag></ListingTag> <ListingTag type="RENT_INCLUDES"><tag>Gas</tag></ListingTag> <ListingTag type="RENT_INCLUDES"><tag>Water</tag></ListingTag> <!-- ListingPermission elements are optional. Each ListingPermission element you choose to include should contain one email address of a HotPads user account that you wish to have access to the listing. --> <ListingPermission>yourEmailAddress@example.com</ListingPermission> <!-- include multiple, first photo is put on main information screen. --> <!-- source is required, label and caption are optional. --> <!-- limit of 255 characters for URL --> <ListingPhoto source="http://yoursite.com/path/to/photo1.jpg"> <label>Garage</label> <!-- not required, 30 character limit, no markup --> <caption>Park your car here.</caption> <!-- not required, 60 character limit, no markup --> </ListingPhoto> <!-- limit of 255 characters for URL --> <ListingPhoto source="http://yoursite.com/path/to/photo2.jpg"> <label>Seesaw</label> <!-- not required, 30 character limit, no markup --> <caption>A rare find!</caption> <!-- not required, 60 character limit, no markup --> </ListingPhoto> <!-- include multiple --> <!-- models are the same as floorplans --> <!-- id (required) is the unique identifier in your system --> <!-- searchable (required)... is this model active? should it's prices be included in the listing's search criteria--> <!-- layout (optional) is the URL of the floor plan image --> <!-- FLAT = flat price. use same amount for lowPrice and highPrice below RANGE = from/to pricing. from price must be lower than to price NEGOTIABLE = price will say "Negotiable" CALL = price will say "Please Call" (not allowed on sale listings) FROM = only a low price is specified TO = only a high price is specified (this is unusual) --> <Model id="ht98" searchable="true" pricingType="FLAT"> <lowPrice>2200.99</lowPrice> <highPrice>2200.99</highPrice> <pricingFrequency>MONTH</pricingFrequency> <!-- acceptable values: ONCE, MONTH, WEEK, DAY --> <HOA-Fee>0</HOA-Fee> <deposit>750</deposit> <name>The Montgomerydale</name> <numBedrooms>2</numBedrooms> <numFullBaths>2</numFullBaths> <numHalfBaths>1</numHalfBaths> <squareFeet>1500</squareFeet> <dateAvailable>2012-12-31</dateAvailable> <!-- date format: YYYY-MM-DD --> <description>Our finest unit.</description> <!-- limit of 255 characters for URL --> <ModelLayout source="http://yoursite.com/path/to/blueprint.jpg"> <label>Balcony</label> <!-- not required, 30 character limit, no markup --> <caption>Unbeatable View!</caption> <!-- not required, 60 character limit, no markup --> </ModelLayout> <!-- type is required and must be on of the following: AMENITY = amenity inside all units of this model AMENITY_SELECT = amenity inside particular units RENT_INCLUDES = item included in rent --> <ModelTag type="AMENITY"><tag>Private Elevator</tag></ModelTag> <ModelTag type="AMENITY_SELECT"><tag>Ice Maker</tag></ModelTag> <ModelTag type="AMENITY_SELECT"><tag>Ceiling Fans</tag></ModelTag> <ModelTag type="RENT_INCLUDES"><tag>Electricity</tag></ModelTag> <!-- limit of 255 characters for URL --> <ModelPhoto source="http://yoursite.com/path/to/photo3.jpg"> <label>Bathroom</label> <!-- not required, 30 character limit, no markup --> <caption>Nice Chandelier!</caption> <!-- not required, 60 character limit, no markup --> </ModelPhoto> <ModelPhoto source="http://yoursite.com/path/to/photo4.jpg"> <label>Balcony</label> <!-- 30 character limit, no markup --> <caption>Unbeatable View!</caption> <!-- 60 character limit, no markup --> </ModelPhoto> </Model> </Listing> </hotPadsItems>