Himanshu Neema wrote:
>Dear All,
>
>Using Mozilla, we are stuck at a position where we want to extract
>values of various tags present in a HTML document viz. TITLE,
>AUTHOR, META, LINKS, IMAGES, etc.
>
>After research we found that Mozilla's "nsIParser" is able to
>extract plain-text out of a HTML document but we are not able to get
>the values of above mentioned tags from the given HTML document.
>Even "nsDOMParser" could not prove helpful.
>
>Also, we want to know whether Mozilla's Necko library is fully
>thread-safe or not. This uncertainty is out of Necko's failure
>when we were trying to use it for more than 8,000 documents
>continuously.
>
necko cannot be called from more than one thread. however, this does
not preclude it from handling many simultaneous downloads. all
processing is event driven allowing one thread to multiplex the
downloads. moreover, there are prefs controlling the maximum number of
http server connections, etc
keep in mind, though, that necko is a client networking library. it is
not designed to handle thousands of connections. our target is more
like 50 connections.
darin
>
>
>If anybody can give slightest hint on above problems, it would be
>highly helpful and appreciative.
>
>I shall definitely be highly thankful to you.
>
>Regards,
>Himanshu Neema
>
>Consultant,
>tSA Consulting Grp. Pty. Ltd.
>Level-1, Hall Street,
>Lyneham, ACT 2602
>Canberra, Australia
>Tel: 61-2-6257 7111
>Fax: 61-2-6257 7311
>Email: [EMAIL PROTECTED]
>web: http:\\www.topic.com.au\
>
>PS: It needs just a single spark to become a conflagration.
>=======================================
>