LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 11-06-2008, 02:20 PM   #1
noir911
Member
 
Registered: Apr 2004
Posts: 682

Rep: Reputation: Disabled
editing HTML files - the tedious way


I follow a tedious way to edit HTML files from servers: scp the file from the server to my local machine, open seamonkey and then open seamonkey HTML editor, open the file, edit, view it in sea monkey and then scp it back to the server.

Is there any better way of doing this? Can I just open an HTML editor in my client machine which will be able to access the HTML file directly in the server?

Any firefox addons?

Thanks for any suggestions.
 
Old 11-06-2008, 02:57 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 20,393

Rep: Reputation: 4954Reputation: 4954Reputation: 4954Reputation: 4954Reputation: 4954Reputation: 4954Reputation: 4954Reputation: 4954Reputation: 4954Reputation: 4954Reputation: 4954
Quote:
Originally Posted by noir911 View Post
I follow a tedious way to edit HTML files from servers: scp the file from the server to my local machine, open seamonkey and then open seamonkey HTML editor, open the file, edit, view it in sea monkey and then scp it back to the server.

Is there any better way of doing this? Can I just open an HTML editor in my client machine which will be able to access the HTML file directly in the server?

Any firefox addons?

Thanks for any suggestions.
Yeah, you can either just run the editor on the server, and edit the file directly, or you can mount the directory where the file(s) are on your server via NFS, and open them locally.

If it was me, I'd download the whole 9 yards to your workstation, and do edits/testing there. I'd never edit anything on a live server.
 
Old 11-06-2008, 03:03 PM   #3
estabroo
Senior Member
 
Registered: Jun 2008
Distribution: debian, ubuntu, sidux
Posts: 1,125
Blog Entries: 2

Rep: Reputation: 124Reputation: 124
Since you have ssh access you can use sshfs then they'll look like local files and you can just edit them normally.
 
Old 11-06-2008, 03:48 PM   #4
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,077

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400
Quote:
Originally Posted by estabroo View Post
Since you have ssh access you can use sshfs then they'll look like local files and you can just edit them normally.
++

If that's not an option, konqueror + kate can also do this.

Konqueror can access ssh shares just like if they were local folders. From here you can open the files in kate or kwrite, and when closing, they will offer you an option to upload the changes to the server.

However, with sshfs they become virtually local files, and there's no need to use any extra magic to edit them.
 
Old 11-06-2008, 05:55 PM   #5
noir911
Member
 
Registered: Apr 2004
Posts: 682

Original Poster
Rep: Reputation: Disabled
editing on the server: I cannot edit the files on the server as the servers that I connect to are very old (at least 10 year old commercial UNIX OS) and don't have vim installed. Also, I find editing HTML on vim a bit tiring. I would rather use a WYSIWYG editor like sea monkey.

editing with kate + konquerer: more often than not my workstation is OpenBSD with minimal install (like, cwm or awesome as window manager). I detest bloated kde suites. So not an option for me.

sshfs: sounds good. I will definitely have a look into this. But I'm not sure if they have it in for OpenBSD. I couldn't find anything on the 4.4-release package list. But I will have a look at the ports tree.

Basically I'm after a GUI WYSIWYG HTML editor like Dream Weaver where the clients ssh or ftp to the server directly from the HTML editor and edit and change the files.

Last edited by noir911; 11-06-2008 at 06:41 PM.
 
Old 11-06-2008, 11:21 PM   #6
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,077

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400
http://www.w3.org/Amaya/ fullfills your requirements for the most part. But I never used it and I don't really know if it can connect using ssh or ftp to your server. It might worth to take a look (or not).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge Of Html Files Into A Single Html (or Pdf) fiomba Linux - Software 10 05-11-2018 11:28 AM
editing multiple html files at once phantom_cyph Linux - Software 11 02-27-2008 11:08 PM
xemacs for editing HTML ciden Linux - Newbie 3 08-24-2007 01:46 PM
html code and including html files Hockeyfan Programming 2 08-22-2005 05:11 PM
is there an html editor with remote files editing capabilities? odysseus.lost Linux - Software 2 06-16-2005 07:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 12:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration