Shift
4a90cf4f46
|
11 years ago | |
---|---|---|
IMG | 11 years ago | |
MYSQL | 11 years ago | |
cms | 11 years ago | |
LICENSE | 11 years ago | |
README.md | 11 years ago |
README.md
twister-rss
PHP scripts for tranfering RSS feeds to twister
Now in russian language, soon - multilanguage.
INSTALL
-
You need your own server, installed twisterd daemon, http server, MYSQL, crontab
-
Go to htdocs main directory
-
make new database in MYSQL import twistercms.sql
-
Edit files: settings.php (in $domain add full URL to directory with script - example: you have local server on 127.0.0.1 and htdocs directory on /var/www, after git pull you have /var/www/twister-rss/cms/ and 127.0.0.1/twister-rss/cms you need to add 127.0.0.1/twister-rss in $domain without cms and http)
-
login to your server consol and type crontab -e then add new line "*/5 * * * * wget -q -o /dev/null FULL_URL_to_YOUR_site_/update.php" example: */5 * * * * wget -q -o http://127.0.0.1/twister-rss/cms/update.php
-
Open http://127.0.0.1/twister-rss/cms/ in browser, login with RPC login/password
-
Добавьте новую RSS ленту, обратите внимание аккаунт указанный в поле "Публиковать от имени" должен быть зарегистрирован на сервере с которого будет идти публикация.
-
Profit