Subject: "Replacez"   Previous Topic | Next Topic
Printer-friendly copy    
Conferences Tuelz Topic #11
Reading page 1 of 1 pages
Kurtadmin click here to view user rating
Member since Dec-5-02
6391 posts, 3 feedbacks, 4 points
Jan-12-05, 08:38 PM (PST)
Click to EMail Kurt Click to send private message to Kurt Click to view user profileClick to add this user to your buddy list  
"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 function

Sequential - 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
Kurtadmin click here to view user rating
Member since Dec-5-02
6391 posts, 3 feedbacks, 4 points
Jan-31-05, 02:29 AM (PST)
Click to EMail Kurt Click to send private message to Kurt Click to view user profileClick to add this user to your buddy list  
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
teleammoderator
Member since Jul-27-03
817 posts, Rate this user
Mar-28-05, 04:30 AM (PST)
Click to EMail teleam Click to send private message to teleam Click to view user profileClick to add this user to your buddy list  
2. "RE: Using Replacez to Insert Tracking Codes"
 
   Can this be used to correct a mistake made with my pages?

What I want to do is:

Find:<center><h2>Sponsors:</h2></center>

Replacez:<b>Sponsors:</b>

Tom


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Graeme007moderator
Member since Oct-12-03
882 posts, Rate this user
Apr-03-05, 07:46 AM (PST)
Click to EMail Graeme007 Click to send private message to Graeme007 Click to view user profileClick to add this user to your buddy list  
3. "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?

I can only seem to manage replacing one line at a time.

Graeme


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Kurtadmin click here to view user rating
Member since Dec-5-02
6391 posts, 3 feedbacks, 4 points
Apr-03-05, 07:56 AM (PST)
Click to EMail Kurt Click to send private message to Kurt Click to view user profileClick to add this user to your buddy list  
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
Graeme007moderator
Member since Oct-12-03
882 posts, Rate this user
Apr-03-05, 02:21 PM (PST)
Click to EMail Graeme007 Click to send private message to Graeme007 Click to view user profileClick to add this user to your buddy list  
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 |
   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
Kurtadmin click here to view user rating
Member since Dec-5-02
6391 posts, 3 feedbacks, 4 points
Aug-11-05, 03:33 PM (PST)
Click to EMail Kurt Click to send private message to Kurt Click to view user profileClick to add this user to your buddy list  
7. "RE: Using Replacez to Insert Tracking Codes"
 
Del,

Exit tuelz.exe, restart and repeat the error, then send the tuelz.log file to Kirill at supportATgammacenter.com . Thanks.


-Boom boom boom boom.


  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)
Click to EMail macrox Click to send private message to macrox Click to view user profileClick to add this user to your buddy list  
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
Graeme007moderator
Member since Oct-12-03
882 posts, Rate this user
Oct-02-06, 08:53 PM (PST)
Click to EMail Graeme007 Click to send private message to Graeme007 Click to view user profileClick to add this user to your buddy list  
9. "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


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Kurtadmin click here to view user rating
Member since Dec-5-02
6391 posts, 3 feedbacks, 4 points
Oct-02-06, 08:55 PM (PST)
Click to EMail Kurt Click to send private message to Kurt Click to view user profileClick to add this user to your buddy list  
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
Graeme007moderator
Member since Oct-12-03
882 posts, Rate this user
Oct-02-06, 09:08 PM (PST)
Click to EMail Graeme007 Click to send private message to Graeme007 Click to view user profileClick to add this user to your buddy list  
11. "RE: Using Replacez to Insert Tracking Codes"
 
   Thanks Kurt - when would you like a reminder?

So Linez can replace a word with a blank? I must try that.

Graeme


  Alert | IP Printer-friendly page | Edit | Reply | Reply With Quote
Kurtadmin click here to view user rating
Member since Dec-5-02
6391 posts, 3 feedbacks, 4 points
Oct-02-06, 09:12 PM (PST)
Click to EMail Kurt Click to send private message to Kurt Click to view user profileClick to add this user to your buddy list  
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
sgtawmoderator
Member since Jun-1-05
287 posts, Rate this user
Dec-17-06, 05:25 PM (PST)
Click to EMail sgtaw Click to send private message to sgtaw Click to view user profileClick to add this user to your buddy list  
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
Kurtadmin click here to view user rating
Member since Dec-5-02
6391 posts, 3 feedbacks, 4 points
Dec-17-06, 05:27 PM (PST)
Click to EMail Kurt Click to send private message to Kurt Click to view user profileClick to add this user to your buddy list  
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
sgtawmoderator
Member since Jun-1-05
287 posts, Rate this user
Dec-17-06, 08:57 PM (PST)
Click to EMail sgtaw Click to send private message to sgtaw Click to view user profileClick to add this user to your buddy list  
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
sgtawmoderator
Member since Jun-1-05
287 posts, Rate this user
Dec-17-06, 08:57 PM (PST)
Click to EMail sgtaw Click to send private message to sgtaw Click to view user profileClick to add this user to your buddy list  
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


Conferences | Topics | Previous Topic | Next Topic
Rate this topic Rate this topic