473,657 Members | 2,550 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Serving up compress pages without access to server side tools?

I have a website with no ssi, php, cgi...nothing. Plain old flat pages are
all it serves.
I need to upload a list to it - a big, plain text list in html. A 2Mb list!

With gzip compress, it comes down to 91Kb, much more modem-friendly!

After about 30 minutes of googling, I haven't yet found a way of serving
this page up like this.
I can't send headers as no php or .htaccess is allowed. Any ideas?

And please don't suggest I move to a "proper" web host! It's for a friend
with a one-off need for a small website for about 2 months, and the freebie
10Mb is fine :)
Jul 23 '05 #1
3 967
Els
Alan wrote:
I have a website with no ssi, php, cgi...nothing. Plain old flat pages are
all it serves.
I need to upload a list to it - a big, plain text list in html. A 2Mb list!

With gzip compress, it comes down to 91Kb, much more modem-friendly!

After about 30 minutes of googling, I haven't yet found a way of serving
this page up like this.
I can't send headers as no php or .htaccess is allowed. Any ideas?

And please don't suggest I move to a "proper" web host! It's for a friend
with a one-off need for a small website for about 2 months, and the freebie
10Mb is fine :)


Not sure if I understand things correctly, but can't you
serve a regular html page in which you link (a href=) to the
gzip file? I thought that way it automatically would
download to the user's pc, where some unzipper will take
care of it.

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -

Jul 23 '05 #2
Alan wrote:
I have a website with no ssi, php, cgi...nothing. Plain old flat pages are
all it serves.
I need to upload a list to it - a big, plain text list in html. A 2Mb list!

With gzip compress, it comes down to 91Kb, much more modem-friendly!

After about 30 minutes of googling, I haven't yet found a way of serving
this page up like this.
I can't send headers as no php or .htaccess is allowed. Any ideas?


If all visitors to the site have Javascript enabled, you could use
client-side compression:

http://www.dithered.com/javascript/c...ion/index.html

Alternatively, provide two copies of file for download, one with an
..html.gz extension (assuming the server is properly configured to
recognize .gz) and one with an .html extension, and let visitors choose
which version they would like to get.

--
Klaus Johannes Rusch
Kl********@atme dia.net
http://www.atmedia.net/KlausRusch/
Jul 23 '05 #3
"Klaus Johannes Rusch" <Kl********@atm edia.net> wrote in message
news:2i******** ****@uni-berlin.de...
Alan wrote:
I have a website with no ssi, php, cgi...nothing. Plain old flat pages are all it serves.
I need to upload a list to it - a big, plain text list in html. A 2Mb list!
With gzip compress, it comes down to 91Kb, much more modem-friendly!

After about 30 minutes of googling, I haven't yet found a way of serving
this page up like this.
I can't send headers as no php or .htaccess is allowed. Any ideas?


If all visitors to the site have Javascript enabled, you could use
client-side compression:

http://www.dithered.com/javascript/c...ion/index.html

Alternatively, provide two copies of file for download, one with an
.html.gz extension (assuming the server is properly configured to
recognize .gz) and one with an .html extension, and let visitors choose
which version they would like to get.


Thanks for all the replies - this last one looks very cunning - but is very
heavy on the old cpu!

We got it sorted in the end - just stripping out all the tags and stuff.
Thanks for the offer of hosting the files etc.
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
2210
by: -[ CaMeL ]- a55m0nk | last post by:
Hi there i am creating a clan website in ASP and am making a page serving script a link sends a query to the default page and then serves the page by grabbing the HTML from a database that refers to the pageID. this works like a peach whenever the page is just HTML e.g. http://www.deathworld.net/camel2.0/default.asp?id=2
5
2032
by: Alan | last post by:
I have a website with no ssi, php, cgi...nothing. Plain old flat pages are all it serves. I need to upload a list to it - a big, plain text list in html. A 2Mb list! With gzip compress, it comes down to 91Kb, much more modem-friendly! After about 30 minutes of googling, I haven't yet found a way of serving this page up like this. I can't send headers as no php or .htaccess is allowed. Any ideas?
1
1895
by: cwdjrxyz | last post by:
I am now writing many new pages in xhtml 1.1. They are served as true xhtml by setting the mime type of the server to application/xhtml+xml for the .xhtml extension. Since IE6 and some earlier browsers can not handle this mime type, a simple php include is at the very top of such pages. If the mentioned mime type support for the viewing browser is detected, everything above the head tag of the page is written in xhtml 1.1 code. If the...
3
3488
by: Lyle Fairfield | last post by:
In a recent thread there has been discussion about Data Access Pages. It has been suggested that they are not permitted on many or most secure sites. Perhaps, that it is so, although I know of no site that has this prohibition, and I have uploaded DAPs to various sites and used them from those sites. I do not understand why any site manager would prohibit DAPs. To the best of my knowledge DAPs, as HTM files, are merely hosted on the...
2
1234
by: Martin | last post by:
Does somebody know, if theres a way, to compress an ASP.NET Page before its sent to the client? e.g. remove all formatting characters I want to get my pages as small as possible.
11
19855
by: Ciaran | last post by:
HI I know about ob_start( 'ob_gzhandler' ); But I'm looking for something that removes all line breaks and extra whitespace in the html before sending it to the visitor's browser. Is this possible? Cheers, Ciarán
1
3060
rohswell
by: rohswell | last post by:
When my Apache installation tries to serve an executable file (web page) it gives an internal server error. I have installed and setup Apache under Cygwin under Windows XP. I am writing web pages for an embedded Linux system and using the setup above as a development/test platform. Each web page is a C program, compiled and linked to produce an executable using Cygwin and Gnu C. For example, the home page would be index.exe. When this...
68
4695
by: zwsdotcom | last post by:
I've been looking for references for some weeks now, but haven't found an answer to the following question. I'd love some help on this: *Without* using JavaScript or other active client-side scripting, server-side includes or frames, is there a way to include a standard header on all pages within a site? The design goal is to have the header links and title graphic on every page kept in some single place, so that a change to the header...
42
8925
by: Santander | last post by:
how to decode HTML pages encoded like this: http://www.long2consulting.com/seeinaction2008/Simplicity_Beach_table/index.htm Is there script that will do this automatically and generate normal fully readable HTML? Santander
17
1903
by: henry | last post by:
Folks Here's a skeleton, generic HTML page, call it "index.php". You'll see a bit of php code in the middle: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head>
0
8326
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8743
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8522
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8622
tracyyun
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7355
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6177
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5647
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
1973
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1736
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.