![]() |
![]() |
![]() |
||||
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() ![]() |
|
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
Thread Tools |
![]() |
#1 |
Confirmed User
Join Date: Mar 2004
Location: → → →
Posts: 1,717
|
![]() After spending some time trying to figure out how to get rid of sponsor links in a fast way across an entire 'static' site, I (finally) discovered Dreamweaver can successfully use Regular Expressions to find the list of everchanging styles of links, whether they be banners or different text.
This goes in the 'Search For' box when finding within your source code option. Code:
<a(.*?)(SOMETHING_IN_URL_UNIQUE_LIKE_YOUR_AFF_ID)(.*?)">(.*?\s*?.*?)</a> Anyway, I know it's nothing special, but might save someone some time. Oh, and if you use Dreamweaver this url might come in handy before your next crash. http://mm-exporter.joexx.de/ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 |
Confirmed User
Join Date: Mar 2004
Location: → → →
Posts: 1,717
|
![]() Maybe I should add a sig and become an unsuccessful board whore ![]() Going against RRRed's advice and bumping my own thread ![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
Confirmed User
Join Date: Apr 2001
Location: LIVE EVIL
Posts: 5,611
|
not really sure what your trying to say.
But changing links site wide on dreamweaver is very simple, jusy hit CTRL F and make the change there and hit go. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 | |
Confirmed User
Join Date: Mar 2004
Location: → → →
Posts: 1,717
|
Quote:
I purchased a network of sites from a guy that did everything 'static', so when his sponsor changed the way they worked he got frustrated and quit basically as his links were all out of date, and fixing them was more a pain than he wanted. All his codes were different as each link went to different sites/campaigns with that sponsor, so just doing a 'specific tag' search for a specific sponsor URL didn't work very fast. The code above basically looks for a '<a' statement that contains something unique about all the links I was trying to replace. So basically I could ditch all those dead links in one go instead of finding and replacing each and every different style of link individually. If you read all that, I hope I was able to clear it up abit ![]() ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 |
Wall Street Pimp
Industry Role:
Join Date: Jun 2003
Location: Phoenix, AZ
Posts: 14,345
|
I always copy and paste to Notepad and use the 'replace all' function to do mass url changes.
I love notepad
__________________
Tradeking - my online broker | 4.95 a trade | make real $$ |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 |
Confirmed User
Industry Role:
Join Date: Feb 2005
Posts: 1,699
|
Cool tip, thanks. You'd still have to upload all those pages, although using the "Select Recently Modified" it might not be that bad.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Confirmed User
Join Date: Mar 2004
Location: → → →
Posts: 1,717
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Aug 2003
Location: Burnaby BC
Posts: 781
|
Find and replace...pretty simple...even shok knows that!
__________________
Do you need design work done. I am available check out my site TMC Web Designs |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 | |
Confirmed User
Join Date: Mar 2004
Location: → → →
Posts: 1,717
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 | |
Confirmed User
Join Date: Mar 2004
Location: → → →
Posts: 1,717
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
Confirmed User
Join Date: Aug 2003
Location: Burnaby BC
Posts: 781
|
Thats the first time I've heard someone call Shok smart!
__________________
Do you need design work done. I am available check out my site TMC Web Designs |
![]() |
![]() ![]() ![]() ![]() ![]() |