Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/phette23/wikipedpla

given a Wikipedia page, find related items in the DPLA
https://github.com/phette23/wikipedpla

Last synced: 27 days ago
JSON representation

given a Wikipedia page, find related items in the DPLA

Awesome Lists containing this project

README

        

**Note**: I've stopped working on this project in favor of [the WikipeDPLA Chrome extension](https://github.com/phette23/wdpla-ext).


# WikipeDPLA

A script meant to be run on Wikipedia it pages, it attempts to find relevant items in [the Digital Public Library of America](http://dp.la/). The page [Wikipedia:TWL/FindDPLA](https://en.wikipedia.org/wiki/Wikipedia:TWL/FindDPLA) describes how to install it as a [User script](https://en.wikipedia.org/wiki/Wikipedia:User_scripts). Here's what it looks like in action:

![WikipeDPLA in action](http://i.imgur.com/kaP5l9s.gif)

## Where it looks

To find relevant items, the script tries a few different methods of scraping search terms from the page & stops after the first query that returns results from DPLA. The search terms are (in order):

- the article's title
- if there's any '"Foo" redirects here' notices up top, it'll try 'foo'
- any categories, starting with the first category listed

It only runs in the main (articles) namespace.

## #LibHack

Written at [#libhack](http://www.libhack.org) at ALA MidWinter on Friday, January 24th, 2014 with help from [Jake Orlowitz](https://en.wikipedia.org/wiki/User:Ocaasi). I [wrote a blog post](http://acrl.ala.org/techconnect/?p=4174) about the experience on the ACRL Tech Connect blog.