Google Scholar Bibtex Parser – gsbibtex.py

与bibtex.py类似,区别:

  • 只针对从Google Scholar中导出的BibTex
  • 不依赖第三方软件(比如bibtex2html) ,完全使用Python。需要pyparsing模块。
  • 效果与bibtex.py类似,但目前不支持style参数
  • 支持对附加文件的链接,包括pdf, ps, dvi, rtf, chm, nh等格式

下载: gsbibtex.py

我只在我使用的desktop edition 1.5.3-1下测试过,OS是Windows XP SP2。
示例:

{{{#!gsbibtex
@article{iannella2003drm,
title={{Digital Rights Management (DRM) Architecture}},
author={Iannella, R.},
journal={Internet: http://www. dlib. org/dlib/june01/iannella/06iannella. html, Stand},
volume={7},
year={2003},
abstract={this is a abstract},
Keywords={drm watermarking},
pdf={attachment:demo.pdf},
chm={attachment:测试.chm},
url={http://www.dlib.org/dlib/june01/iannella/06iannella.html},
nh={attachment:数字版权管理(DRM)系统的研究、设计和实现.nh.zip}
}
@article{俞银燕2005数字版,
title={{数字版权保护技术研究综述}},
author={俞银燕 and 汤帜},
journal={计算机学报},
volume={28},
number={12},
pages={1957-1968},
year={2005},
publisher={万方数据资源系统},
comment={write your comment here}
}
}}}
{{{#!gsbibtex usekeys=off
@article{iannella2003drm,
title={{Digital Rights Management (DRM) Architecture}},
author={Iannella, R.},
journal={Internet: http://www. dlib. org/dlib/june01/iannella/06iannella. html, Stand},
volume={7},
year={2003}
}
@article{pitkanen2000tdr,
title={{Towards A Digital Rights Management Framework}},
author={Pitk{\"a}nen, O. and V{\"a}lim{\"a}ki, M.},
journal={IeC2000 Proceedings, UMIST, Manchester, UK},
year={2000}
}
}}}

效果:

gsbibtex output

2 thoughts on “Google Scholar Bibtex Parser – gsbibtex.py

Leave a Reply

Your email address will not be published. Required fields are marked *

*

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.
For more help see http://daringfireball.net/projects/markdown/syntax

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>