Hi all,

I am having problems with updating extractors.xml file on
hippo-repository-1.2.15. This is updated fine in the binary distribution
that we are using on staging environment (no restart is required). But on
ACCT environment, provider use hippo repository as WAR file and it is
deployed under Tomcat (also Apache in front). We tried to redeploy War file,
and when Tomcat unpack it WEB-INF\slide\extractors.xml file is updated with
new properties.
Also work/localhost folders are deleted, but still nothing. Some documents
are touched and new ones are created.

Two more properties are added to extractors (metaPublicationTime, subject)
like this:

<extractor classname="nl.hippo.slide.extractor.HippoXmlPropertyExtractor"
uri="/files/ictu.preview" content-type="text/xml">
   <configuration>
     <instruction property="title" namespace="http://hippo.nl/cms/1.0";
xpath="string(/document/page/head/title)"/>   
     <instruction property="introduction"
namespace="http://hippo.nl/cms/1.0";
xpath="string(/document/page/head/introduction)"/>
     <instruction property="metaPublicationDate"
namespace="http://hippo.nl/cms/1.0";
xpath="string(/document/meta/common/publicationDate)"/>
     <instruction property="metaPublicationTime"
namespace="http://hippo.nl/cms/1.0";
xpath="string(/document/meta/common/publicationTime)"/>     
     <instruction property="subject" namespace="http://hippo.nl/cms/1.0";
xpath="string(/document/meta/common/subject)"/>
..........
   </configuration>
  </extractor>



Payload gives this:
<D:prop>
<caption>utorak</caption>
<type>news</type>
<index>00000000005</index>
<introduction>utorak intro</introduction>
<metaPublicationDate>2009-09-22</metaPublicationDate>
<title>utorak head</title>
<S:hitPosition>0</S:hitPosition>
<S:nrHits>8</S:nrHits>
<D:displayname>utorak.xml</D:displayname>
</D:prop>
<D:status>HTTP/1.1 200 OK</D:status>
</D:propstat>
<D:propstat>
<D:prop>
<subject/>
<metaPublicationTime/>
</D:prop>
<D:status>HTTP/1.1 404 Not Found</D:status>



If anyone had similar problems, please share...

Thanks in advance,
Biba

********************************************
Hippocms-dev: Hippo CMS development public mailinglist

Searchable archives can be found at:
MarkMail: http://hippocms-dev.markmail.org
Nabble: http://www.nabble.com/Hippo-CMS-f26633.html

Reply via email to