You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALL.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Installation
2
2
3
-
DocumentCloud self-installation instructions have been removed. They were out of date and required enormous handholding.
3
+
sourceAFRICA self-installation instructions have been removed. They were out of date and required enormous handholding.
4
4
5
5
We understand the desire to self-install and we're considering how best to support that. But until then, we think it's best to call it an officially unsupported task not for the faint of heart, rather than imply support but offer only broken instructions.
Copy file name to clipboardExpand all lines: README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ What do we mean by *actionable documents*? Documents that the public need to hel
12
12
13
13
[sourceAFRICA](https://sourceafrica.net/) is powered by [DocumentCloud](https://github.com/documentcloud/documentcloud), and allows you to turn your documents into machine readable data, for better analysis. It also makes it easier for you to share documents and/or collaborate with your audience and colleagues.
14
14
15
-
*sourceAFRICA is offered as a service by [ANCIR (the African Network of Centers for Investigative Reporting)](http://investigativecenters.org) with support from [Code for Africa](http://www.codeforafrica.org).*
15
+
*sourceAFRICA is offered as a service by [ANCIR (the African Network of Centers for Investigative Reporting)](https://investigativecenters.org) with support from [Code for Africa](https://codeforafrica.org).*
returntrue;},};}());(function(){varDocumentCloud=window.DocumentCloud;varPenny=window.Penny;if(DocumentCloud&&DocumentCloud._){var_=DocumentCloud._;}elseif(Penny){var_=Penny;}else{console.error("DocumentCloud embed can't load because of missing components.");returnfalse;}
22
+
returntrue;},};}());(function(){varDocumentCloud=window.DocumentCloud;varPenny=window.Penny;if(DocumentCloud&&DocumentCloud._){var_=DocumentCloud._;}elseif(Penny){var_=Penny;}else{console.error("sourceAFRICA embed can't load because of missing components.");returnfalse;}
Copy file name to clipboardExpand all lines: app/views/help/eng/api.markdown
+3-19
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,10 @@
2
2
3
3
sourceAFRICA's API provides resources to search, upload, edit, and organize documents as well as to work with projects. In addition, an oEmbed service provides easy integration of embedding documents, pages and notes.
4
4
5
+
Use of the sourceAFRICA API indicates you have read and agree to our [API Guidelines and Terms of Service](/terms/api).
6
+
5
7
## Contents
6
8
7
-
* General:
8
-
*[API Guidelines and Terms of Service](#guidelines)
9
9
* Document methods:
10
10
*[Search](#search-documents)
11
11
*[Upload](#upload-documents)
@@ -24,22 +24,6 @@ sourceAFRICA's API provides resources to search, upload, edit, and organize docu
24
24
*[Notes](#oembed-notes)
25
25
*[API Wrappers and Utilities](#api-wrappers)
26
26
27
-
<aname="guidelines"></a>
28
-
# API Guidelines and Terms of Service
29
-
30
-
A limited portion of sourceAFRICA's API is available for public use, including document search and individual document data retrieval. All other resources require authentication via a sourceAFRICA account. No API key is required.
31
-
32
-
Please be considerate and don't hammer our servers. Also:
33
-
34
-
* You may not recreate sourceAFRICA.net in its entirety or build an application that simply displays the complete set of documents. You may not build an application that displays the document set of a contributing organization.
35
-
36
-
* If your project allows users to interact with data from sourceAFRICA, you must cite sourceAFRICA as the source of your data. If your project allows users to view or browse specific documents, you must cite sourceAFRICA and the contributing organizations as identified in the API.
37
-
38
-
* You may not use the API commercially; you may not charge people money to look at the data or sell advertising specifically against it.
39
-
40
-
* You understand and acknowledge that any data provided by our API may contain errors and omissions.
41
-
42
-
_Restrictions on the use of the sourceAFRICA API do not apply to participating organizations working with documents uploaded by their own users. We reserve the right to revise these guidelines. If you violate the spirit of these terms, especially if you use the API to systematically access and reprint documents that you or your newsroom didn't contribute, expect to be blocked without advance warning._
43
27
44
28
# Document Methods
45
29
@@ -61,7 +45,7 @@ order | the order by which documents are listed | title (default is "cre
Copy file name to clipboardExpand all lines: app/views/help/spa/api.markdown
+4-15
Original file line number
Diff line number
Diff line change
@@ -2,10 +2,12 @@
2
2
3
3
El API proporciona recursos para buscar, cargar, editar y organizar documentos, así como para trabajar con proyectos. Además, un servicio oEmbed proporciona una fácil integración de incrustación de documentos, páginas y notas.
4
4
5
+
Use of the sourceAFRICA API indicates you have read and agree to our [Directrices y Condiciones del Servicio de API](/terms/api).
6
+
5
7
## Contenido
6
8
7
9
* General:
8
-
*[Directrices y Condiciones del Servicio de API](#guidelines)
10
+
*[Directrices y Condiciones del Servicio de API](/terms/api)
9
11
* Métodos de Documento:
10
12
*[Busque](#search-documents)
11
13
*[Cargar](#upload-documents)
@@ -24,19 +26,6 @@ El API proporciona recursos para buscar, cargar, editar y organizar documentos,
24
26
*[Notas](#oembed-notes)
25
27
*[Envolturas de la API y Utilidades](#api-wrappers)
26
28
27
-
<aname="guidelines"></a>
28
-
# Directrices y Condiciones del Servicio de API
29
-
30
-
Una porción limitada de la API de sourceAFRICA está disponible para el uso público, incluyendo la búsqueda y recuperación de documentos de datos documento individual. El resto de los recursos requieren autenticación a través de una cuenta de sourceAFRICA. No se requiere ninguna clave de API.
31
-
32
-
Por favor sea considerado y no martillar nuestros servidores.
33
-
34
-
* Bajo ninguna circunstancia se permitirá la reproducción de sourceAFRICA.net en su totalidad o construir una aplicación que simplemente muestre el conjunto completo de documentos. Tiene prohibido crear una aplicación que muestre el conjunto de documentos de una organización aportadora.
35
-
* Si su proyecto permite a los usuarios interactuar con los datos de sourceAFRICA, está obligado a citar sourceAFRICA como la fuente de sus datos. Si su proyecto permite a los usuarios ver o explorar documentos específicos, debe citar sourceAFRICA, así como a las organizaciones aportadoras pertinentes, identificadas en el API.
36
-
* No se permite utilizar la API comercialmente, lo que significa que no se permite cobrar dinero a la gente para mirar los datos, o vender publicidad con dicha información.
37
-
* Usted entiende y acepta que los datos proporcionados por nuestro API pueden contener errores y omisiones.
38
-
39
-
_Restricciones en el uso de la API sourceAFRICA no se aplican a las organizaciones participantes que trabajan con documentos cargados por sus propios usuarios. Nos reservamos el derecho de modificar estas directrices. Si usted viola el espíritu de estos términos, sobre todo si se utiliza la API para acceder y reimprimir documentos que usted o su sala de redacción no contribuyeron de forma sistemática, esperar ser bloqueados sin previo aviso._
40
29
41
30
# Métodos de Documento
42
31
@@ -58,7 +47,7 @@ mentions | incluyen las menciones destacadas de la frase de búsqueda |
58
47
59
48
### Ejemplo
60
49
61
-
/api/search.json?q=obama&page=2
50
+
/api/search.json?q=zuma&page=2
62
51
<divclass="api_search_form">
63
52
<p>
64
53
Utilice el campo de búsqueda de abajo para intentar consultas y ver como es el JSON resultante.
Copy file name to clipboardExpand all lines: app/views/home/_footer.html.erb
+1-1
Original file line number
Diff line number
Diff line change
@@ -49,6 +49,6 @@
49
49
<ahref="/privacy">Privacy Policy</a>
50
50
</div>
51
51
52
-
<pstyle="text-align:center;">Brought to you by <ahref="http://investigativecenters.org" target="_blank">ANCIR</a> and <ahref="http://www.codeforafrica.org" target="_blank">Code for Africa</a> using <ahref="https://github.com/documentcloud/documentcloud" target="_blank">DocumentCloud</a>.</p>
52
+
<pstyle="text-align:center;">Brought to you by <ahref="https://investigativecenters.org" target="_blank">ANCIR</a> and <ahref="https://codeforafrica.org" target="_blank">Code for Africa</a> using <ahref="https://github.com/documentcloud/documentcloud" target="_blank">DocumentCloud</a>.</p>
0 commit comments