A citation generator tool for Wikipedia. Currently accessible from: http://tools.wmflabs.org/yadkard/ (English version)
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.
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:
- http://www.noormags.com (نورمگز)
- http://www.noorlib.ir (کتابخانه دیجیتال نور)
- http://www.adinebook.com (آدینهبوک)
- http://socialhistory.ihcs.ac.ir/ (تحقیقات تاریخ اجتماعی)
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.