Wikimedia Commons plugin for FileField Sources

Events happening in the community are now at Drupal community events on www.drupal.org.
arpieb's picture

Does anyone have an interest in a plugin for FileField Sources that would allow searching/browsing Wikimedia Commons for media to import into a D7 file field, along with attribution data?

I thought of this one while reading a blog article the other day where the author was taking a hit for using a cool off-angle screenshot of an OSX boot log for an Android article, and his reply was, "Do you know how hard it is to find cool, freely-available blog header images?" Google Image is great and all, but 99% of what you run across is either crap or copyrighted stock artwork.

I also notice that while building and testing sites, it's often a pain to come up with decent images to drop in that have some pertinence to the site's content. That and if you have folks randomly picking images you have no idea what they are using until a client might see the end result. This is where a module like this might come in handy during content testing and maybe even initial content stubbing for a site.

If so, it's one that I'd be willing to build. The WikiMedia API is a simple yet powerful RESTful service that could be leveraged to build a custom search-driven file browser for the plugin, and appears to be usable for read-only queries without any kind of account setup or API key(s).

I might still build it anyway just for the practice of integrating something against FileField Sources, but I'd also like some feedback before diving into it to make sure I'm covering functionality that might make it a more usable module.

Comments

You can already enter a URL

barobba's picture

You can already enter a URL to retrieve a file... so, would that be an add-on to the URL retrieval capability?

I know there is already a URL

arpieb's picture

I know there is already a URL reference ability in FileField Sources, I'm not sure if I can extend that or if I would have to build a Wikimedia-specific source plugin...

Could it be JQuery-based? You

barobba's picture

Could it be JQuery-based? You could simply add a Javascript file, that would perform the search. The end result would be a URL that is placed in the specific FileField sources URL field.

Contributed Module Ideas

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week