Re: grabbing xml data with webcat (was: Posting XML data to

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 40616
interpreted = N
texte = I ended up writing a parser that grabs the respose from my post and then turns it all into [text]variables so I can what I like with them .. It uses a lot of [listwords] and again - is not pretty, butas far as I can see it should not fall over if the response file changes.Native XML interpretation is a feature I am well looking forward to.> Ben, > > Depending on how complexe the xml is that you need to put into the > database, it can be done but can be a pain. > > On one of my sites I grab daily horoscopes from another site in xml > format and parse them with webcat. It was not pretty and if they change > the order of the records provided I am sunk. > > Basically what I did was to grab the entire content, then as I happen > to know they last record (the last zodiac sign in this case) I can use > a [middle] context and look for all content after the next to last sign > and end before the last bit of text. Then work my way backwards up the > file. > > Dale > > > > on 13/6/02 5:14 am, Ben Swihart at bswihart@timesnews.net wrote: > >> Since you are (sort of) on the subject... Anyone got a better way to >> get xml data into a webdna database? At the moment, I'm using a perl >> script to parse the xml files and write a webdna query, which is hit >> on a trigger. >> >> - Ben >> > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is > at: http://search.smithmicro.com/ -- Alain Russell Blackpepper Interactive alain.russell@blackpepper.co.nz ph. 09 520 6280------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: grabbing xml data with webcat (was: Posting XML data to (drt - lists 2002)
  2. Re: grabbing xml data with webcat (was: Posting XML data to (Alain Russell 2002)
  3. Re: grabbing xml data with webcat (was: Posting XML data toSSL (drt - lists 2002)
I ended up writing a parser that grabs the respose from my post and then turns it all into [text]variables so I can what I like with them .. It uses a lot of [listwords] and again - is not pretty, butas far as I can see it should not fall over if the response file changes.Native XML interpretation is a feature I am well looking forward to.> Ben, > > Depending on how complexe the xml is that you need to put into the > database, it can be done but can be a pain. > > On one of my sites I grab daily horoscopes from another site in xml > format and parse them with webcat. It was not pretty and if they change > the order of the records provided I am sunk. > > Basically what I did was to grab the entire content, then as I happen > to know they last record (the last zodiac sign in this case) I can use > a [middle] context and look for all content after the next to last sign > and end before the last bit of text. Then work my way backwards up the > file. > > Dale > > > > on 13/6/02 5:14 am, Ben Swihart at bswihart@timesnews.net wrote: > >> Since you are (sort of) on the subject... Anyone got a better way to >> get xml data into a webdna database? At the moment, I'm using a perl >> script to parse the xml files and write a webdna query, which is hit >> on a trigger. >> >> - Ben >> > > > ------------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > To switch to the DIGEST mode, E-mail to > Web Archive of this list is > at: http://search.smithmicro.com/ -- Alain Russell Blackpepper Interactive alain.russell@blackpepper.co.nz ph. 09 520 6280------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Alain Russell

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

[WebDNA] TLS 1.2 and [tcpconnect] (2018) How to include weather (2000) RE: Error reading data -1 (1997) Help with getting rpm file (2002) Introduction/Tutorial/QuickStart (1997) url question (2002) WC Database Format (1997) emailer on Windows Beta 18 (1997) Web Catalog Instability (2000) New public beta available (1997) To Err or Not Custom Error (1999) really wierd browser truncating (1997) Number of Open Databases (1998) Message Board (again:-) (2000) [WebDNA] WebDNA7 url plus get? (2011) WC2.0 Memory Requirements (1997) WebCat chatroom (1997) unitshipcost vs shipcosts (1997) Text data with spaces in them... (1997) Locking up with WebCatalog... (1997)