Git Product home page Git Product logo

weibo.emacs's Introduction

This is a Weibo client for EMACS.

Initialization:

1. Put .el files into a directory.

2. Make sure that directory is part of "load-path":
    (add-to-list 'load-path "path to directory")

Usage:

1. Please make sure you have GNUTLS (or OPENSSL) installed and
   functional:
   - You should either have gnutls-cli or openssl in your PATH
   - Or if you are using Emacs 24, you can also use the built-in GNUTLS
     support if enabled

2. Load the weibo library:
     (require 'weibo)

3. Authorization:
   - The first time you use the client(e.g., check the time line) or
     if your token expired, you will be redirected to the Sina
     authorization page, where you can authorize this client and see a
     pin number.
   - Input that pin number into the echo area in EMACS
    
4. Check your timeline:
     M-x weibo-timeline

Customization:

The following variables can be customized to fit your need.

- weibo-directory: the directory where the token file is stored.  A
  "cache" directory is also created in this directory to store image
  files. (Default: "~/t.weibo.emacs.d")

- weibo-image-directory: when set, this variable specifies the
  alternative directory where image files are stored. (Default: nil)
  
- weibo-display-image: whether to display image in the
  timeline. (Default: t)
     
More features are being developed

weibo.emacs's People

Contributors

austin----- avatar snowleung avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.