Results 1 to 1 of 1

Thread: XML API form requests and publish the answers in CLASSIPRESS

  1. #1
    Thread Starter
    Rookie meatclub's Avatar
    Join Date
    May 2012
    Location
    Israel
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    XML API form requests and publish the answers in CLASSIPRESS

    Hi guys,
    I tried to organize XML request by POST method to address http://bla-bla-bla.com/Export/XmlSearchResult.ashx/:

    HTML Code:
    <request>
    <entity>v</entity>
    <keywords only_position="1">
    <or>keywords #1</or>
    <and>keywords #2</and>
    <not></not>
    </keywords>
    <region>
    <country>1</country>
    <city>New York</city>
    </region>
    <salary required="0">
    <low></low>
    <high></high>
    </salary>
    <date type="new">last7day</date>
    <page_no>1</page_no>
    <msg_count>10</msg_count>
    <sort>relevant</sort>
    <src_count>3</src_count>
    </request>
    How can I do it in CLASSIPRESS tools if any???

    And how to get and publish the answer:

    HTML Code:
    <response generated="GMT"> Thu, 19 Apr 2007 11:13:23 GMT
    	<general>
    		<msg_count>
    			N
    		<msg_count>
    		<page_count>
    			N 
    		<page_count>
    		<search_time>
    			0,35
    		</search_time>
    	</general>
    	<messages count="N" first_no="N" last_no="N">
    		<msg id="ADS Id">
    			<number>
    				#
    			</number>
    			<position>
    				role
    			</position>
    			<salary>
    				3000
    			</salary>
    			<region>
    				New York 
    			</region>
    			<desc>
    				text
    			</desc>
    			<updated>
    				0
    			</updated>
    			<sources count="N">
    				<source no="N"> 
    					<name>
    						name
    					</name>
    
    					<url>
    						http://...
    					</url>
    				</source>
    				.....
    			</sources>
    			<server_url>  
    				http://site.com/...
    			</server_url>
    		</msg>
    		.....
    	</messages>
    	<advertisements count="N">
    		<adv id="ADS Id">
    			<position>
    				role
    			</position>
    			<salary>
    				... $
    			</salary>
    			<region>
    				NewYork
    			</region>
    			<desc>
    				text
    			</desc>
    			<logo_url>
    				http://sitee.com./images/logos/...
    			</logo_url>
    			<url>
    				http://site/DoAdvClick.aspx...
    			</url>
    		</adv>
    		.....
    	</advertisements>
    </response>
    WOW! It was cool!!!!!!!!!!!!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. ACF for ClassiPress Feature Requests
    By dikiyforester in forum Advanced Custom Fields
    Replies: 94
    Last Post: December 8th, 2014, 10:17 AM
  2. Answers Required
    By websitu in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: April 18th, 2012, 05:01 AM
  3. Replies: 2
    Last Post: July 11th, 2011, 10:39 AM