Here's the scoop:
Does anyone remember the UNIX utility "pretty" for formatting C code?
What I'm looking for is a utility that will do two things:
1) Format the HTML code itself to make it more readable (indentation, line
breaks, etc.)
2) Optimize HTML to remove empty and redundant tags
Reason: Have you ever seen what kind of a mess you get when you paste WORD
(or other rich text) into a HTML editor like Front Page? Answer is a "Hello,
World" of about 50KB...
Recognising that the two requirements are somewhat contradictory, I may need
two utilities...are there any free ones available before I do it myself in
PERL?
--Maarten ( we******************@city.richmond.bc.ca ) 30 10174
"just say NO to PDF" <stingray_67@no_spam.hotmail.com> wrote in message
news:XK**************@news.bc.tac.net... Here's the scoop:
Does anyone remember the UNIX utility "pretty" for formatting C code?
What I'm looking for is a utility that will do two things: 1) Format the HTML code itself to make it more readable (indentation, line breaks, etc.) 2) Optimize HTML to remove empty and redundant tags
Reason: Have you ever seen what kind of a mess you get when you paste WORD (or other rich text) into a HTML editor like Front Page? Answer is a
"Hello, World" of about 50KB...
Recognising that the two requirements are somewhat contradictory, I may
need two utilities...are there any free ones available before I do it myself in PERL?
--Maarten ( we******************@city.richmond.bc.ca )
Try HTML-Kit http://www.chami.com/html-kit/
On Thu, 17 Jul 2003 13:29:31 -0700, just say NO to PDF wrote: What I'm looking for is a utility that will do two things: 1) Format the HTML code itself to make it more readable (indentation, line breaks, etc.) 2) Optimize HTML to remove empty and redundant tags
Tidy does both of these. Someone has already posted a link to the old Tidy
site, but the newest versions can be found at http://tidy.sourceforge.net/
Reason: Have you ever seen what kind of a mess you get when you paste WORD (or other rich text) into a HTML editor like Front Page? Answer is a "Hello, World" of about 50KB...
Tidy has special routines for dealing with the output of FrontPage, Word,
etc...
--
Toby A Inkster BSc (Hons) ARCS | mailto:to*****@goddamn.co.uk | pgp:0x6A2A7D39
aim:inka80 | icq:6622880 | yahoo:tobyink | jabber:ta*@jabber.linux.it http://www.goddamn.co.uk/tobyink/ | "You've got spam!"
playing://(nothing)
try notepad.
Nothing beats notepad when it comes to web-design....
Michel
"just say NO to PDF" <stingray_67@no_spam.hotmail.com> wrote in message
news:XK**************@news.bc.tac.net... Here's the scoop:
Does anyone remember the UNIX utility "pretty" for formatting C code?
What I'm looking for is a utility that will do two things: 1) Format the HTML code itself to make it more readable (indentation, line breaks, etc.) 2) Optimize HTML to remove empty and redundant tags
Reason: Have you ever seen what kind of a mess you get when you paste WORD (or other rich text) into a HTML editor like Front Page? Answer is a
"Hello, World" of about 50KB...
Recognising that the two requirements are somewhat contradictory, I may
need two utilities...are there any free ones available before I do it myself in PERL?
--Maarten ( we******************@city.richmond.bc.ca )
John Bokma wrote: Toby A Inkster wrote:
On Fri, 18 Jul 2003 00:32:36 +0200, Michel wrote:
Nothing beats notepad when it comes to web-design....
Yeah, it does:
http://www.nedit.org/
Texpad (http://www.textpad.com/ ) is cool too.
Nah, Crimson Editor is better than textpad any day. :)
<URL:http://crimsoneditor.com/>
--
To email a reply, remove (dash)ns(dash). Mail sent to the ns
address is automatically deleted and will not be read.
In article <bf**********@news.cistron.nl>, Michel
<we*******@handleiding-online-nospam-aub.nl> wrote: try notepad.
Nothing beats notepad when it comes to web-design....
BBEdit.
'Nuff said.
--
Jim Royal
"Understanding is a three-edged sword" http://JimRoyal.com
In article <10***************@halkan.kabelfoon.nl>, po********@castleamber.com says... Toby A Inkster wrote:
On Fri, 18 Jul 2003 00:32:36 +0200, Michel wrote:
Nothing beats notepad when it comes to web-design....
Yeah, it does:
http://www.nedit.org/
Nirvana rocks :-)
Texpad (http://www.textpad.com/ ) is cool too. I like the clip library and the tabbed interface.
John
There are also dandy macros you can add to TextPad, and when you add Tidy
to the Tools menu, what more could you want?
(another) John
_______________________________________________
C'est la vie! C'est la guerre! Say no more!
On Thu, 17 Jul 2003 13:29:31 -0700, just say NO to PDF
<stingray_67@no_spam.hotmail.com> wrote: What I'm looking for is a utility that will do two things: 1) Format the HTML code itself to make it more readable (indentation, line breaks, etc.) 2) Optimize HTML to remove empty and redundant tags
JEdit <http://www.jedit.org> with XML/HTML and JTidy plugins. Requires
Java, though.
--
Lars
kchayka wrote: Texpad (http://www.textpad.com/ ) is cool too.
That's a new one for me.
Nah, Crimson Editor is better than textpad any day. :) <URL:http://crimsoneditor.com/>
I tried that. The context highlighting, with different colors, was
great. But I couldn't live w/out my clip libraries in NoteTab, so I
went back. Does Crimson have anything like that?
--
Brian
follow the directions in my address to email me
In article <18*************************@canada.com>, no***@nowhere.com wrote: BBEdit.
'Nuff said.
Amen old Mac buddy! I can't speak for any of the PC world programs, but I
can't imagine a better text editor. What would it do that BBEdit can't?
leo
--
<http://web0.greatbasin.net/~leo/>
On Fri, 18 Jul 2003 10:36:46 +0200, Stephen Poley <sb*****@xs4all.nl>
wrote: NoteTab is pretty good - and the Light version is free.
NoteTab Pro is pretty much what my world revolves around. Tidy is
integrated too, which is nice.
Ian
-- http://www.aspipes.org/ http://www.bookstacks.org/
In article <le******************@leosmac.sparks.nv.us>, Leonard Blaisdell
wrote: What would it do that BBEdit can't?
I don't know. But I bet emacs can do that.
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.
Exactly my point
And you're the only one yet to see it.
Regards,
Michel
"Michel" <we*******@handleiding-online-nospam-aub.nl> wrote in message
news:bf**********@news.cistron.nl... Exactly my point
What exactly is your point? I don't see the post to which you are replying
to so you particular post is, to me, meaningless.
> In article <10***************@halkan.kabelfoon.nl>, po********@castleamber.com says... Toby A Inkster wrote:
On Fri, 18 Jul 2003 00:32:36 +0200, Michel wrote:
Nothing beats notepad when it comes to web-design....
Yeah, it does:
http://www.nedit.org/
Nirvana rocks :-)
Texpad (http://www.textpad.com/ ) is cool too. I like the clip library and the tabbed interface.
John
There are also dandy macros you can add to TextPad, and when you add Tidy to the Tools menu, what more could you want?
Completely agree, textpad is my favourite text editor.
I use it for XHTML with all my clip libraries and added tools, it's great.
I often use macros to escape all the text etc, very nice.
Also really good for C# as well, so my ASP.Net development speeds along.
--
BenM http://www.benmeadowcroft.com/
In article <bf**********@news.cistron.nl>, Michel wrote: Exactly my point
You said:
Nothing beats notepad when it comes to web-design....
And you're the only one yet to see it.
Well, who is familiar with notepad? It misses all things I am used in
text editors. I had to use Notepad for few hours one day not long back as
TheGun didn't work. It was useless. It don't understand unix line breaks,
for example. That alone makes it very bad for web design, where most
files do have unix file breaks.
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.
Arve Bersvendsen wrote: John Bokma wrote in news:10***************@halkan.kabelfoon.nl:
http://www.w3.org/People/Raggett/tidy/
Tidy now lives at <URL:http://tidy.sourceforge.net/>
Thanks! I noticed that when I followed the link mentioned there.
(And for prettyprinting of HTML, there's not much that beats tidy).
Haven't tried it yet. Since I handcode, I try to learn to pretty print
it myself :-) But I am going to compare soon, maybe it can give me some
advise :-).
John
--
email: mail(at)johnbokma.com (or reply) home: http://johnbokma.com/
UI design tips: http://johnbokma.com/websitedesign/ ~ ICQ 218175426
In article <3F**************@bigfoot.com>, "Nicolai P. Zwar" <NP****@bigfoot.com> writes: I tend to agree, though I would go with an editor specialized in HTML, such as CoffeeCup or FirtPage, the reason being that those tools color code the source code as you write it, which makes it easier to use and even newbies can spot unclosed tags etc. right away. Notepad is far too simple to be of any use unless you really want to make it hard on yourself. It doesn't even have a line counter.
I'm puzzled by this last remark. How would having a line counter help
somebody write HTML? I don't see the relationship. (I'm not a Notepad
partisan, I use vi.)
--
Michael F. Stemper
#include <Standard_Disclaimer>
Time flies like an arrow.
Fruit flies like a banana.
Michael Stemper <ms******@siemens-emis.com> wrote: In article <3F**************@bigfoot.com>, "Nicolai P. Zwar" <NP****@bigfoot.com> writes:
Notepad is far too simple to be of any use unless you really want to make it hard on yourself. It doesn't even have a line counter.
I'm puzzled by this last remark. How would having a line counter help somebody write HTML? I don't see the relationship.
Just one reason would be that the error reports (from a validator, or
even JavaScript errors from browsers) usually give the line number
that contains the code that caused the error.
Much easier to fix the error quickly if you can go straight to the
correct line.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
You might like to try the BestAddress HTML editor ( http://www.mmaus.com/bestaddress.html ) - it has a line counter,
doesn't cost much and has loads of features.
Steve Pugh <st***@pugh.net> wrote in message news:<tq********************************@4ax.com>. .. Michael Stemper <ms******@siemens-emis.com> wrote:
In article <3F**************@bigfoot.com>, "Nicolai P. Zwar" <NP****@bigfoot.com> writes:
Notepad is far too simple to be of any use unless you really want to make it hard on yourself. It doesn't even have a line counter.
I'm puzzled by this last remark. How would having a line counter help somebody write HTML? I don't see the relationship.
Just one reason would be that the error reports (from a validator, or even JavaScript errors from browsers) usually give the line number that contains the code that caused the error.
Much easier to fix the error quickly if you can go straight to the correct line.
Steve
In article <28**************************@posting.google.com >, PC wrote: You might like to try the BestAddress HTML editor ( http://www.mmaus.com/bestaddress.html ) - it has a line counter, doesn't cost much and has loads of features.
If editor is not free, it must be very good?
It has "in-built Source Securing capabilities"
that should say enaugh about quality.
Seems stupid to put money on shit
It's tutorials: http://www.mmaus.com/developer.html
And, no, there is no list of features anywhere. But the ones it mentions
aren't anyhow rare.
I can't see how HTML eidtor made by idiots would be good choise?
--
Lauri Raittila <http://www.iki.fi/lr> <http://www.iki.fi/zwak/fonts>
Saapi lähettää meiliä, jos aihe ei liity ryhmään, tai on yksityinen
tjsp., mutta älä lähetä samaa viestiä meilitse ja ryhmään.
In article <tq********************************@4ax.com>, one of infinite monkeys
at the keyboard of Steve Pugh <st***@pugh.net> wrote: Much easier to fix the error quickly if you can go straight to the correct line.
OK, what editor *doesn't* support that?
Or perhaps I should rephrase that: how many editors require you to jump
through hoops - like using a mouse or repeatedly using cursor controls -
to go to a particular line? I'd find such an editor tedious to use.
--
Nick Kew
In urgent need of paying work - see http://www.webthing.com/~nick/cv.html ni**@fenris.webthing.com (Nick Kew) wrote: In article <tq********************************@4ax.com>, one of infinite monkeys at the keyboard of Steve Pugh <st***@pugh.net> wrote:
Much easier to fix the error quickly if you can go straight to the correct line. OK, what editor *doesn't* support that?
Notepad of course.
Or perhaps I should rephrase that: how many editors require you to jump through hoops - like using a mouse or repeatedly using cursor controls - to go to a particular line? I'd find such an editor tedious to use.
Yup.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
"Michel" <we*******@handleiding-online-nospam-aub.nl> schreef in bericht
news:bf**********@news.cistron.nl... try notepad.
Nothing beats notepad when it comes to web-design....
Michel
not even edlin?
Steven wrote: "Michel" <we*******@handleiding-online-nospam-aub.nl> schreef in bericht news:bf**********@news.cistron.nl...
try notepad.
Nothing beats notepad when it comes to web-design....
Michel
not even edlin?
NoteTab Pro by Fookes Software is wonderful and you can integrate
HTMLTidy into it if you want. There is a free version but the reasonably
priced Pro version is superior for HTML editing. (BTW: I am not
associated with Fookes Software in any way - just a very satisfied user.)
Mike
--
Mike Albrecht
Interlibrary Loan
Washington State University Libraries
Holland/New Library Room 101
Pullman, WA 99164-5610 http://www.wsulibs.wsu.edu
(509) 335-5517
(509) 335-0934 (FAX)
--------------------------------------
"... in circles 'round the Sun, doing rings around the Pole ..."
-- Gordon Lightfoot
"Stars appear and the shadows are a-fallin' ..."
-- Buddy Holly
'Tis the perception of the beautiful,
A fine extension of the faculties,
Platonic, universal, wonderful,
Drawn from the stars, and filtered through the skies,
Without which life would be extremely dull.
-- Lord Byron
Mike Albrecht wrote: NoteTab Pro by Fookes Software is wonderful and you can integrate HTMLTidy into it if you want. There is a free version but the reasonably priced Pro version is superior for HTML editing.
In what way is the pro version better? I use the free version, and the
only thing I can think of that would be nice is syntax color highlighting.
Since this an authoring tools question, x-posted, f'ups set.
--
Brian
follow the directions in my address to email me This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jacek Generowicz |
last post by:
:::Title::: A simple text markup utility :::/Title:::
:::Section Introduction :::
I'm looking for something to help developers wirte documentation for
bits of software they are writing. The...
|
by: Shiperton Henethe |
last post by:
Hi
Know any good utilities to help me strip out the tags that
Microsoft Excel 2002 leaved behind when you try
and export an HTML format file?
This is driving me NUTS.
And really makes me...
|
by: Mike MacSween |
last post by:
tblCourses one to many to tblEvents.
A course may have an intro workshop (a type of event), a mid course
workshop, a final exam. Or any combination. Or something different in the
future.
At...
|
by: Arthur Dent |
last post by:
Hello all, ive been programming with ASP.NET since it came out, but am just
getting my feet with now with v.2.
Ive noticed something strange in the way my HTML tables get rendered with 2.
I use...
|
by: sck10 |
last post by:
Hello,
I have a page with an ImageButton that is used to redirect to another page.
When the page first opens, everything looks as expected. However, when I
click on the image, the new page...
|
by: mwpole |
last post by:
Hello,
I have been looking for a RSS parser to display RSS feeds within a web
page. The solutions I have found allow the display for the list to be
set, but do not include the formatting used...
|
by: SB41093 |
last post by:
Hi,
I am trying to populate date and time into DB2 table using DB2 load utility script.
The date coming from source is in the format of YYYY-MM-DD and the time in the form of hh:mm:ss
i am...
|
by: =?Utf-8?B?b24tbGluZSBqb3VybmFsIGVkaXRvcg==?= |
last post by:
I can't seem to cut-and-paste text, with either .doc or .html formatting,
into my .asp web-pages --all the formatting is lost. Is there some code that
needs to be added to the page that will...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |