mknewbの日記: iWeb to Yahoo! Web hosting
日記 by
mknewb
Ok, he got a iWeb (from iLife package) to brush up his website. He made a site of files (HTML, js, css, images) and found some tool (Automator in MacOS) to upload these files even for 'beginners.'
It failed because Yahoo web hosting can't take a file with space in its name and iWeb made lots of them.
I made a "workflow" in Automator somehow to
* change the file name and foldernames (replacing space with underscore)
* update HTML file's URL (replacing %20 with underscore)
* update js file (for slide show, generated by iWeb) to change file names (to image) to the one without space.
* ftp to the web site automatically
Ok, somehow I made 3 of above 4 points with Perl script. Jeez, I haven't done this for long time.
It was so hard to remember how to use those. Especialy Perl is bit different than typical scripting..
Well, it was a good stimulation to my getting-old brain!!
It failed because Yahoo web hosting can't take a file with space in its name and iWeb made lots of them.
I made a "workflow" in Automator somehow to
* change the file name and foldernames (replacing space with underscore)
* update HTML file's URL (replacing %20 with underscore)
* update js file (for slide show, generated by iWeb) to change file names (to image) to the one without space.
* ftp to the web site automatically
Ok, somehow I made 3 of above 4 points with Perl script. Jeez, I haven't done this for long time.
It was so hard to remember how to use those. Especialy Perl is bit different than typical scripting..
Well, it was a good stimulation to my getting-old brain!!
iWeb to Yahoo! Web hosting More ログイン