I have some XML feeds from some sites with API requests and want to display it in HTML.
Sample format of an xml request:
publisher Publisher ID. Your publisher ID is "677588168503309". This is assigned when you register as a publisher.
v Version. Which version of the API you wish to use. All publishers should be using version 2. Currently available versions are 1 and 2. This parameter is required.
format Format. Which output format of the API you wish to use. The options are "xml" and "json." If omitted or invalid, the XML format is used.
q Query. By default terms are ANDed. To see what is possible, use our advanced search page to perform a search and then check the url for the q value.
l Location. Use a postal code or a "city, state/province/region" combination.
sort Sort by relevance or date. Default is relevance.
radius Distance from search location ("as the crow flies"). Default is 25.
st Site type. To show only jobs from job boards use 'jobsite'. For jobs from direct employer websites use 'employer'.
jt Job type. Allowed values: "fulltime", "parttime", "contract", "internship", "temporary".
start Start results at this result number, beginning with 0. Default is 0.
limit Maximum number of results returned per query. Default is 10
fromage Number of days back to search.
highlight Setting this value to 1 will bold terms in the snippet that are also present in q. Default is 0.
filter Filter duplicate results. 0 turns off duplicate job filtering. Default is 1.
latlong If latlong=1, returns latitude and longitude information for each job result. Default is 0.
co Search within country specified. Default is us. See below for a complete list of supported countries.
chnl Channel Name: Group API requests to a specific channel
userip The IP number of the end-user to whom the job results will be displayed. This field is required.
useragent The User-Agent (browser) of the end-user to whom the job results will be displayed. This can be obtained from the "User-Agent" HTTP request header from the end-user. This field is required.
Sample XML code is:
<?xml version="1.0" encoding="UTF-8" ?>
<date>Mon, 02 Aug 2010 16:21:00 GMT</date>
AJAX, Struts, Struts2, JSF) desirable. Familiarity with Tomcat and the Java...</snippet>
<formattedRelativeTime>11 hours ago</formattedRelativeTime>