Re: [WebDNA] Searching and replacing in another file

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110771
interpreted = N
texte = --Apple-Mail=_89DDBA4E-F84C-45B8-8BDC-ABCC59427B71 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 c) It's a mac a) and b) What I am doing is creating a special catalog. There's an index (table = of contents) file with the [ordered] links to each item, each item = having it's own html file. I create the index and the individual files going through the database = searching (and ordering) according to specified parameters. If there is = a jpg whose filename is in accord with the current found item then I add = it to the index and create the individual file (most found items do not = generate an index entry nor an individual file). There are some complicated cases that require special treatment. All of the above works ok, and in about a minute all the files are = created and can be uploaded to the web site. This is done a few times a = year. What I wanted to do is add a previous and a next page links. The previous link I have solved and works. It was easy as I always know = what was the previous item (predicting the past is easy, predicting the = future not) If I could search and replace on another file then I can solve the next = linkpage Regards, Francisco > El 02/10/2013 a las 13:16 -0300, Donovan Brooke escribi=F3: > On 10/02/2013, at 01:16 PM -0300, Donovan Brooke wrote: >=20 > Hi,.. 3 questions.. > Is this a one-time search/replace.. or an ongoing process? >=20 > Do you mean you need to replace text within HTML files? >=20 > Are you on a linux machine? >=20 > Donovan >=20 >=20 > =20 >> --- Original message ---=20 >> Subject: [WebDNA] Searching and replacing in another file=20 >> From: Francisco A. Hirsch =20 >> To: =20 >> Date: Wednesday, 02/10/2013 11:05 AM >>=20 >> I have to search html files and replace placeholders with the correct = values (different for every page). >> Is there a way to do this? >> Thanks, >> Francisco >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_89DDBA4E-F84C-45B8-8BDC-ABCC59427B71 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
c) It's a mac
a) and = b)
What I am doing is creating a special catalog. There's an = index (table of contents) file with the [ordered] links to each item, = each item having it's own html file.
I create the index and = the individual files going through the database searching (and ordering) = according to specified parameters. If there is a jpg whose filename is = in accord with the current found item then I add it to the index and = create the individual file (most found items do not generate an index = entry nor an individual file).
There are some complicated = cases that require special treatment.
All of the above works = ok, and in about a minute all the files are created and can be uploaded = to the web site. This is done a few times a year.
What I = wanted to do is add a previous and a next page links.
The = previous link I have solved and works. It was easy as I always know what = was the previous item (predicting the past is easy, predicting the = future not)
If I could search and replace on another file then = I can solve the next = linkpage
Regards,
Francisco

El 02/10/2013 a las 13:16 -0300, Donovan Brooke = escribi=F3:
On 10/02/2013, at 01:16 PM -0300, Donovan Brooke = wrote:

Hi,.. 3 questions..
Is this a one-time = search/replace.. or an ongoing process?

Do you mean you need to = replace text within HTML files?

Are you on a linux = machine?

Donovan


 
--- Original message --- 
Subject: [WebDNA] Searching and = replacing in another file 
From: Francisco A. Hirsch <listas.hirsch@gmail.com> 
To: <talk@webdna.us> 
Date: Wednesday, 02/10/2013 11:05 = AM

I have to search html files and replace placeholders with the = correct values (different for every page).
Is there a way to do = this?
Thanks,
Francisco

-------------------------------------= --------------------
This message is sent to you because you are = subscribed to
the mailing list <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archi= ves: http://mail.webdna.us/l= ist/talk@webdna.us
Bug Reporting: support@webdna.us
--------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archive= s: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us


= --Apple-Mail=_89DDBA4E-F84C-45B8-8BDC-ABCC59427B71-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Searching and replacing in another file ("Francisco A. Hirsch" 2013)
  2. Re: [WebDNA] Searching and replacing in another file (Donovan Brooke 2013)
  3. [WebDNA] Searching and replacing in another file ("Francisco A. Hirsch" 2013)
