Personal tools
You are here: Home Members kedai's Home manual cataloging
« October 2017 »
Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
Log in


Forgot your password?
Plug
Who - kedai (a) kedai . com . my
Where - Malaysia
What - we do zope/plone, linux solution for network, vpn, mail, etc
 
Document Actions

manual cataloging

by kedai last modified Oct. 13, 04 09:01 PM

Sometimes, we need to manually catalog objects in Zope. With Zope, that's actually quite easy.

As Dieter Maurer always says, whatever the ZMI can do, we can emulate that.

Following that advice, go to Catalog, and click the "Find and Catalog" tab

Fill in the necessary fields and look at the URL location in your browser. It should be something similar:

  http://10.11.1.2:8080/some/path/Catalog/manage_catalogFoundItems?obj_metatypes%3Alist=all&obj_ids%3Atokens=&obj_searchterm=&obj_expr=&obj_mspec=%3E&obj_mtime=2004%2F10%2F13&obj_permission=Add+Artikels&search_sub%3Aint=1&btn_submit=Find+and+Catalog

Now to actually call that url? lynx or wget or curl, or even pythons urllib(2) coud do it.

As an example, put this in crontab, and we can find and catalog object ever n sec/min/etc

hope this helps someone


Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: