Improve documentation
This commit is contained in:
parent
eda790dc2b
commit
43790e0fbc
@ -61,14 +61,15 @@ Requirements
|
|||||||
Documentation
|
Documentation
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
- [Installation and updates](docs/installation-and-updates.markdown)
|
- [Installation](docs/installation.markdown)
|
||||||
|
- [Upgrade to a new version](docs/upgrade.markdown)
|
||||||
- [Cronjob](docs/cronjob.markdown)
|
- [Cronjob](docs/cronjob.markdown)
|
||||||
- [Advanced configuration](docs/config.markdown)
|
- [Advanced configuration](docs/config.markdown)
|
||||||
- [Full article download](docs/full-article-download.markdown)
|
- [Full article download](docs/full-article-download.markdown)
|
||||||
- [Multiple users](docs/multiple-users.markdown)
|
- [Multiple users](docs/multiple-users.markdown)
|
||||||
- [Translations](docs/translations.markdown)
|
- [Translations](docs/translations.markdown)
|
||||||
- [Themes](docs/themes.markdown)
|
- [Themes](docs/themes.markdown)
|
||||||
- [API documentation](docs/json-rpc-api.markdown)
|
- [Json-RPC API](docs/json-rpc-api.markdown)
|
||||||
- [Fever API](docs/fever.markdown)
|
- [Fever API](docs/fever.markdown)
|
||||||
- [FAQ](docs/faq.markdown)
|
- [FAQ](docs/faq.markdown)
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ define('ENABLE_MULTIPLE_DB', true);
|
|||||||
define('DEBUG', true);
|
define('DEBUG', true);
|
||||||
|
|
||||||
// DEBUG_FILENAME => default is data/debug.log
|
// DEBUG_FILENAME => default is data/debug.log
|
||||||
define('DEBUG_FILENAME', DATA_DIRECTORY.DIRECTORY_SEPARATOR.'debug.log');
|
define('DEBUG_FILENAME', DATA_DIRECTORY.'/debug.log');
|
||||||
|
|
||||||
// THEME_DIRECTORY => default is themes
|
// THEME_DIRECTORY => default is themes
|
||||||
define('THEME_DIRECTORY', 'themes');
|
define('THEME_DIRECTORY', 'themes');
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
Cronjob (background feeds update)
|
Cronjob
|
||||||
=================================
|
=======
|
||||||
|
|
||||||
How do I update my feeds with a cronjob?
|
The cronjob is a background task to update your feeds automatically.
|
||||||
----------------------------------------
|
|
||||||
|
|
||||||
You just need to be inside the directory `miniflux` and run the script `cronjob.php`.
|
Technically, you just need to be inside the directory `miniflux` and run the script `cronjob.php`.
|
||||||
|
|
||||||
|
|
||||||
Parameters | Type | Value
|
Parameters | Type | Value
|
||||||
@ -17,6 +16,7 @@ Parameters | Type | Value
|
|||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|
||||||
|
```bash
|
||||||
crontab -e
|
crontab -e
|
||||||
|
|
||||||
# Update all feeds every 4 hours
|
# Update all feeds every 4 hours
|
||||||
@ -27,6 +27,7 @@ Examples:
|
|||||||
|
|
||||||
# Update all feeds in 60 minutes (updates the 8 oldest feeds each time with a total of 120 feeds).
|
# Update all feeds in 60 minutes (updates the 8 oldest feeds each time with a total of 120 feeds).
|
||||||
* */4 * * * cd /path/to/miniflux && php cronjob.php --call-interval=4 --update-interval=60 >/dev/null 2>&1
|
* */4 * * * cd /path/to/miniflux && php cronjob.php --call-interval=4 --update-interval=60 >/dev/null 2>&1
|
||||||
|
```
|
||||||
|
|
||||||
Note: cronjob.php can also be called from the web, in this case specify the options as GET variables.
|
Note: cronjob.php can also be called from the web, in this case specify the options as GET variables.
|
||||||
|
|
||||||
|
@ -1,34 +1,40 @@
|
|||||||
FAQ
|
FAQ
|
||||||
===
|
===
|
||||||
|
|
||||||
### How does Miniflux update my feeds from the user interface?
|
How does Miniflux update my feeds from the user interface?
|
||||||
|
----------------------------------------------------------
|
||||||
|
|
||||||
Miniflux uses an Ajax request to refresh each subscription.
|
Miniflux uses an Ajax request to refresh each subscription.
|
||||||
By default, there is only 5 feeds updated in parallel.
|
By default, there is only 5 feeds updated in parallel.
|
||||||
|
|
||||||
### I have 600 subscriptions, can Miniflux handle that?
|
I have 600 subscriptions, can Miniflux handle that?
|
||||||
|
---------------------------------------------------
|
||||||
|
|
||||||
Probably, but your life is cluttered.
|
Probably, but your life is cluttered.
|
||||||
|
|
||||||
### Why are there no categories? Why is feature X missing?
|
Why are there no categories? Why is feature X missing?
|
||||||
|
------------------------------------------------------
|
||||||
|
|
||||||
Miniflux is a minimalist software. _Less is more_.
|
Miniflux is a minimalist software. _Less is more_.
|
||||||
|
|
||||||
Sorry, I don't plan to have categories or tags.
|
Sorry, I don't plan to have categories or tags.
|
||||||
|
|
||||||
### I found a bug, what next?
|
I found a bug, what next?
|
||||||
|
-------------------------
|
||||||
|
|
||||||
Report the bug to the [issues tracker](https://github.com/fguillot/miniflux/issues) and I will fix it.
|
Report the bug to the [issues tracker](https://github.com/fguillot/miniflux/issues) and I will fix it.
|
||||||
|
|
||||||
You can report feeds that doesn't works properly too.
|
You can report feeds that doesn't works properly too.
|
||||||
|
|
||||||
### What browser is compatible with Miniflux?
|
What browser is compatible with Miniflux?
|
||||||
|
-----------------------------------------
|
||||||
|
|
||||||
Miniflux is tested with the latest versions of Mozilla Firefox, Google Chrome and Safari.
|
Miniflux is tested with the latest versions of Mozilla Firefox, Google Chrome and Safari.
|
||||||
|
|
||||||
I don't use Microsoft products, and as such I have no idea if Miniflux works correctly with Internet Explorer.
|
I don't use Microsoft products, and as such I have no idea if Miniflux works correctly with Internet Explorer.
|
||||||
|
|
||||||
### How to setup Miniflux on OVH?
|
How to setup Miniflux on OVH shared-hosting?
|
||||||
|
--------------------------------------------
|
||||||
|
|
||||||
OVH shared web-hosting can use different PHP versions.
|
OVH shared web-hosting can use different PHP versions.
|
||||||
To have Miniflux working properly you have to use a custom `.htaccess`.
|
To have Miniflux working properly you have to use a custom `.htaccess`.
|
||||||
|
@ -24,7 +24,9 @@ Add a PHP file to the directory `PicoFeed\Rules`, the filename must be the domai
|
|||||||
|
|
||||||
Example with the BBC website, `www.bbc.co.uk.php`:
|
Example with the BBC website, `www.bbc.co.uk.php`:
|
||||||
|
|
||||||
|
```php
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return array(
|
return array(
|
||||||
'test_url' => 'http://www.bbc.co.uk/news/world-middle-east-23911833',
|
'test_url' => 'http://www.bbc.co.uk/news/world-middle-east-23911833',
|
||||||
'body' => array(
|
'body' => array(
|
||||||
@ -44,6 +46,7 @@ Example with the BBC website, `www.bbc.co.uk.php`:
|
|||||||
'//*[contains(@class, "share") or contains(@class, "hidden") or contains(@class, "hyper")]',
|
'//*[contains(@class, "share") or contains(@class, "hidden") or contains(@class, "hyper")]',
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
```
|
||||||
|
|
||||||
Actually, only `body`, `strip` and `test_url` are supported.
|
Actually, only `body`, `strip` and `test_url` are supported.
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Installation and Updates
|
Installation instructions
|
||||||
========================
|
=========================
|
||||||
|
|
||||||
Installation
|
Installation
|
||||||
------------
|
------------
|
||||||
@ -19,24 +19,6 @@ Installation
|
|||||||
1. `git clone https://github.com/fguillot/miniflux.git`
|
1. `git clone https://github.com/fguillot/miniflux.git`
|
||||||
2. Go to the third step just above
|
2. Go to the third step just above
|
||||||
|
|
||||||
Update
|
|
||||||
------
|
|
||||||
|
|
||||||
### From the archive:
|
|
||||||
|
|
||||||
1. Close your session (logout)
|
|
||||||
2. Rename your actual miniflux directory (to keep a backup)
|
|
||||||
3. Uncompress the new archive and copy your database file `db.sqlite` in the directory `data`
|
|
||||||
4. Make the directory `data` writeable by the web server user
|
|
||||||
5. Login and check if everything is ok
|
|
||||||
6. Remove the old miniflux directory
|
|
||||||
|
|
||||||
### From the repository:
|
|
||||||
|
|
||||||
1. Close your session (logout)
|
|
||||||
2. `git pull`
|
|
||||||
3. Login and check if everything is ok
|
|
||||||
|
|
||||||
Security
|
Security
|
||||||
--------
|
--------
|
||||||
|
|
@ -11,7 +11,9 @@ A theme doesn't change the behaviour of the application but only the page layout
|
|||||||
|
|
||||||
The first step is to create a new directory structure for your theme:
|
The first step is to create a new directory structure for your theme:
|
||||||
|
|
||||||
|
```bash
|
||||||
mkdir -p themes/mysuperskin/{css,img,fonts}
|
mkdir -p themes/mysuperskin/{css,img,fonts}
|
||||||
|
```
|
||||||
|
|
||||||
The name of your theme should be only alphanumeric.
|
The name of your theme should be only alphanumeric.
|
||||||
|
|
||||||
@ -43,4 +45,4 @@ Other themes included in the default installation:
|
|||||||
- NoStyle by Frederic Guillot
|
- NoStyle by Frederic Guillot
|
||||||
- Still by Franklin
|
- Still by Franklin
|
||||||
|
|
||||||
**PS: Those themes are maintained and tested by their authors.**
|
**PS: Those themes are maintained and tested by their respective authors.**
|
||||||
|
19
docs/upgrade.markdown
Normal file
19
docs/upgrade.markdown
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
Upgrade to a new version
|
||||||
|
========================
|
||||||
|
|
||||||
|
### From the archive:
|
||||||
|
|
||||||
|
1. Close your session (logout)
|
||||||
|
2. Rename your actual miniflux directory (to keep a backup)
|
||||||
|
3. Uncompress the new archive and copy your database file `db.sqlite` in the directory `data`
|
||||||
|
4. Make the directory `data` writeable by the web server user
|
||||||
|
5. Login and check if everything is ok
|
||||||
|
6. Remove the old miniflux directory
|
||||||
|
|
||||||
|
### From the repository:
|
||||||
|
|
||||||
|
1. Close your session (logout)
|
||||||
|
2. `git pull`
|
||||||
|
3. Login and check if everything is ok
|
||||||
|
|
||||||
|
Note: Always do a backup of your database before!
|
Loading…
Reference in New Issue
Block a user