Skip to content

rjoberon/bibsonomy-jekyll-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

title
Demo showing BibSonomy integration into Jekyll

Demo showing BibSonomy integration into Jekyll

This project contains a Jekyll plugin that shows how to use the bibsonomy-ruby module to render posts from BibSonomy in a Jekyll project.

Instructions

After cloning the project and changing into its directory, the following should build your site:

  1. Install the dependencies:
bundle install

If you want to install the dependencies locally, then call

bundle install --path vendor/bundle
  1. Add BibSonomy user name and API key to _config.yml:
bibsonomy_user: yourusername
bibsonomy_apikey: yourapikey
  1. Adapt the user name in {% bibsonomy user yourusername myown 3 %} below to your user name.

  2. Run Jekyll:

bundle exec jekyll build

Notes

  • Ensure that the directory pdf configured in _config.yml (variable bibsonomy_document_directory) exists since it is used to store the PDF files.
  • Configuring an empty directory disables downloading of documents.
  • Currently, bibsonomy.rb only supports getting the posts of a given user with a given tag.
  • Help on seting up Jekyll

Publication List

The plugin supports a variable number of parameters: GROUPING NAME TAG1 ... TAGN COUNT

  • GROUPING specifies whether posts for a user ("user") or group ("group") shall be rendered.
  • NAME specifies the name of the user or group.
  • TAG1 ... TAGN is a variable number of tags the posts should have.
  • COUNT is the maximal number of posts that shall be rendered.

User

{% bibsonomy user jaeschke myown 3 %}

Group

{% bibsonomy group iccs test 3 %}

About

Demo page for BibSonomy integration into Jekyll

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages