Re: Extract my page name

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 66730
interpreted = N
texte = Did you receive my mail with the listwords? If that works then ok= , if not the I have some more with listmimeheaders and stuff like= that. Nitai -- eContentPark - Enterprise Digital Asset Management eServices - The complete SupportSuite eSurvey - Online Questionnaire made easy Redakto CMS - Content Management that simply works ComputerOil=C2=AE AG Neugutstrasse 66 8600 D=C3=BCbendorf / Switzerland Telefon +41 (0)844 44 55 66 info@computeroil.com http://computeroil.com > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On B= ehalf Of > Steve Craig > Sent: Dienstag, 4. April 2006 17:41 > To: WebDNA Talk > Subject: Re: Extract my page name > > Hi > > Only problem with this is the domain name can change. > > Cheers > > On 4 Apr 2006, at 16:09, Gary Krockover wrote: > > > I'm guessing a grep to remove any instance of /www.mydomain.c= om/ > > (doing nothing if that is not present) before moving on to th= e > > [middle]: > > > > [text show=3Df]PREPAGENAME=3D[grep search=3Dwhatever pattern=20= to remove / > > www.anycharacters.com/][myURL][/grep] > > > > [text]PAGENAME=3D[Middle StartAfter=3D/&EndBefore=3D.][PREPAG= ENAME][/ > > middle][/text] > > > > Sorry, my grep-fu is weak so I can't help you there. There m= ay be > > a way to use only grep as well - I'm sure that there is, so t= his > > has been a pretty unhelpful suggestion but I'm ready for anyt= hing > > besides the "SQL or not to SQL" posts. :) > > > > G. > > > > At 09:53 AM 4/4/2006, you wrote: > >> Hi > >> > >> Sorry I'm sure this is simple my brain has just stopped func= tioning > >> at the moment. > >> > >> I have a database with various urls in it that could be stor= ed as > >> '/ mypage.html' or they could be '/www.mydomain.com/mypage.h= tml' > >> > >> In either case I need a way to extract the mypage bit that w= ill work > >> with any variation of that and I can't figure out how to do=20= it. Does > >> anyone have any suggestions, I have always used... > >> > >> [text]PAGENAME=3D[Middle StartAfter=3D/&EndBefore=3D.][myURL= ][/middle][/ > >> text] > >> > >> ...which used to work fine until the domains part was also > >> introduced. Unfortunately I have little or no control over t= he > >> entered url so I need to figure out a way. > >> > >> Any help much appreciated. > > > > > > -------------------------------------------------------------= > > 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 > digest@talk.smithmicro.com> > > Web Archive of this list is at: http://webdna.smithmicro.com/= > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Steve Craig - Asylum Interactive Ltd > Tel +44 1330 860550 Fax +44 1330 860880 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > http://www.asylumweb.com > Email: steve@asylumweb.com > Skype: s.craig - iChat: steve.craig > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- 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://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Extract my page name ( devaulw@onebox.com 2006)
  2. Re: Extract my page name ( Gary Krockover 2006)
  3. Re: Extract my page name ( nitai@computeroil.com 2006)
  4. Re: Extract my page name ( Steve Craig 2006)
  5. Re: Extract my page name ( Gary Krockover 2006)
  6. Re: Extract my page name ( nitai@computeroil.com 2006)
  7. Extract my page name ( Steve Craig 2006)
Did you receive my mail with the listwords? If that works then ok= , if not the I have some more with listmimeheaders and stuff like= that. Nitai -- eContentPark - Enterprise Digital Asset Management eServices - The complete SupportSuite eSurvey - Online Questionnaire made easy Redakto CMS - Content Management that simply works ComputerOil=C2=AE AG Neugutstrasse 66 8600 D=C3=BCbendorf / Switzerland Telefon +41 (0)844 44 55 66 info@computeroil.com http://computeroil.com > -----Original Message----- > From: WebDNA Talk [mailto:WebDNA-Talk@talk.smithmicro.com] On B= ehalf Of > Steve Craig > Sent: Dienstag, 4. April 2006 17:41 > To: WebDNA Talk > Subject: Re: Extract my page name > > Hi > > Only problem with this is the domain name can change. > > Cheers > > On 4 Apr 2006, at 16:09, Gary Krockover wrote: > > > I'm guessing a grep to remove any instance of /www.mydomain.c= om/ > > (doing nothing if that is not present) before moving on to th= e > > [middle]: > > > > [text show=3Df]PREPAGENAME=3D[grep search=3Dwhatever pattern=20= to remove / > > www.anycharacters.com/][myURL][/grep] > > > > [text]PAGENAME=3D[Middle StartAfter=3D/&EndBefore=3D.][PREPAG= ENAME][/ > > middle][/text] > > > > Sorry, my grep-fu is weak so I can't help you there. There m= ay be > > a way to use only grep as well - I'm sure that there is, so t= his > > has been a pretty unhelpful suggestion but I'm ready for anyt= hing > > besides the "SQL or not to SQL" posts. :) > > > > G. > > > > At 09:53 AM 4/4/2006, you wrote: > >> Hi > >> > >> Sorry I'm sure this is simple my brain has just stopped func= tioning > >> at the moment. > >> > >> I have a database with various urls in it that could be stor= ed as > >> '/ mypage.html' or they could be '/www.mydomain.com/mypage.h= tml' > >> > >> In either case I need a way to extract the mypage bit that w= ill work > >> with any variation of that and I can't figure out how to do=20= it. Does > >> anyone have any suggestions, I have always used... > >> > >> [text]PAGENAME=3D[Middle StartAfter=3D/&EndBefore=3D.][myURL= ][/middle][/ > >> text] > >> > >> ...which used to work fine until the domains part was also > >> introduced. Unfortunately I have little or no control over t= he > >> entered url so I need to figure out a way. > >> > >> Any help much appreciated. > > > > > > -------------------------------------------------------------= > > 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 > digest@talk.smithmicro.com> > > Web Archive of this list is at: http://webdna.smithmicro.com/= > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > Steve Craig - Asylum Interactive Ltd > Tel +44 1330 860550 Fax +44 1330 860880 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > http://www.asylumweb.com > Email: steve@asylumweb.com > Skype: s.craig - iChat: steve.craig > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > > > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- 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://webdna.smithmicro.com/ nitai@computeroil.com

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:

Credit Card Number checking (1997) website pro trouble (1998) ShowNext for method=POST (1997) Use of Back and Reload Buttons on ShoppingCart page? (1997) $Quit, $CloseDatabase corrections (1997) Opinion: [input] should be called [output] ... (1997) WebDNA Codes in Secure Mode (1997) Loss in Form (1998) Snake Bites (1997) A Global Variable (1997) SPAM attempts through WebDNA (Was Serious WebDNA Issue) (2006) WebCatalog/Mac 2.1b2 New Features (1997) Help formatting search results w/ table (1997) rn (range) (2003) can WC render sites out? (1997) WebCat2b13MacPlugIn - [shownext method=post] ??? (1997) no global [username] or [password] displayed ... (1997) boldwords funky (1998) WebDNA 5.0 upgrade policies (2003) [WebDNA] setcookie in IE11 (2014)