Urza9814 Posted January 30, 2004 Report Share Posted January 30, 2004 Aight, I need to change the location of 2 pictures for my site...on about 40 pages...I need a prog that's small, simple, and'll just show me the HTML. I don't want it to take 20 minutes to load like openoffice.org writer, and I don't want it to show the actual site and not be able to do HTML like everything I've tried so far...basically, I want a linux version of the windoze prog 'notepad'...nothing extra, no fancy stuff, and ONLY SHOW THE HTML!!! these progs are too good for their own good! my comp is old...until I get more RAM next week it's really slow...I need something small and compact that'll get the job done with none of that extra crap... Quote Link to comment Share on other sites More sharing options...
scoopy Posted January 30, 2004 Report Share Posted January 30, 2004 kate !!! File open 40 pages, edit, and "save all" I did that recently, changing the footer area for all pages on a site. Quote Link to comment Share on other sites More sharing options...
paul Posted January 30, 2004 Report Share Posted January 30, 2004 vi !!! vi *.html :%s/http:\/\/yourdomain.com\/nameofpic.jpeg/http:\/\/yourdomain.com\/nameofpic.PNG/g :w :n :D Quote Link to comment Share on other sites More sharing options...
fuzzylizard Posted January 30, 2004 Report Share Posted January 30, 2004 Emacs, nano, pico, gedit, kate, jEdit, etc That enough for you? Personally, if you have java installed correctly, I would suggest going with jEdit. http://www.jedit.org But any of the above editors will work. jEdit is nice in that it supports regular expression searches. Emacs and vim also support these, but are not as easy to use. Quote Link to comment Share on other sites More sharing options...
Kristof Posted January 30, 2004 Report Share Posted January 30, 2004 For your next site, you can give your images an absolute position using an external CSS-file. If you want to change the position, you only have to edit one CSS-file in stead of 40 HTML-files. Quote Link to comment Share on other sites More sharing options...
Darkelve Posted January 30, 2004 Report Share Posted January 30, 2004 (edited) Html-Kit !! Oh yeah, I forgot, nobody uses windoze here... :woops: Edit: nevermind, I guess it's got much more features than Urza wants... Edited January 30, 2004 by Darkelve Quote Link to comment Share on other sites More sharing options...
aru Posted January 30, 2004 Report Share Posted January 30, 2004 vi !!! <!--QuoteEBegin-->vi *.html<!--QuoteEBegin-->:%s/http:\/\/yourdomain.com\/nameofpic.jpeg/http:\/\/yourdomain.com\/nameofpic.PNG/g<!--QuoteEBegin-->:w<!--QuoteEBegin-->:n<!--QuoteEBegin--> :D or bash + sed!!! at least that would be my choice for that task, vi would be too heavy for me (although if Urza9814 wants to do it in an interactive text editor I also suggest vi): ~$ for file in *.html; do > cp ${file} ${file}.bak > sed 's@\(http://yourdomain.com/nameofpic\).jpeg@\1.PNG@g' ${file}.bak > ${file} > done ~$ then if all is OK, remove those .bak files Quote Link to comment Share on other sites More sharing options...
Qchem Posted January 30, 2004 Report Share Posted January 30, 2004 My first instinct for editing html would be emacs, reading what you want to do I'd reach for bash and sed, or perl. Quote Link to comment Share on other sites More sharing options...
phunni Posted January 30, 2004 Report Share Posted January 30, 2004 yet one more option - nedit... Quote Link to comment Share on other sites More sharing options...
Urza9814 Posted January 30, 2004 Author Report Share Posted January 30, 2004 wow...thx :-P I actually just noticed last night as I booted into IceWM instead of WindowMaker for this, and was looking at other progs, that wine has notepad...so I was using that...I woulda posted this then...but it was 10:00...and I still wanted a linux prog...thx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.