Here's an example XML entry. I would search for <url>
http://iphishyou.com</url>
and probably request 3-4 elements back.. (such as status, target, submission
date, etc).

<output>
        <meta>
                <generated_at>2009-06-19T16:18:40+00:00</generated_at>
                <total_entries>1234</total_entries>
        </meta>
        <entries>
                <entry>
                        <url><![CDATA[http://www.example.com/]]></url>
                        <phish_id>123456</phish_id>
                        
<phish_detail_url>http://www.phishtank.com/phish_detail.php?phish_id=123456</phish_detail_url>
                        <details>
                                <detail>
                                        <ip_address>1.2.3.4</ip_address>
                                        <cidr_block>1.2.3.0/24</ip_address>
                                        
<announcing_network>1234</announcing_network>
                                        <rir>arin</rir>
                                        
<detail_time>2009-06-20T15:37:31+00:00</detail_time>
                                </detail>
                        </details>
                        <submission>
                                
<submission_time>2009-06-19T15:15:47+00:00</submission_time>
                        </submission>
                        <verification>
                                <verified>yes</verified>
                                
<verification_time>2009-06-19T15:37:31+00:00</verification_time>
                        </verification>
                        <status>
                                <online>yes</online>
                        </status>
                        <target>1st National Example Bank</target>
                </entry>
                ...
        </entries>
</output>


On Thu, Dec 16, 2010 at 10:58 AM, Matthew Woodward <[email protected]>wrote:

> On Thu, Dec 16, 2010 at 8:56 AM, Jason King <[email protected]>wrote:
>
>> Which leads to your point of JSON being less verbose. I guess.. less text,
>> faster searching.
>
>
> Well, if that's all you're doing XMLSearch() is probably pretty efficient,
> but kinda depends on how much data you're getting back.
>
> --
> Matthew Woodward
> [email protected]
> http://blog.mattwoodward.com
> identi.ca / Twitter: @mpwoodward
>
> Please do not send me proprietary file formats such as Word, PowerPoint,
> etc. as attachments.
> http://www.gnu.org/philosophy/no-word-attachments.html
>
> --
> Open BlueDragon Public Mailing List
> http://www.openbluedragon.org/ http://twitter.com/OpenBlueDragon
> official manual: http://www.openbluedragon.org/manual/
> Ready2Run CFML http://www.openbluedragon.org/openbdjam/
>
> mailing list - http://groups.google.com/group/openbd?hl=en
>

-- 
Open BlueDragon Public Mailing List
 http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
 official manual: http://www.openbluedragon.org/manual/
 Ready2Run CFML http://www.openbluedragon.org/openbdjam/

 mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to