--Apple-Mail=_89DDBA4E-F84C-45B8-8BDC-ABCC59427B71 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 c) It's a mac a) and b) What I am doing is creating a special catalog. There's an index (table = of contents) file with the [ordered] links to each item, each item = having it's own html file. I create the index and the individual files going through the database = searching (and ordering) according to specified parameters. If there is = a jpg whose filename is in accord with the current found item then I add = it to the index and create the individual file (most found items do not = generate an index entry nor an individual file). There are some complicated cases that require special treatment. All of the above works ok, and in about a minute all the files are = created and can be uploaded to the web site. This is done a few times a = year. What I wanted to do is add a previous and a next page links. The previous link I have solved and works. It was easy as I always know = what was the previous item (predicting the past is easy, predicting the = future not) If I could search and replace on another file then I can solve the next = linkpage Regards, Francisco > El 02/10/2013 a las 13:16 -0300, Donovan Brooke escribi=F3: > On 10/02/2013, at 01:16 PM -0300, Donovan Brooke wrote: >=20 > Hi,.. 3 questions.. > Is this a one-time search/replace.. or an ongoing process? >=20 > Do you mean you need to replace text within HTML files? >=20 > Are you on a linux machine? >=20 > Donovan >=20 >=20 > =20 >> --- Original message ---=20 >> Subject: [WebDNA] Searching and replacing in another file=20 >> From: Francisco A. Hirsch =20 >> To: =20 >> Date: Wednesday, 02/10/2013 11:05 AM >>=20 >> I have to search html files and replace placeholders with the correct = values (different for every page). >> Is there a way to do this? >> Thanks, >> Francisco >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to >> the mailing list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archives: = http://mail.webdna.us/list/talk@webdna.us Bug Reporting: = support@webdna.us --Apple-Mail=_89DDBA4E-F84C-45B8-8BDC-ABCC59427B71 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=iso-8859-1
c) It's a mac
a) and = b)
What I am doing is creating a special catalog. There's an = index (table of contents) file with the [ordered] links to each item, = each item having it's own html file.
I create the index and = the individual files going through the database searching (and ordering) = according to specified parameters. If there is a jpg whose filename is = in accord with the current found item then I add it to the index and = create the individual file (most found items do not generate an index = entry nor an individual file).
There are some complicated = cases that require special treatment.
All of the above works = ok, and in about a minute all the files are created and can be uploaded = to the web site. This is done a few times a year.
What I = wanted to do is add a previous and a next page links.
The = previous link I have solved and works. It was easy as I always know what = was the previous item (predicting the past is easy, predicting the = future not)
If I could search and replace on another file then = I can solve the next = linkpage
Regards,
Francisco

El 02/10/2013 a las 13:16 -0300, Donovan Brooke = escribi=F3:
On 10/02/2013, at 01:16 PM -0300, Donovan Brooke = wrote:

Hi,.. 3 questions..
Is this a one-time = search/replace.. or an ongoing process?

Do you mean you need to = replace text within HTML files?

Are you on a linux = machine?

Donovan


 
--- Original message --- 
Subject: [WebDNA] Searching and = replacing in another file 
From: Francisco A. Hirsch <listas.hirsch@gmail.com> 
To: <talk@webdna.us> 
Date: Wednesday, 02/10/2013 11:05 = AM

I have to search html files and replace placeholders with the = correct values (different for every page).
Is there a way to do = this?
Thanks,
Francisco

-------------------------------------= --------------------
This message is sent to you because you are = subscribed to
the mailing list <talk@webdna.us>.
To = unsubscribe, E-mail to: <talk-leave@webdna.us>
archi= ves: http://mail.webdna.us/l= ist/talk@webdna.us
Bug Reporting: support@webdna.us
--------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list . To = unsubscribe, E-mail to: archive= s: http://mail.webdna.us/l= ist/talk@webdna.us Bug Reporting: support@webdna.us


= --Apple-Mail=_89DDBA4E-F84C-45B8-8BDC-ABCC59427B71-- "Francisco A. Hirsch"

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:

why is this line in GeneralStore? (1998) Claris HomePage messes up the code (1997) ShowNext Questions (2000) WC2b15 - [HTMLx]...[/HTMLx] problems (1997) Validating a date (2000) Languages (1997) [WebDNA] Webdna and CMS (2012) PCS Frames-Default page is solution! (1997) This message couldn't reach the list! (1998) Secure server question (1997) WebCat2b13MacPlugin - nested [xxx] contexts (1997) no [search] with NT (1997) [OT] kinda (2004) Some Questions (1997) [Announce]: Web server security and password protection (1997) [WebDNA] Upgrade from OS 10.7.5 WebDNA 6.2 to Mavericks (2014) [cart]'s ever get recycled? (2000) Sort of a Dilema! (1998) how to check for no value while using [URL] to prevent cr (1999) Shared databases (2003)