Skip to content

wpoa/yadkard

 
 

Repository files navigation

Yadkard

A citation generator tool for Wikipedia. Currently accessible from: http://tools.wmflabs.org/yadkard/ (English version)

Dependencies

Tested on Python 3.4.1

The following libraries are required:

  • requests (2.3.0)
  • beautifulsoup4 (4.3.2)
  • langid (1.1.4dev)
  • flup (1.0.3.dev-20140705)

They can be install using pip install -r requirements.txt.

If flup is not found, wsgiref.simple_server will be used instead. Usually this is what you want if you are running the script from your personal computer.

Usage

If running on local computer, the tool will be accessible from: http://127.0.0.1:8051/

The tools is specially useful for generating citations from Google Books URLs, DOIs (Any Digital object Identifiers) and ISBNs (International Standard Book Numbers). Additionally URL of many major news websites are supported, including: The New York Times, BBC, Daily Mail, Daily Mirror, The Daily Telegraph, The Huffington Post, The Washington Post, The Boston Globe, Bloomberg Businessweek, Financial Times, and The Times of India.

Some other tested and supported sites:

Language Setting

The default language is English and currently this is the only supported language. In future versions you will be able to change language by changing the lang = 'en' line in config.py file.

About

A citation creation tool for persian wikipedia

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published