aboutsummaryrefslogtreecommitdiff
path: root/p/api
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-14 10:05:38 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-08-14 10:05:38 +0200
commitb90f815e2592a4ed498c93b343b8ed5b4186730a (patch)
tree84288fcac53f094dd9147dd45ee3ceee6308ede1 /p/api
parent462c1e208f02e4977c7e96c0f5936987931d5bc1 (diff)
parenta180485f9146f22d48470f3ba541317dbc2ee076 (diff)
Merge branch 'FreshRSS/dev' into SuperFeeder_timeout
Diffstat (limited to 'p/api')
-rw-r--r--p/api/index.php (renamed from p/api/index.html)11
1 files changed, 10 insertions, 1 deletions
diff --git a/p/api/index.html b/p/api/index.php
index 8da0bcb58..3ab4e02b3 100644
--- a/p/api/index.html
+++ b/p/api/index.php
@@ -11,8 +11,17 @@
<h1>FreshRSS API</h1>
<h2>Google Reader compatible API</h2>
+<dl>
+<dt>Your API address:</dt>
+<dd><?php
+require('../../constants.php');
+require(LIB_PATH . '/lib_rss.php'); //Includes class autoloader
+Minz_Configuration::register('system', DATA_PATH . '/config.php', DATA_PATH . '/config.default.php');
+echo Minz_Url::display('/api/greader.php', 'html', true);
+?></dd>
+</dl>
<ul>
-<li><a href="greader.php/check%2Fcompatibility" rel="nofollow">Check full server configuration (with <code>%2F</code> support)</a></li>
+<li><a href="greader.php/check%2Fcompatibility" rel="nofollow">Check full server configuration</a></li>
<li><a href="greader.php/check/compatibility" rel="nofollow">Check partial server configuration (without <code>%2F</code> support)</a></li>
</ul>