Re: Fun with [middle]

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 43731
interpreted = N
texte = > I am trying to grab the out of > about 250 .html files. > > I am trying to use a variation on this to grab the META data, but I get > everything after the StartAfter - all the way to the end of the page. Here > is what I have, any thoughts? > > [replace db=sw.db&eqIDdatarq=[ID]]MetaDesc=[Middle StartAfter= Name=description Content=&EndBefore=>][include > file=Web/[filename]][/Middle][/replace]You need to find a string more unique than '>' to use in your endbefore parameter. WebCat uses the last occurance of an item in an endbefore parameter, in this case the '>' in your tag.Dennis ------------------------------------------------------------- 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: Fun with [middle] (Gary Krockover 2002)
  2. Re: Fun with [middle] (Dennis J. Bonsall, Jr. 2002)
  3. Fun with [middle] (charles kline 2002)
> I am trying to grab the out of > about 250 .html files. > > I am trying to use a variation on this to grab the META data, but I get > everything after the StartAfter - all the way to the end of the page. Here > is what I have, any thoughts? > > [replace db=sw.db&eqIDdatarq=[ID]]MetaDesc=[Middle StartAfter= Name=description Content=&EndBefore=>][include > file=Web/[filename]][/Middle][/replace]You need to find a string more unique than '>' to use in your endbefore parameter. WebCat uses the last occurance of an item in an endbefore parameter, in this case the '>' in your tag.Dennis ------------------------------------------------------------- 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/ Dennis J. Bonsall, Jr.

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:

Writing to PDF (2003) japanese characters (1997) Date Sorting (1997) [GetRate 1.2] - Any problem? (1999) Damn actions/links...... (2001) Mozilla/4. and Browser Info.txt (1997) OT: WebCat Programmer (2000) Tax Rate (2000) Can you do this??? and other stuff (1997) Keep away (1997) ShowIf Question (1998) Modifying databases manually (was Banner DNA) (1997) ShowIf inside formulas (1997) changing names of Graphic files (2002) calculating ShipCost depending on weight (1997) RE: Jimmy Houssen (1998) mimeheaders to allow back button to work on a posted page? (2004) SQL Changes in 3.0.7? (2000) Mac Lockup Problems (1998) Problems with [Applescript] (1997)