Creative Commons Search

balleyne - August 12, 2009 - 00:19
Project:Creative Commons
Version:HEAD
Component:Code
Category:feature request
Priority:normal
Assigned:balleyne
Status:needs work
Description

The module should have a search component, like Flickr, search.creativecommons.org, Google Image Search, etc.

#1

balleyne - August 12, 2009 - 00:23

hook_search() has been implemented by copying significant portions of code from node_search() and added a Creative Commons filter. Ideally, this filter option should just be part of the node_search()'s advanced search, but it's not clear to me how to accomplish that... it's really easy to add the additional fields, but it's not obvious how to add the filter into node_search, since the function explicitly checks for keys (of which CC is not one...).

This implementation ought to work in the meantime, but it should be integrated with node_search() (rather than duplicated) once we figure out how to do that...

#2

turadg - August 12, 2009 - 21:02

Can you make a License facet for faceted search?

#3

c-c-m - August 19, 2009 - 11:59

great!

 
 

Drupal is a registered trademark of Dries Buytaert.