Background
Wikipedia content is reasonably current and free to use. Consider the tabular content at:
http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Java
Problem
Copying & pasting the content from Wikipedia into a LaTeX document, converting the content from HTML to LaTeX, is wasteful for a few reasons:
- The Wikipedia content is subject to change over time.
- Duplication of content is error prone.
- It takes a lot of time to manually convert the HTML.
What would be ideal is to have a package that can import content (such as tabular data) from a given URI. In the case of tables, it would be especially useful to select the desired columns.
Question
What approaches would you recommend to dynamically include content into a LaTeX document that is sourced from a URI?
(In the Wikipedia case, the table id does not exist, making it technically challenging to find the correct table. Although the implementation could look for the first table found.)
Ideas
Something like:
\importuri{"http://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks#Java"}%
{Project,Current Stable Version,License}{table_id}
Where table_id is optional.
The URI could be written in-line (or force an automatic bibtex entry).