|
Kurt

Member since Dec-5-02
6391 posts, 3 feedbacks, 4 points |
Jan-12-05, 08:38 PM (PST) |
 |
"Replacez"
 |
LAST EDITED ON Apr-22-06 AT 11:01 AM (PST)
Replacez Readme.ReplaceBomb is now Replacez to be used with Tuelz.
Replacez Replacez is a search and replace tuel with a twist. It will locate your search text, but instead of replacing it with just another word or phrase, Replacez will cycle through a list of text strings, replacing each instance of your "search text" with the next line of text you have entered. For Example. Let's take this paragraph:
I took my dog for a walk and we went to the park where there was another dog or two. Whenever my dog sees another dog, he gets very excited. If we did a "regular" search/replace, finding "dog" and replacing it with "puppy" the above sentence would simply insert "puppy" for ever instance of the word "dog". With Replacez, we can add variety. For SEARCH FOR enter: dog For REPLACE WITH enter: puppy mutt canine pooch Replacez will cycle through all "dogs" and replace it with the next line entered into REPLACE WITH, creating this paragraph: I took my puppy for a walk and we went to the park where there was another mutt or two. Whenever my canine sees another pooch, he gets very excited.This is an excellent way to mix things up and add variety to your pages and has a number of benefits, including powerful SEO strategies. New Feature: added 4-22-06...Page by Page functionSequential - Uses the "old" method, and replaces each instance with a new choice. ...Or... Page by page - This mode will change all instances on a single page with the same choice, then open the next page and use the same choice for all replaces on that page, etc.
-Boom boom boom boom.
|
|
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote |
|
|
Kurt

Member since Dec-5-02
6391 posts, 3 feedbacks, 4 points |
Jan-31-05, 02:29 AM (PST) |
 |
1. "Using Replacez to Insert Tracking Codes"
 |
LAST EDITED ON Jan-31-05 AT 02:49 AM (PST) Many website stats programs (and other things) require each page to use a unique tracking code. Replacez is perfect for this.Replacez is perfect for this type of thing. It's a "two stepper". Step One: Find: </body> Replacez: <!--trackingTagID=PAGE-ID-TAG--></BODY> This will insert the tracking tag at the bottom of each page. Don't forget to re-include the </body> tag in the "replace", also. Step Two Find: PAGE-ID-TAG&id= Replacez: PAGE-ID-TAG&id=1 PAGE-ID-TAG&id=2 PAGE-ID-TAG&id=3 PAGE-ID-TAG&id=4 ...etc. Of course, the exact tag will be different, but try to isolate the ID number that needs to change and use Replacez. This will give a different ID for each page. You may be able to use your keywords as ID, depending on your tracking program. This method should take less than 5 minutes to add a unique tracking code to a few thousand pages. Just make sure you have more "numbers" than pages.
-Boom boom boom boom.
|
|
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote |
|
|
Kurt

Member since Dec-5-02
6391 posts, 3 feedbacks, 4 points |
Apr-03-05, 07:56 AM (PST) |
 |
4. "RE: Using Replacez to Insert Tracking Codes"
 |
>Is it possible to get several lines of code replaced at one >time on a selection of webpages within a folder? Graeme, No, you'll need to run something like Tagz first or a couple of "Replacez". Here's a generic "recipe": 1 Find: Start of text string Replace w/Some unique tag: <starttagz> 2 Find: End of text string Replace w/Some unique tag: <endtagz> 3 Run Tagz, using the start/end tags just inserted to insert another <tagzzz> 4 Run Replacez to replace the <tagzzz> with your new info. 5. Remove your start/end tags used in steps 1 and 2. While it seems like a lot of work, the truth is this should only take an extra minute or two and this technique can very useful.
-Boom boom boom boom.
|
|
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote |
|
|
Graeme007
Member since Oct-12-03
882 posts, Rate this user |
Apr-03-05, 02:21 PM (PST) |
 |
5. "RE: Using Replacez to Insert Tracking Codes"
| |
That worked perfectly thanks Kurt. I wanted to replace all the style code on the pages with an external style sheet so I just selected Starting Tag: <style type="text/css"> Ending Tag: </style> Replace with: <link rel="stylesheet" href="/styles.css" type="text/css"> And the whole folder was done. It was just as quick. BUT - probably the most important thing I learned was I need to use my brains a little more and make the most of the Tuelz features that are available if I use my imagination. I should have seen this one:-) Graeme |
|
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote |
|
|
blogmeister1
Member since Aug-15-04
69 posts, Rate this user |
Aug-11-05, 10:56 AM (PST) |
 |
