Anyone know of a good/quick (and free) way to compress HTML code?

S

ship

Dreamweaver8, Windows XP Pro (SP2), Homesite and msAccess (2000)

Hi


Anyone know of a good/quick (and free) way to compress HTML code?


We are trying to use msAccess to create a slightly large email
(souce code is about 55KB and Access wont save it to a Memo field
because it is too large!)


With thanks


Ship
Shiperton Henethe
 
N

nullified

Very simple. Open it in Notepad. Then press:

Ctrl-A
Ctrl-X
Ctrl-S

Cuts the size considerably.

Just a thought, Jerry, but did it ever occur to you to answer a
question WITHOUT your pathetic snide comments, you ****ing ignorant
cnut
 
J

Jeff

nullified said:
Just a thought, Jerry, but did it ever occur to you to answer a
question WITHOUT your pathetic snide comments, you ****ing ignorant
cnut


What's a cnut?

Sheeesh, 5 groups posted to?

There's a fairly thread in alt.www.webmaster about removing html
gibberish. Something about HTML Tidy and a little judicious use of a
Regex in Search and Replace.

Or perhaps you should just point to the file rather than stuff it in
Accesses limited memo file.

Jeff
 
J

Jerry Stuckle

ship said:
Dreamweaver8, Windows XP Pro (SP2), Homesite and msAccess (2000)

Hi


Anyone know of a good/quick (and free) way to compress HTML code?


We are trying to use msAccess to create a slightly large email
(souce code is about 55KB and Access wont save it to a Memo field
because it is too large!)


With thanks


Ship
Shiperton Henethe
Very simple. Open it in Notepad. Then press:

Ctrl-A
Ctrl-X
Ctrl-S

Cuts the size considerably.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
(e-mail address removed)
==================
 
G

Guest

There is a great free utility you can use which will remove all the white
space charactes in your code called named HTML Compress. It has a number of
options to help you optimize your HTML code and reduce your code size. You
can search for it online or goto the following link to download it for free.

http://www.freesoft.fsnet.co.uk/html01.htm

Goodluck!
--
Todd Keith
Microsoft Desktop Training Specialist
www.brainstorminc.com

"Wasted end-user time due to lack of training accounted for the biggest
piece of the spoftware spending pie" -Gartner
 
F

Fred Atkinson

Dreamweaver8, Windows XP Pro (SP2), Homesite and msAccess (2000)

Hi


Anyone know of a good/quick (and free) way to compress HTML code?


We are trying to use msAccess to create a slightly large email
(souce code is about 55KB and Access wont save it to a Memo field
because it is too large!)


With thanks


Ship
Shiperton Henethe

I don't use Notepad as it is too limited in what it can do. I
used a text editing program called Ultraedit instead. It is a very
powerful text editor.

But when I read your question, I checked to see if it had this
feature. In fact it does/ You use the 'Format', 'HTML Validation',
and use the 'Run HTML Tidy' option. I ran it on a very old page I
wrote when I was very early in coding in HTML. It completely
automated the things I used to manually do to clean up a Web page.

Thanks for raising this question. You learn something new
every day.



Fred
 
A

Aaron Kempf

sorry kid

if you think that UltraEdit is the bomb?
then you should just lose the training wheels and use SQL Server Management
Studio
 
F

Fred Atkinson

sorry kid

if you think that UltraEdit is the bomb?
then you should just lose the training wheels and use SQL Server Management
Studio

It sure saves me a lot of work when I am coding.

I'm sure there are better packages out there. But it works
fine for my purposes.

And it does leave Notepad way behind in the dust.





Fred
 
J

Jerry Stuckle

Aaron said:
just use SQL Server, kid

And why should he waste several thousand dollars on it? Rather, MySQL
or PostGres SQL will do the job he needs, and for free.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
(e-mail address removed)
==================
 
B

Brian Cryer

ship said:
Dreamweaver8, Windows XP Pro (SP2), Homesite and msAccess (2000)

Hi

Anyone know of a good/quick (and free) way to compress HTML code?

We are trying to use msAccess to create a slightly large email
(souce code is about 55KB and Access wont save it to a Memo field
because it is too large!)

I thought the limit for a memo field was nearer 65K? (But there is not point
in quibbling over where the limit is if you know you are hitting it.)

I think if you change the way you are accessing the memo field and use DAO
to access it then the limit disappears. An alternative is to use an "OLE
Object" type, but then you'll definitely need to drive it through code. So
whilst both of these will give you a way forward, neither are quick.
 
A

Andy Dingley

Dreamweaver8, Windows XP Pro (SP2), Homesite and msAccess (2000)
Anyone know of a good/quick (and free) way to compress HTML code?

Stop using Dreamweaver.

Use decent CSS, and put it in an external stylesheet (even if it's
still in the email it's no longer in the HTML and so doesn't need to
be stored in the database in the same field).

Although you didn't give us a URL to your HTML, any page that's 55k of
HTML source and is still short enough when rendered to be remotely
useful as a terse marketing email has to count as bloated coding.
 
M

Martin Harran

Jerry Stuckle said:
Aaron said:
just use SQL Server, kid
[...]

And why should he waste several thousand dollars on it? Rather, MySQL or
PostGres SQL will do the job he needs, and for free.

SQL Server Express edition is also free
 
A

Aaron Kempf

what's wrong with Dreamweaver, kid?

Access MDB is the problem-- not dreamweaver

Move to SQL Server and keep dreamweaver!
 
J

Jerry Stuckle

Aaron said:
SQL Server is 'more free than mySql or postgres'

How much "more free" can you get than no charge?

SQL Server, even Express Edition is much more expensive than MySQL or
PostGres SQL. For starters, you have to spend a couple of hundred $$ for
a MS OS - a lot more if you're going to use it as a server. Windows XP
Home Edition won't hack it.

Linux, OTOH, is completely free. As are both MySQL and PostGres SQL (as
long as you're not going to include them in a commercial application).

And BTW - both MySQL and PostGres SQL on Linux run just great in 128M of
RAM - and for a low volume site you have RAM to spare. You can't even
boot the latest MS OS's in 128M - at least an not be paging yourself to
death.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
(e-mail address removed)
==================
 
J

Jerry Stuckle

Aaron said:
what's wrong with Dreamweaver, kid?

Access MDB is the problem-- not dreamweaver

Move to SQL Server and keep dreamweaver!

Now I understand why you push SQL Server. You don't even know what's
wrong with Dreamweaver...


--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
(e-mail address removed)
==================
 
J

Jeff

Aaron said:
just use SQL Server, kid

He may wish to keep it in Access. I know that I have a client that
downloads the Access database to work on it, not something you can do
with any other database and keep any special formatting/field types.
This may not even be on the web!

BTW, MySQL runs beautifully on windows.

Jeff
 
S

Susie Johnson

what.. Access Data Projects can't use simple input masks and format strings?

ROFL

it works like a charm, kid
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top