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:

[format 40s]text[/format] doesn't work (1997) Re1000001: Setting up shop (1997) Make sure I understand this??? (1997) Webcat/Webmerchant (1998) More Cookies (2002) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) DON'T use old cart file! (1997) Corruption in images (2004) PC site chck pls (2003) [WebDNA] Serial numbers and pricing for WebDNA 7.0 (2011) 4.5.1 upgrade fee (2003) code to phantom spacing (2001) UNSUBSCRIBE (2000) using showpage and showcart commands (1996) Problems reading files created by WC (1997) Possible solution to malformed pages in NN (2000) A link and two command (1998) WebDNA Writer Needed (1997) problems with 2 tags (1997) FAX orders (1996)