| | |
Searching tutorial on html editing to build website
Please support our HTML and CSS advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Oct 2004
Posts: 57
Reputation:
Solved Threads: 0
•
•
•
•
Cheating with Visual Basic...
If you own a copy of Visual Basic... Steal the code from a page and copy /paste into VB. It will sort all of your tags so you can see where your lines begin and end rather than trying to go behind your self and add spaces and /nl to the code to better understand it.
Unfortunately I don't own a copy of Visual Basic. Neither I have Windows PC here, all Unix and Linux PCs. Maybe I can find the solution on Open Source. Can you advise what criteria to be used for googling? Changing source code to html tags? TIA
B.R.
satimis
I think kingvjack is saying that VB will automatically format and layout code neatly (i.e. indentation, newlines, etc )
On Linux.. Quanta Plus does that, I think. Not sure about any Gnome apps, but any decent HTML/XHTML editor should have this as a feature.
On Linux.. Quanta Plus does that, I think. Not sure about any Gnome apps, but any decent HTML/XHTML editor should have this as a feature.
Last edited by MattEvans; Feb 26th, 2008 at 11:38 pm.
Plato forgot the nullahedron..
•
•
Join Date: Oct 2004
Posts: 57
Reputation:
Solved Threads: 0
•
•
•
•
I think kingvjack is saying that VB will automatically format and layout code neatly (i.e. indentation, newlines, etc )
On Linux.. Quanta Plus does that, I think. Not sure about any Gnome apps, but any decent HTML/XHTML editor should have this as a feature.
I'm replying your posting on Ubuntu server with only a light weight desktop, Fluxbox, running. Neither I have Gnome installed. However "apt-cache" found "quanta 4:3.5" on repo. I'll get an Ubuntu workstation to install this package.
Ah, I recall I have an Archlinux box here with "bluefish", the html editor, installed. I'll check whether it has this feature.
B.R.
satimis
•
•
Join Date: Oct 2004
Posts: 57
Reputation:
Solved Threads: 0
•
•
•
•
You can also use a commonly available command-line program called 'tidy' ( thats also the command name ) to automatically layout an HTML file.. but, read the 'tidy' documentation first; because its also an error-fixer, and can thus be quite invasive..
What I need is a package which can read "page source" easily. On browser, clicking View --> Page Source, I can view the codes. But it is NOT easy to read w/o copying the same on a text editor and rearranging them. I expect to read the tags/code directly on a package w/o further treatment.
Re "tidy", I found follows on googling;
Clean up your Web pages with HTML TIDY
http://www.w3.org/People/Raggett/tidy/
HTML Tidy Library Project
http://tidy.sourceforge.net/
Tidy online - HTML Tidy
http://infohound.net/tidy/
PHP: tidy - Manual
Tidy Functions
http://hk2.php.net/tidy
It is available on Ubuntu repo.
$ apt-cache policy tidy
tidy:
Installed: (none)
Candidate: 20051018-1
Version table:
20051018-1 0
500 http://us.archive.ubuntu.com feisty/main Packages
* end *
B.R.
satimis
Last edited by satimis; Feb 27th, 2008 at 12:50 am.
The first link is the 'tidy' I'm talking about.
To use it would be a case of:
- Open page in browser
- View > Source
- Select All
- Copy
- Open Editor
- Paste
- Save as thefile.html
- Go to cmd line
- Run
- Examine.
Seems long.. but not really. Bluefish has tidy integrated as a plugin, but, you'd need to configure it to enable the indent option ( it's off by default )
'tidy' is listed by my package manager ( urpmi for Mandriva, offical repos ).
To use it would be a case of:
- Open page in browser
- View > Source
- Select All
- Copy
- Open Editor
- Paste
- Save as thefile.html
- Go to cmd line
- Run
tidy -im thefile.html - Reopen thefile.html in editor- Examine.
Seems long.. but not really. Bluefish has tidy integrated as a plugin, but, you'd need to configure it to enable the indent option ( it's off by default )
'tidy' is listed by my package manager ( urpmi for Mandriva, offical repos ).
Plato forgot the nullahedron..
•
•
Join Date: Oct 2004
Posts: 57
Reputation:
Solved Threads: 0
•
•
•
•
The first link is the 'tidy' I'm talking about.
To use it would be a case of:
- Open page in browser
- View > Source
- Select All
- Copy
- Open Editor
- Paste
- Save as thefile.html
- Go to cmd line
- Runtidy -im thefile.html- Reopen thefile.html in editor
- Examine.
Seems long.. but not really. Bluefish has tidy integrated as a plugin, but, you'd need to configure it to enable the indent option ( it's off by default )
'tidy' is listed by my package manager ( urpmi for Mandriva, offical repos ).
Now I 'm replying your positing on "Ubuntu 7.10" workstation. It is no good to do web design and graphic editing. I replied previous postings on Ubuntu 7.10 server.
$ apt-cache search tidy | grep tidy
HTML and CSS Syntax (Toggle Plain Text)
csstidy - CSS parser and optimiser libexporter-tidy-perl - Another way of exporting symbols libtidy-ruby - Ruby interface to HTML Tidy Library libtidy-ruby1.8 - Ruby interface to HTML Tidy Library perltidy - Perl script indenter and reformatter python-elementtidy - An HTML tree builder for ElementTree based on Tidy python-utidylib - Python wrapper for TidyLib tidy-doc - HTML syntax checker and reformatter documentation tidy-proxy - A small http proxy which tidies html php5-tidy - tidy module for php5
I'm prepared doing graphic editing on php rather than going back to GIMP (PhotoShop) as I did previously. I'm interested on coding rather than clicking around on screen with mouse. I have php5, libgd2-xpm, php5-gd, etc packages installed on this workstation. I have no idea whether I need apache2. If needed I'll install it later.
B.R.
satimis
•
•
Join Date: Oct 2004
Posts: 57
Reputation:
Solved Threads: 0
•
•
•
•
It will helpful to visit E Learning Centre's website for learning html easily
http://www.e-learningcenter.com/free_html_course.htm
and similar sites. Thanks
B.R.
satimis
•
•
Join Date: Oct 2004
Posts: 57
Reputation:
Solved Threads: 0
Hi MattEvans,
I go my problem solved as follow;
Adding following repo on /etc/apt/source.list
$ sudo apt-get update
$ sudo apt-get install tidy
Done
Following your advice, recreate a "tidyfile.html" file by running "tidy -im ....". Re-open the file. The format there is very clear. Thanks
B.R.
satimis
I go my problem solved as follow;
Adding following repo on /etc/apt/source.list
HTML and CSS Syntax (Toggle Plain Text)
deb http://fr.archive.ubuntu.com/ubuntu feisty main
$ sudo apt-get update
$ sudo apt-get install tidy
Done
Following your advice, recreate a "tidyfile.html" file by running "tidy -im ....". Re-open the file. The format there is very clear. Thanks
B.R.
satimis
![]() |
Other Threads in the HTML and CSS Forum
- Previous Thread: html select case
- Next Thread: How can I find my ftp?
| Thread Tools | Search this Thread |
appointments asp background backgroundcolor beta browser bug calendar cart cgi code codeinjection corporateidentity css design development displayimageinsteadofflash dreamweaver emailmarketing epilepsy explorer firefox flash form google griefers hackers hitcounter hover html ie7 ie8 iframe image images internet intranet iphone javascript jpeg layout macbook maps mozilla multimedia navigationbars news offshoreoutsourcingcompany opacity opera optimization pnginie6 positioning scroll seo shopping swf swf. textcolor timecolor titletags url urlseparatedwords visualization web webdevelopment webform website windows7






