GithubHelp home page GithubHelp logo

makergyt / hexo-tag-book Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 14 KB

A tag to display the information of Douban books in hexo post/page.

License: MIT License

JavaScript 33.38% HTML 66.62%
hexo hexo-tag hexo-tag-book douban

hexo-tag-book's Introduction

hexo-tag-book-douban

hexo-tag-book-douban license last-commit

NPM

A tag to display the information of Douban books in hexo post/page.

Feature

  • Rendering book information according to book ISBN
  • Responsive design

How to use

  1. Install
npm i hexo-tag-book-douban --save
  1. Import
# Hexo/source/_posts/xxx.md
{% dbook [ISBN] %}

The {% dbook %} options are shown below:

Option Default Description
ISBN required New version of ISBN, consisting of 13 pure numbers without-
width 40% component width
  1. (Optional) Config The default config:
# Hexo/_config.yml
dbook:
  enable: true # Recommended to set it to false during `hexo server` and open during `hexo generate` to reduce requests.
  proxy: https://douban.uieee.com # Current limit that everyone shares : 10000 times / 1 hour
  powered: true  

Sample:

Demo

{% dbook 4913064 40% %}

Screenshot:

Dependencies

Troubleshoot

  1. Theme-next _data/next.yml config doesn't work Issue #1

If there are other bugs, please feedback through issues or connect: [email protected]

Todo

  • Support other data sources to avoid official interface offline

License

MIT License

Reference

  • hexo-tag-douban: Didn't work because official interface requires authorization.

hexo-tag-book's People

Watchers

 avatar  avatar

hexo-tag-book's Issues

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.