Try prefixing your script /crawling command with:

$ xmlstarlet edit -L -u "/configuration/property[name='']"/value -v 'test'
conf/nutch-default.xml

$ xmlstarlet sel -t -c "/configuration/property[name='http.agent.name']"/value
conf/nutch-default.xml

After the second you should see printed:
<value>test</value>


On Tue, May 3, 2011 at 7:54 AM, fayazvf <[email protected]> wrote:

> hi,
>  I am facing the same problem as well.I tried with copying property tag
> containing http.agent.name into conf/nutch-site.xml. But i get the same
> problem. Can u help me out?
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Error-No-agents-listed-in-http-agent-name-property-tp1808332p2892972.html
> Sent from the Nutch - User mailing list archive at Nabble.com.
>



-- 
Regards,
K. Gabriele

--- unchanged since 20/9/10 ---
P.S. If the subject contains "[LON]" or the addressee acknowledges the
receipt within 48 hours then I don't resend the email.
subject(this) ∈ L(LON*) ∨ ∃x. (x ∈ MyInbox ∧ Acknowledges(x, this) ∧ time(x)
< Now + 48h) ⇒ ¬resend(I, this).

If an email is sent by a sender that is not a trusted contact or the email
does not contain a valid code then the email is not received. A valid code
starts with a hyphen and ends with "X".
∀x. x ∈ MyInbox ⇒ from(x) ∈ MySafeSenderList ∨ (∃y. y ∈ subject(x) ∧ y ∈
L(-[a-z]+[0-9]X)).

Reply via email to