6. "RE: Using Replacez to Insert Tracking Codes"
| |
I'm using Replacez for a pretty large job and I keep getting the following message when I try: "Invalid field format at Values : Field too long" I think it has something to do with the urls I'm trying to insert, but I thought there might be a quicker way to fix this problem than going through all of my data to delete the long paths. Any suggestions?
|
|
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote |
|
|
macrox
Member since Feb-5-04
22 posts, Rate this user |
Sep-23-05, 11:10 AM (PST) |
 |
8. "RE: Using Replacez to Insert Tracking Codes"
| |
I too get that error. I assumed it was some kind of limit on the number of characters that replacez allowed you to replace. The boxes only allow a fxed number of lines or charactyers or whatever. It would be nice if you could remove the limit or increase it a lot because what I have to do now is remove lines little by little until it lets me do the replacing. Cut my list of items in half for example. That's extra work and forces me to run more replace missions with smaller lists of replace items. For example if I have a folder of 1,500 links I want to replace it will only let me do around 400 links or so. I don't like limits :'> |
|
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote |
|
|
Kurt

Member since Dec-5-02
6391 posts, 3 feedbacks, 4 points |
Oct-02-06, 08:55 PM (PST) |
 |
10. "RE: Using Replacez to Insert Tracking Codes"
 |
>Is it possible to get Replacez to replace a word with a >blank space? > >I know I can do it in notetab after I have manipulated the >text but I would like to do it all at once in Replacez >although it seems to need something in the Replace with: >area Graeme... Sorry, no. But Super Listz will remove words like you want. I'll add that feature to Replacez if I remember.
-Boom boom boom boom.
|
|
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote |
|
|
Kurt

Member since Dec-5-02
6391 posts, 3 feedbacks, 4 points |
Oct-02-06, 09:12 PM (PST) |
 |
12. "RE: Using Replacez to Insert Tracking Codes"
 |
>Thanks Kurt - when would you like a reminder? Please send the reminder as soon as I'm ready. >So Linez can replace a word with a blank? I must try that. I did say (Super) Listz, but Linez will also work.
-Boom boom boom boom.
|
|
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote |
|
|
sgtaw
Member since Jun-1-05
287 posts, Rate this user |
Dec-17-06, 05:25 PM (PST) |
 |
13. "Replacez with 2800+ Keywords"
| |
Hi Kurt, I am using Replacez on 1500 pages. Each page has 5 places for the same replacement. I am using replacez with 2800 replacements. When I click replace, it keeps giving me a page not found and nothing happens. When i reduce the number replaces to about 700 then eveything is ok. Is there a limit of replacements that Replacez can use? More so, what am I missing? Thanks, Ed |
|
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote |
|
|
Kurt

Member since Dec-5-02
6391 posts, 3 feedbacks, 4 points |
Dec-17-06, 05:27 PM (PST) |
 |
14. "RE: Replacez with 2800+ Keywords"
 |
>Hi Kurt, > >I am using Replacez on 1500 pages. Each page has 5 places >for the same replacement. > >I am using replacez with 2800 replacements. > >When I click replace, it keeps giving me a page not found >and nothing happens. > >When i reduce the number replaces to about 700 then >eveything is ok. > >Is there a limit of replacements that Replacez can use? > >More so, what am I missing? >Hi Ed, Are you sure nothing happens? The error is usually only the browser error, while the changes have actually taken place.
-Boom boom boom boom.
|
|
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote |
|
|
sgtaw
Member since Jun-1-05
287 posts, Rate this user |
Dec-17-06, 08:57 PM (PST) |
 |
15. "RE: Replacez with 2800+ Keywords"
| |
Hi Kurt, I was doing some testing, and figured out what happened. There is was a hidden character in my file that looks like a square. How it got in there I don't know. BUT what was killing me was that I couldn't see it in a text file! It was ONLY seen when I pasted the kw list into replacez and scrolled through the list. Once I remove that character, everything worked. Thanks! Ed |
|
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote |
|
|
sgtaw
Member since Jun-1-05
287 posts, Rate this user |
Dec-17-06, 08:57 PM (PST) |
 |
16. "Funny Character showing up in web pages"
| |
Hi All, I have been running replacez and this is what happened. In my replacements I have the character '-' without quotes (dash). When I look at the web page it shows up as '–' without quotes. Here's the twist. In the html code it shows up fine! Also, when I paste the source could into a now document and save the document, the webpage now looks fine! Any clues? This seems to be happening with all the special characters. Thanks, Ed |
|
|
Alert | IP |
Printer-friendly page | Edit |
Reply |
Reply With Quote |
|
|
|