[pd-discuss] Flowchart based Public Domain calculator API call

Ignasi Labastida i Juan ilabastida at ub.edu
Wed Mar 3 14:01:20 UTC 2010


Hi Maarten,

I'm working on adapting the Spanish calculator to fit your specifications.
I hope I could send it to you next week

Best,

Ignasi Labastida

2010/3/3 Maarten Zeinstra <mz at kl.nl>:
> Hi all,
> I've cleaned the code for the flowchart/xml based Public Domain Calculator
> Substantially (I removed all Graphical User Interface code as that is now in
> a higher state of development over at EuropeanaLabs' SVN
> (/contrib/kennisland/)
> As said before I have made 4 calculators available (no, uk, nl, and generic
> european(ge) ) so these can be filled in as ISO jurisdiction codes.
> The calculator does not calculate by date but by year so it cuts the date
> format (now in yyyymmdd) at yyyy
> I've extended the API call by putting a JSON work object in an array so we
> can make a call of a set of works instead of one at a time.
> it will output an array with results in the same order as it got them.
> I've updated the code and put it all on sourceforge (svn co
> https://pdc-kl.svn.sourceforge.net/svnroot/pdc-kl pdc-kl)
> Things we need to do before we could use these on datasets:
> - integration with public domain works
> - identifying not 100% scenarios and putting them in the xml
> - putting it on a server which can handle the load of larger sets.
> - develop flowcharts for all jurisdictions ;)
> best,
> Maarten Zeinstra
> Kennisland | Knowledgeland
>
> T: +31.20.575.6720 | E: mz at kl.nl
> www.kennisland.nl | www.knowledgeland.org
>
> On Feb 13, 2010, at 24:10 , Rufus Pollock wrote:
>
> Wow Maarten, great work! Comments inline below.
>
> On 11 February 2010 08:53, Maarten Zeinstra <mz at kl.nl> wrote:
>
> HI all,
>
> I am happy to announce that a preliminary version of the flowchart based
>
> automatic public domain calculator can be tested (a bit) on
>
> test.kl.nl/API/?json=
>
> Great stuff. I've now deployed the results of our coding efforts in
> Luxembourg onto publicdomainworks.net:
>
> <http://www.publicdomainworks.net/api/>
>
> As yet I haven't connected this into our actual calculators [1] but
> that is next on the agenda.
>
> [1]:<http://knowledgeforge.net/pdw/hg/file/tip/pdw/pd/>
>
> [...]
>
> This will be communicated using json, a json structure would look like:
>
> [...] - I've snipped the json because it was rendering poorly in my
> email client (all flattened) but this is really nice. Would you be
> able to update the wiki page documenting/speccing the API with this
> info?
>
> I also think one thing that would be really nice (but it obviously
> requires a backing db such as PD works) is for the API to be able to
> do a bit of work such as determining author death date just from
> author name (i.e. for the API to match an author name against a
> relevant author object). My guess is that most human users of a
> calculators won't always know all relevant information.
>
> Which will perform the calculation. Now it will state 'Uncertain, lacking
>
> information' this is because is now standardly based on Generic European
>
> flowcharts and hits a wall at the "Is at least one of the authors of the
>
> jurisdiction"
>
> This might be where the uncertainty field comes in. It would be nice
> to give an approximate answer in cases where you have 95% of the
> relevant info (and the author jurisdiction item is very minor ...)
>
> The programming is now in a test phase but I could really use some help
>
> transforming flowcharts into XML structures
>
> If anyone wants to help this cause please contact me! :)
>
> I'm happy to help though you know my preference for code over XML ;)
>
> Regards,
>
> Rufus
>
>
> _______________________________________________
> pd-discuss mailing list
> pd-discuss at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/pd-discuss
>
>




More information about the pd-discuss mailing list