View Full Version : Batch page name convertor
Juggler
08-14-2000, 09:36 AM
I am making some gallerys and I am looking for a way to change the page names so they are named randomly, rather than page01,page02... and a list of the new page names is produced is there an easy way to do this
baddog
08-14-2000, 10:00 AM
well yeah but that would require me mentioning the unmentionable, so . . .
sorry
Likwid Blaze
08-14-2000, 11:19 AM
take a look at http://www.sitemogul.com ...
richard
08-14-2000, 11:34 AM
Seriously, all you want is a little script that reads all the .html/.htm files in a gallery and gives them random names of some kind.
Juggler, hit me up on icq or mail me with the specifics and i'll code you a little perl script for free.
http://adultwebmasterinfo.com/ubb/smile.gif
Richard.
Juggler
08-14-2000, 12:01 PM
Thanks Richard
Shit I thought I was just going to get a load of dickhead answers about a bit of over priced software I would not touch with a barge pole
baddog
08-14-2000, 12:43 PM
Originally posted by Juggler:
Thanks Richard
Shit I thought I was just going to get a load of dickhead answers about a bit of over priced software I would not touch with a barge pole
I really appreciate opinions based on well informed experiences or research. bravo
Hey an absolutely great freeware re-naming program is called CKRename.... I believe you can search for it from download.com.
You can have it sequentialy name anything just about anyway you want..
Rich
Wanna clean trade? http://www.1stfetish.com/cgi-bin/ucj/webmaster.cgi
richard
08-14-2000, 07:13 PM
We want random http://adultwebmasterinfo.com/ubb/smile.gif not sequential.
My little perl hack is essentially done, just gunna do a nice admin to it and we are finished.
Like i said to Juggler, i'll eventually make a patch to TGSW so that this feature will be installed - the idea is you execute one perl file and it auto installs itself. Lets see how much time i have later this week http://adultwebmasterinfo.com/ubb/wink.gif.
If you want a copy of (lol) the "current version" post your email here and i'll mail you when its finished.
Features:
prefix/suffix filenames, with or without a random number on it.
eg page1, page2, page3 could goto sex3351, sex5223, sex0935 etc etc.
For more sophistication post your ideas on what you would like it to do.
I love making scripts for people http://adultwebmasterinfo.com/ubb/biggrin.gif
Richard.
Likwid Blaze
08-14-2000, 07:37 PM
Here's mine Richard:
webmaster@teenXcess.com
Thanx in advance... http://adultwebmasterinfo.com/ubb/wink.gif
playa
08-14-2000, 08:12 PM
not sure if i am understanding correctly but i believe what you want is already on the tgsw script...
replace the months with other words and rearrange the order
Jonas
08-15-2000, 12:31 AM
Richard send me an copy
webmaster@babesunlimited.org
Thanks
magnatique
08-15-2000, 10:29 AM
just thought I'd say, WAY TO GO RICH http://adultwebmasterinfo.com/ubb/smile.gif
cool to see some people actually HELP others for the extraordinary price of 0$
Just my 2 ¢...
(see, even my reply cost me my 2¢! http://adultwebmasterinfo.com/smilies/thefinger.gif )
richard
08-15-2000, 03:29 PM
chz Mag.
http://www.sexpicsgallery.com/renamer.html
It all works now, you would goto this page on your site, enter a directory, choose whether to have a suffix, prefix, or both. Choose whether to have random numbers in it, and choose which strings to delete from the filenames.
If you want random numbers, it will delete the old name entirely, eg, with Prefix=Porn, and Random=ON, a file such as page00.html would goto "porn4231443.html".
If you had a page called hornypage00.html, selecting prefix as sex, and setting the delete string field to "horn" you would get a page called "sexypage00.html". And on it goes.
Its not the tidiest code i have written, but it does the job.
I'll do a "results" page for you guys and dish it out to you. Something like:
oldfilename.html changed to ==> newfilename.html
.
.
.
.
.
.
etc etc
There should not be any clashes, the script tries 5 times to rename the file, incase it encounters (by chance) other files with the same random number in them, though with a 6 digit random number i dont think this is likely.
Anything else you want?
richard.
magnatique
08-15-2000, 05:17 PM
a sunday with a cherry on top perhaps?
http://adultwebmasterinfo.com/ubb/smile.gif nice job.
btw, rich, what is chz? maybe am just not catching it, or another foreign language? http://adultwebmasterinfo.com/ubb/biggrin.gif
richard
08-15-2000, 05:39 PM
cheers = chz.
No need to speak any other language, American is the only language you will ever need... http://adultwebmasterinfo.com/ubb/smile.gif
Rule Britania!
http://adultwebmasterinfo.com/ubb/biggrin.gif
magnatique
08-15-2000, 07:52 PM
first time I saw that http://adultwebmasterinfo.com/ubb/wink.gif
well, I love my mother language, french, and I find it more beautiful than english... but...
true, true... english is the business language..
(taking my Apu voice)I TELL YOU MA MAN, IT'S THE VOICE OF THE DEVIL!
http://adultwebmasterinfo.com/ubb/tongue.gif
vBulletin® v3.7.3, Copyright ©2000-2012, Jelsoft Enterprises Ltd.