view README.md @ 73:e9a6019a34ea

Avoid using constant. Use global instead =D
author nanaya <me@myconan.net>
date Fri, 13 May 2016 04:52:20 +0900
parents 03f904c070f7
children bdc723f05119
line wrap: on
line source

rsstweet
========

Twitter removed their v1.0 API and thus completely disables access to tweets
using RSS readers.

This application will proxy user's tweets into atom feed which solves the
problem.

Installation
------------

    hg clone ...
    cd ... && bundle
    export ...
    bin/rails s

Detailed instruction is left as an exercise unless someone step up and write
one for me.

Configuration
-------------

This application depends on at least those two Twitter-related tokens:

- `RT_CONSUMER_KEY`
- `RT_CONSUMER_SECRET`

Make sure to set them before using.

Optionally, setting those two variables allows you access to private accounts which your account has access to:

- `RT_ACCESS_TOKEN`
- `RT_ACCESS_TOKEN_SECRET`

It is also recommended to have memcached installed so tweet requests will be cached
for a short while.

- `RT_MEMCACHED_SERVERS` (separate multiple servers with comma)

Alternatively, create a config file. Read `config/config_init.rb` for hints.

License
-------

    Copyright 2014 edogawaconan <me@myconan.net>

    Permission to use, copy, modify, and/or distribute this software for any
    purpose with or without fee is hereby granted, provided that the above
    copyright notice and this permission notice appear in all copies.

    THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
    WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
    MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
    ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
    WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
    ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
    OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.