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 :) 5 2037
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 -
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!
Depending on the content of the list and the expected number of hits,
I'd be happy to host it temporarily on my server (ADSL, so 91KB would
take about 4 seconds to pull off it). Other pages on your friend's site
could then link to the list on my server.
Mail me if interested - I'll want to know what the list is!
--
Mark. http://tranchant.plus.com/
"Alan" <ne**@netwerx.f reeserve.co.uk> wrote: 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!
Note that due to a modem's on the fly V42 compression, the uncompressed
file ends up being compressed by a factor 4 approx.
--
Spartanicus
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/
"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. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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
|
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?
|
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...
|
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...
|
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
| |
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...
|
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...
|
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
|
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>
|
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
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,...
| |
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
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...
|
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...
|
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...
|
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...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
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...
| |