[Foundation-l] Mayflower: Wikimedia Commons media search

Gregory Maxwell gmaxwell at gmail.com
Wed Feb 14 15:50:25 UTC 2007

On 2/14/07, Husky <huskyr at gmail.com> wrote:

> I'm not a brilliant programmer, but isn't it simply a case of
> 1) having an array with all possible (or at least, the most popular)
> licenses and their template tags

This is hard because you have to first make the list.. And you have to
deal with examples like the {{PD-CAGov that}} I listed, and
{{GFDL-joeblow}} (personal license templates).  The list of license
templates are growing every day.

> 2) parsing all {{template}} tags

Thats not enough because people often use licenses through wrapper templates..


There are a whole bunch, they change too.. and you have to track them down.

> 3) matching the template tags with the licenses array and using that to
> display the license in the Mayflower results screen?

Because there are so many different minor permutations, even if you
could extract all the licenses, figuring out the mapping to something
small enough to put in the interface is a challenge alone.

More information about the foundation-l mailing list