![]() |
![]() |
![]() |
||||
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 |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
OHHHH It never fucking ends!!!! Batch find & replace
I need a quick fix..
I got 50+ pages I want to modify. I am sick of opening each page separately via dreamweaver & editing them, over & over.. fucking time consuming damn it.. Anyway, I need a batch find & replace.. Is there a program I can dump all the html pages into a folder & have the program find & replace the selected code for al the pages instead of having to do it individually.. |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#2 | |
mmm yeah!
Industry Role:
Join Date: Feb 2005
Location: roseville, ca
Posts: 5,061
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#3 |
So Fucking Banned
Join Date: Mar 2005
Location: Put Shoe On Head Plz
Posts: 4,575
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#4 |
So Fucking Banned
Join Date: Jan 2005
Location: Victoria, Australia
Posts: 1,030
|
dreamweaver can do it
goto find , then you will see a drop down menu at the top of the find window it will be labeld with "find in " in the drop the down menu beside you can choose "folder" or there is a program called , html search and replace , google it |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#5 | |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
Quote:
![]() ![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#6 | |
<&(©¿©)&>
Industry Role:
Join Date: Jul 2002
Location: Chicago
Posts: 47,882
|
Quote:
![]()
__________________
Custom Software Development, email: woj#at#wojfun#.#com to discuss details or skype: wojl2000 or gchat: wojfun or telegram: wojl2000 Affiliate program tools: Hosted Galleries Manager Banner Manager Video Manager ![]() Wordpress Affiliate Plugin Pic/Movie of the Day Fansign Generator Zip Manager |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#7 | |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
Quote:
![]() |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#8 |
Confirmed User
Join Date: Dec 2002
Location: Sweden/Spain you sum bitch!
Posts: 6,576
|
Jesus Spacedog, I would have died fast if I had to do that. Check out ultraedit aswell - works like a charm.
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#9 |
Confirmed User
Join Date: May 2003
Location: I Moderate You
Posts: 313
|
Open Dreamweaver and hit ctrl + f
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#10 |
Too lazy to set a custom title
Join Date: Apr 2004
Location: Buffalo, NY
Posts: 35,218
|
Dreamweaver does it just fine
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#11 |
emperor of my world
Join Date: Aug 2004
Location: nethalands
Posts: 29,903
|
homesite does that too..
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#12 | |
Yes that IS me. Bitch.
Industry Role:
Join Date: Nov 2001
Posts: 14,149
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#13 |
Confirmed User
Join Date: Dec 2001
Posts: 4,513
|
I've used this one for a few years.. works great.. Super simple..
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#14 |
there's no $$$ in porn
Industry Role:
Join Date: Jul 2005
Location: icq: 195./568.-230 (btw: not getting offline msgs)
Posts: 33,063
|
ultraedit
![]() |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#15 | |
Confirmed User
Join Date: Mar 2005
Posts: 1,099
|
Quote:
Are you serious Brother? Dreamweaver does it LOL so does home site which I believe comes packaged with dreamweaver now. Do extended find, and replace. It will give an option for directory, sub directory, file types to search, etc. |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#16 | |
So Fucking Banned
Join Date: Jan 2005
Location: Victoria, Australia
Posts: 1,030
|
Quote:
dreamweaver mx , can do it , but the sites need to be in the same dir/folder |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#17 |
In Tushy Land
Join Date: Oct 2002
Location: Nebraska
Posts: 40,149
|
heh try editing 1000+ html pages chaning out some linking code that is different for every 10 pages. talk abotu time consuming. I should get a php script to do it
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#18 | |
President of Canada
Join Date: Sep 2003
Location: Leaving Hell, Entering Limbo
Posts: 23,141
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#19 |
♦ Web Developer ♦
Industry Role:
Join Date: May 2005
Location: Full-Stack Developer
Posts: 12,472
|
I was needing this aswell!!!
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#20 | |
Confirmed User
Join Date: Mar 2004
Location: → → →
Posts: 1,717
|
Quote:
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. Check the regular expressions box in the 'Search for' panel 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/ |
|
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#21 |
Confirmed User
Join Date: Dec 2005
Location: Bucharest, Romania
Posts: 2,074
|
ok
Egomancer
__________________
ICQ: 95-239-282 WWW: www.webprogrammers.eu WWW:www.seodev.eu Y!MSN: lord_ender If you want to outsource any work to Romania - here I am !!!! www.anotheranime.com | www.autotrafic.ro | www.jocurionline.ro |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#22 |
Confirmed User
Join Date: Mar 2006
Location: Cashapartment.com
Posts: 282
|
perl -p -i -e 's/old/new/g' `find ./ -name filename`
or perl -p -i -e 's/old/new/g' `grep -ril stringinfile *`
__________________
![]() CASH APARTMENT V2 IS HERE! NATS POWERED, 60-70% ON ALL REBILLS, FREE CONTENT, MGPS, FHGS, RETAINING MEMBERS NETWORK! A SIMPLE NO B.S PROGRAM - ICQ 239 806 698 |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#23 |
So Fucking Banned
Join Date: Jan 2005
Location: Victoria, Australia
Posts: 1,030
|
i wanted to get rid of a chunk of data that changed every several pages
looked at the regular expression stuff , but then found this program called HTML Batch Editor by Lucersoft.com as long as the start and end of the data is the same you can batch delete the data from all your pages eg: delete banners , in your source code if you have <---banner---> then your banner data , then <--end banner--> you just tell html batch editor to start at <---banner---> and end at <--end banner--> then you tell it the files/folder you want , it will then go ahead and delete everything that lays between those two points |
![]() |
![]() ![]() ![]() ![]() ![]() |
![]() |
#24 | |
:glugglug
Join Date: Mar 2003
Location: Where the Wild Things Are
Posts: 26,118
|
Quote:
|
|
![]() |
![]() ![]() ![]() ![]() ![]() |