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 = 40617
interpreted = N
texte = My solution was written using webcat 3.x so I didn't have the ability to use[listwords]. Now that I am using 4.x it would probably be a good idea to tryand re-write it using [listwords] as like you mention, it would probablysafer in case they change the order.Daleon 14/6/02 10:51 am, Alain Russell at alain.russell@blackpepper.co.nz wrote:> 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/
Associated Messages, from the most recent to the oldest:
My solution was written using webcat 3.x so I didn't have the ability to use[listwords]. Now that I am using 4.x it would probably be a good idea to tryand re-write it using [listwords] as like you mention, it would probablysafer in case they change the order.Daleon 14/6/02 10:51 am, Alain Russell at alain.russell@blackpepper.co.nz wrote:> 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/
drt - lists
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 6.0a for Apache 2.2.4 (2007)
[OT] Be Nice to Your Computer Wizards (2000)
Sendmail question [Newbie] (1999)
Documentation Feedback (1997)
Buying sans cart (1997)
ShipTo Countries (2006)
Reloading Shopping Carts (1998)
LOOP and IF statements (1997)
MacAuthorize order data fields WAS:How To question... (1997)
Banners (1997)
Setting up shop (1997)
Suffix Mapping (1997)
NT or Mac (1998)
Running 2 two WebCatalog.acgi's (1996)
Loops N Variables (1998)
NT Version on IIS 4.0 (1997)
random sorting broken (was Re[2]: php vs WebCatalog) (2000)
all records returned. (1997)
[lookup] vs. [search] (1998)
Expected Behavior? (1999)