Login
Password

Creative Commons Licence All content and services are licenced under a Attribution-NonCommercial-ShareAlike Creative Commons Licence (see our Terms of Service).

> Using the XML-RPC Server

XML-RPC is "a spec and a set of implementations that allow software running on disparate operating systems, running in different environments to make procedure calls over the Internet. It's remote procedure calling using HTTP as the transport and XML as the encoding. XML-RPC is designed to be as simple as possible, while allowing complex data structures to be transmitted, processed and returned."

To use this service, you need to:

  • open an account or login to this site.
  • Configure your XML-RPC client using the information below. All methods on the server require that you give your user login and password (MD5 encoded) as strings in the first two parameters.
  • At this time, there are three methods configured on the server (see samples below):
This site uses the PHP implementation of XML-RPC client and server by useFull Inc. To test the output, use this page.

Host www.newsisfree.com
Port 80
Path /RPC

This RPC interface is part Premium Export Service (if you've just opened an account, it's available freely for the first 30 days, it will be disable if you don't sign up before).

By using it, you aggree to comply with the Terms of Service.

> Get source info

Use methode "hpe.getSourceInfo" to retrieve for all data concerning a source (name, link, etc.), but not the news items, if you know it's ID.
  • First two parameters are your user id and password respectively;
  • Third is the (integer) id of the source you want;
This method returns an array with all the information concerning the source. The named items are:
  • "title": the name of the source
  • "link": direct URL to the original source (this might not the page page which contained the news items, it usually is the home page of the site).
  • "description": slogan, moto, short description.
  • "info": direct URL to page on this site describing the source.
  • "ttl": the number of seconds for which the current data for this source will remain valid (i.e. the number of seconds to the next update).
home  •   advertising  •   terms of service  •   privacy  •   about us  •   contact us  •   press release design by Popshop •   © 1999-2017 NewsKnowledge