2013/8/20 Lodewijk:
2013/8/20 David Narvaez:
What would the source of the txt file be? A list of new uploads? If so, then we could add a feature where the tool updates itself with newly added items in a category every day.
If you are simply loading from the files/category, it should be automatic (perhaps too automatic!).
> A question of my own: what happens if an image gets renamed/deleted. Will > the tool be able to handle that? Haven't thought of that, good point. This is somewhat related to the rate-as-you-go mode discussed above, so let me think about these and I'll write back with a plan (or no plan ;))
Also important when you get the images you display directly from commons (or do you download everything) and to keep the links working.
A possible way of dealing with it, is keeping an eye on move- and deletion logs (which are public) and processing that. Not sure how that would work automatically, but the data is there.
In my experience the trickiest cases are going back from an image page to the upload log after it was renamed, and an image being splitted (ie. Upload A, reupload A, Delete A, restore A1, move A → B, delete A, restore A2).
Can your take the files from an existing db? It would be nice if it could pull from the db with the list generated by my tools. I wasn't able to find your database schema, though.