On Jan 16, 2015, at 5:29 PM, Shawn Blc wrote:
> Here's what I ended up with , with the extra php file (one for the rss, one
> to clean up the html a bit [that file was 13 lines long]). Total lines =
> 20 lines.
>
> on mouseUp
> set the itemDelimiter to ""
> put URL "http://mydomain.com/clean
How about this:
on mouseup
put fld "fld1" into tList
replace space with cr in tList
filter tList with "http*"
put tList
end mouseup
Gives a list of all the URLs in fld 'fld1". Is that what you want?
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
On Jan
I don't understand the --myTag-- part of the above. Someone care to
explain.
On Fri, Jan 16, 2015 at 4:29 PM, Shawn Blc wrote:
> Here's what I ended up with , with the extra php file (one for the rss,
> one to clean up the html a bit [that file was 13 lines long]). Total lines
> = 20 lines.
>
Here's what I ended up with , with the extra php file (one for the rss, one
to clean up the html a bit [that file was 13 lines long]). Total lines =
20 lines.
on mouseUp
set the itemDelimiter to ""
put URL "http://mydomain.com/cleanHTML.php"; into tURL
put tURL into fld "fld4"
replace
On 1/16/2015 4:09 PM, Shawn Blc wrote:
Phil that was the one that worked like I was hoping. Thanks John and
Phil! Don't need the extra Php file now!
Here's another way:
on mouseUp
put fld 1 into tText
put 0 into tSkip
repeat
get offset("https://www.domainb.com/",tText,tSkip)
Phil that was the one that worked like I was hoping. Thanks John and
Phil! Don't need the extra Php file now!
On Fri, Jan 16, 2015 at 3:54 PM, Phil Davis wrote:
> Try this:
>
> on mouseUp
> put text of fld 1 into tText
> replace CR with space in tText
> replace quote with space
t; Date: Fri, 16 Jan 2015 14:19:38 -0600
> > Subject: Find all links in fld
> > From: shawnlivec...@gmail.com
> > To: use-livecode@lists.runrev.com
> >
> > I'm still struggling with this, so I'm asking for a little help.
> >
> > I'm trying t
Try this:
on mouseUp
put text of fld 1 into tText
replace CR with space in tText
replace quote with space in tText
replace "https://"; with ("--myTag--" & "https://";) in tText
replace space with CR in tText
replace "--myTag--" with CR in tText
filter tText with "https
Very simple solution
on mouseUp
repeat for each word thisWord in fld 1
if char 1 to 4 of thisWord = "http" then
put thisWord & cr after tempList
end if
end repeat
put tempList
end mouseUp
> Date: Fri, 16 Jan 2015 14:19:38 -0600
> Subject: F
I'm still struggling with this, so I'm asking for a little help.
I'm trying to extract the links from the field. All the links will start
the same, but the last 5 digits will be different.
*on* mouseUp
*put* URL "http://mydomainA.com/rss.php"; into tURL
*put* tURL into fld "fld1"
*fi
10 matches
Mail list logo