Feature #417
Work Overview
Start date:
Due date:
% Done:
100%
Description
Add a page that provides an overview of the book and the author. This could include:
- Link to Wikipedia (http://www.mediawiki.org/wiki/API:Tutorial#Tutorial_for_MediaWiki.27s_RESTful_web_service_API)
- Perseus information
- Statistics (places mentioned, number of unique words, etc.)
History
#1 Updated by Luke Murphey about 12 years ago
- Target version set to 1.0
#2 Updated by Luke Murphey over 11 years ago
- Target version deleted (
1.0)
#3 Updated by Luke Murphey over 8 years ago
- Target version set to 1.5
This can be easily done with the following:
- https://pypi.python.org/pypi/wikipedia/
- Requests
- bs4
Here is an example:
import wikipedia print wikipedia.summary("Antiquitates Judaicae")
#4 Updated by Luke Murphey over 8 years ago
Should consider having a hard-coded link to the page in Wikipedia. For example, the page for "Apophthegmata Laconica" is actually https://en.wikipedia.org/wiki/Moralia
#5 Updated by Luke Murphey over 8 years ago
The Wikipedia lookup can be done on much more than just the works. However, I need to link up the terms with specific wikipedia articles in some cases. Here are some solutions:
- Have a table with a type (work, author, editor) and an associated wiki
- Have a table that takes a search term and provides a wiki article (perhaps in a search index)
- Update the works table with an assocaited wiki article
#6 Updated by Luke Murphey over 8 years ago
- Status changed from New to Closed
- Assignee set to Luke Murphey
- Target version changed from 1.5 to 1.4
- % Done changed from 0 to 100