Cofundos
community innovation & funding

Syndication and Programmatic Access

Cofundos aims at being as open and transparent as possible and to foster 3rd party applications. Please contact us if you have any requests regarding syndication and programmatic access.

  1. Logo buttons
  2. ATOM feeds
  3. JSON feeds
  4. Embedded HTML
  5. RDF, Linked Data and SPARQL endpoint
  6. REST API
  7. Embedding Cofundos in your Layout

Logo Buttons

Feel free to integrate links to Cofundos from your web site.

  • Logo PNG (100x26 pixel)

    <a href="http://www.cofundos.org"><img src="http://www.cofundos.org/images/logo-100x26.png" style="border:0px;" alt="Cofundos - community innovation and funding of open source" /></a>
  • Logo PNG (150x39 pixel)

    <a href="http://www.cofundos.org"><img src="http://www.cofundos.org/images/logo-150x39.png" style="border:0px;" alt="Cofundos - community innovation and funding of open source" /></a>
  • Logo PNG (200x52 pixel)

    <a href="http://www.cofundos.org"><img src="http://www.cofundos.org/images/logo-200x52.png" style="border:0px;" alt="Cofundos - community innovation and funding of open source" /></a>

Atom feeds

An ATOM feed of Cofundos projects is available at: http://www.cofundos.org/feed.php. The following parameters can be set in order to filter and order the feed entries:

ParameterDescriptionExample
orderThe feed can be ordered by one of the following attributes:
  • created - the date and time the project was created
  • changed - the date and time the project was last changed
  • bid - the number of bids for the project
  • bidamount - the amount of money bid for the project
By appending ' desc' to the attribute results will be ordered in descending order. The default order (i.e. when the order attribute is missing) is 'created desc'.
http://www.cofundos.org/feed.php?order=bidamount%20DESC
tagShow only projects which are tagged with a certain tag. http://www.cofundos.org/feed.php?tag=PHP
searchShow only projects which contain a certain keyword in the title or description. http://www.cofundos.org/feed.php?search=storage
user_idShow only projects of a certain user. http://www.cofundos.org/feed.php?user_id=10
project_idShow only a specific project. http://www.cofundos.org/feed.php?project_id=10
statusShow only projects of a certain status (i.e. 'open', 'voting', 'development', 'finished', 'failed'). http://www.cofundos.org/feed.php?status=open
startShow projects starting from sequential position (the default is to start from the begining). http://www.cofundos.org/feed.php?start=10
resultsShow only a certain number of result (the default is to show 10 results, the maximum is 100). http://www.cofundos.org/feed.php?results=25

JSON feeds

An JSON feed of Cofundos projects is available at: http://www.cofundos.org/json.php. The possible parameters are identical to the ones of the ATOM feed.

Embedded HTML

Adding the parameter 'output=html' to the JSON feed will output a small JavaScript function, which converts the JSON feed into HTML, so it can be directly embedded into any HTML page without any programming. The following line of HTML code, for example, will embed the latest Cofundos projects into your HTML page:

<script src="http://www.cofundos.org/json.php?output=html&results=3" type="text/javascript"></script>

It will look as follows:

Of course, you can apply all the filter and sorting operations (as described in the ATOM section above) just by adding the corresponding parameters to the URL of the JSON output script. The output can be easily adopted to your needs, by defining a JavaScript function "CofundosOutput(r)" before embedding the code:

<script language='javascript'>
function CofundosOutput(r) {
  document.write('<div><a href="http://www.cofundos.org/project.php?id='+r.id+'">'+
    r.title+'</a> ('+r.created+' by '+r.nickname+')<br />Tags: '+r.tags+' Current bids: '+r.bids+' (&euro;'+r.bidamount+')'+'</div>');
}
</script>
<script src="http://www.cofundos.org/json.php?output=html" type="text/javascript"></script>

RDF, Linked Data and SPARQL endpoint

The Cofundos RDF export in N3 serialization is available at: http://www.cofundos.org/n3.php. The dataset is updated approximately every 10 hours.

Linked Data and SPARQL endpoints are currently under development.

REST API

The Cofundos REST API is currently under development. Please send email to rest-api@cofundus.org if you would like to beta-test the API

Embedding Cofundos in your Layout

A Cofundos kiosk enables organizations and projects to seamlessly embed Cofundos functionally and optically into their websites. This is realized by defining a template which should be used for the kiosk and one (or multiple tags) of projects to be shown in the kiosk. The kiosk will be reachable via its own address. You can create a kiosk for your website here.

Comments

Add comment >>