jekyll-scholar icon indicating copy to clipboard operation
jekyll-scholar copied to clipboard

using a template to convert .bib into summary html table

Open fdq09eca opened this issue 4 years ago • 1 comments

I am having a .bib file with the following format

@article{ploberger2017one,
  title={One belt, One road--China’s new grand strategy},
  author={Ploberger, Christian},
  journal={Journal of Chinese Economic and Business Studies},
  volume={15},
  number={3},
  pages={289--305},
  year={2017},
  publisher={Taylor \& Francis},
  datasrc={Est dolore Lorem},
  type={labour},
  review={
    - consectetur eu magna adipisicing excepteur nisi aliqua in. 
    - Adipisicing ipsum nostrud adipisicing eiusmod sit.
    - Occaecat minim aute ex culpa dolor. 
    - Cupidatat dolore exercitation et ullamco non eu et enim.
  },
  findings={
    - consectetur eu magna adipisicing excepteur nisi aliqua in. 
    - Adipisicing ipsum nostrud adipisicing eiusmod sit.
    - Occaecat minim aute ex culpa dolor. 
    - Cupidatat dolore exercitation et ullamco non eu et enim.
  }
}

note that datasrc, type, review, findings are custom attribute.

I have got over 100 entries in this format and I would like to convert them into a HTML table in jekyll with the following template

type | year | author | datasrc | review | findings

how may I do so? Thank you.

fdq09eca avatar Jul 13 '20 02:07 fdq09eca

You can probably use a custom bibliography template and change the bibliography_list_tag to tbody (And you need to wrap the whole bibliography in a table with your own thead)

inukshuk avatar Jul 14 '20 08:07 inukshuk