Well, it doesn't go into the live database to fix stuff. I added short descriptions of the two current functions to the readme - the first is not one that should be used on the production database.
One could run this 'component' as a service for bots to use as part of their algorithm. It would be like one bot asking another bot to do part of the work. That's not how bots usually work, I guess, but maybe at some point services like this one could be integrated into the OL service. For example, to fix badly input tables of content or add a parsed copy of birth date and death date when the record is saved. You could also view this as a stub for a Java implementation of OpenLibrary objects (Author, Work, Edition), as it doesn't manipulate the JSON it receives directly; it creates Java objects from the JSON and manipulates those instead. I'm not sure I will do much more work on this, because even if it eventually does something truly useful, it would be pretty inefficient. But if anyone is interested in building a Java API for OL, or a Java clone of OL, she could start here :) Ben On 19 May 2014 00:08, Karen Coyle <[email protected]> wrote: > Ben, can you say more about what this bot does? I looked at the readme > but it didn't go much into the reasons - I assume it fixes stuff that > needs to be fixed.... > > kc > > On 5/18/14, 8:19 AM, Ben Companjen wrote: >> Hi all, >> >> As a sort of test (of my Java EE skills and IntelliJ IDEA) I thought >> I'd try to create a REST service to help a bot for OpenLibrary. It's >> pretty heavy for the (incomplete) functionality it provides (like >> trimming spaces and periods in author death dates), but whatever. I'm >> not running a live version currently. >> >> https://github.com/bencomp/ol-bot >> >> Regards, >> >> Ben >> _______________________________________________ >> Ol-tech mailing list >> [email protected] >> http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech >> Archives: http://www.mail-archive.com/[email protected]/ >> To unsubscribe from this mailing list, send email to >> [email protected] >> > > -- > Karen Coyle > [email protected] http://kcoyle.net > m: 1-510-435-8234 > skype: kcoylenet > _______________________________________________ > Ol-tech mailing list > [email protected] > http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech > Archives: http://www.mail-archive.com/[email protected]/ > To unsubscribe from this mailing list, send email to > [email protected] _______________________________________________ Ol-tech mailing list [email protected] http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech Archives: http://www.mail-archive.com/[email protected]/ To unsubscribe from this mailing list, send email to [email protected]
