|
|
|
|
|
Home
| Forum
Archives | Past Discussion
Links that download for sure
NOTE: You are currently
viewing an archived discussion from the Online Marketing
Today, website promotion forums. As such, you can no longer participate in
this discussion. If you would like to discuss similar issues, or any
issue related to website promotion & marketing in general,
then please feel free to visit the active
discussion forums & post a message in the most appropriate
forum.
|
|
|
|
|
Duncan Carver's
- Link Management Assistant - $197 Yours FREE! |
|
|
|
Put your website promotion,
marketing, & search engine positioning on autopilot
with my all new Link Management Assistant. The
"Link Management Assistant" totally automates
your reciprocal link partner management, allowing you to
focus entirely on securing more strategic link partners
to increase your websites link popularity & search
engine rankings...
|
|
Read
More & Download |
|
|
|
|
Re: Links that download for sure -- Posted by Simon Templar on 10-31-04 13:16
Well in the case of pgn chess standard files, as I pointed in another post
to this thread, even Linux and Mac applications look for this extensions.
The point is, that if the file is shown in a browser window, you can read
the notation and relevant data of the games, such as who played with white
and black pieces, tournament, year, etc., but can't replay the game, except
you open an application and enter the moves manually. The pgn files are
supported by dozens of chess applications, which when reading these files,
immediately allow the user to replay the games just by clicking a forward
arrow below a chess board, and switching from game to game without the
hassle of rearranging the pieces back to their starting position. In fact
this is its primary advantage! So, for chess related sites, it is very
important to make sure the user will be able to download the file
independently of the browser configuration, OS, etc. The suggestion to put
an advice on right clicking the link and choosing to save, would be an
intermediate solution. I wonder if there is any way, even server side in php
or asp to solve this and make everythinng friendlier to the user, or in
other words, more usable.
"Toby Inkster" escribió en el mensaje
news:pan.2004.10.31.09.29.59.437398@tobyinkster.co.uk... > Zifud wrote:
> > brucie wrote:
> >> Simon Templar said:
> >>
> >>> In one case I had a text file with different extension than txt,
> >>
> >> idiot
> >
> > Really? So what extension would you give an ASCII file with comma
> > separated values?
>
> Brucie's point was that extensions are entirely a Windows thing. There is
> no such thing as an extension on the web.
>
> --
> Toby A Inkster BSc (Hons) ARCS
> Contact Me ~ http://tobyinkster.co.uk/contact
>
Re: Links that download for sure -- Posted by denisb on 10-31-04 13:49
Simon Templar wrote: > I wonder if there is any way, even server side in php
> or asp to solve this and make everythinng friendlier to the user, or in
> other words, more usable.
I think you should use 'application/x-chess-pgn pgn'
in the headers of the page sent by php...
if client browser could read this type mime (in its preferences) it
would propose good render page.
--
@@@@@
E -00 comme on est very beaux dis !
' `) /
|\_ =="
Re: Links that download for sure -- Posted by Fred Oz on 10-31-04 22:42
Toby Inkster wrote:
[...] > Brucie's point was that extensions are entirely a Windows thing. There is
> no such thing as an extension on the web.
>
Then Brucie is wrong. Extensions are used by the web server to assign
the MIME type and (when not opened via a browser) by the OS of the
system the file is downloaded to to assign the application used to open
the file.
Windows, Linux and Mac OS X (and in certain circumstances, Mac OS 9) all
use the file extension to associate a file with an application to a
greater or lesser extent.
To trivalise their importance is misleading.
Fred.
Re: Links that download for sure -- Posted by Toby Inkster on 11-01-04 02:52
Fred Oz wrote:
> Extensions are used by the web server to assign the MIME type
*Some* web servers *may* look at the last part of the file name to infer
a MIME type under *some* configurations, yes.
But the method used by the web server to determine the MIME type is not
relevent to the browser. The browser is simply sent the MIME type, a few
other headers and the content.
> Windows, Linux and Mac OS X (and in certain circumstances, Mac OS 9) all
> use the file extension to associate a file with an application
My GNOME desktop uses, IIRC, the MIME-magic package to do this, which
actually looks at the first few bytes of the file for a magic string. e.g.
all PNG files contain the bytes 89:50:4E:47.
But I'm not entirely sure how the method of opening local files by the
operating system is on topic in either of these groups.
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
Re: Links that download for sure -- Posted by Robert on 11-01-04 16:30
"Simon Templar" wrote in message news:<2ui1abF29upr2U1@uni-berlin.de>... > I have had problems several times with links to files to download. In one
> case I had a text file with different extension than txt, that, in case the
> user has the associated application installed, it could be opened with that,
> or otherwise downloaded. The problem was that in some clients, the browser
> displayed the file, wich was not the intended purpose and was useless for
> the visitors.
>
> Another time I had the more common challenge of allowing users downloading
> pdf files instead of viewing them in their browser in case they had the
> plugin installed.
This is another thing controlled by the client web browser.
>
> I know a common answer would be to zip the files, but some users... you
> know, are not even zip self confident so to speak.
>
> How can I make sure, with a client side solution, the link triggers a
> download? I tried to look for a javascript function but I am not advanced on
> it so I couldn't find a way.
This is controlled by the web browser. What a web broswers does is
based on the mime type. Some web browsers let you configure what the
browser does when a file is downloaded. Of course, IE doesn't on
windows.
I do not think there is a general answer. I think you have to go with
a compromise.
Is this file a text file? If so, use the extension .txt. Have the
user rename the file on the client computer. Or use zip files, and go
with the user having to deal with them.
You have stumbled across a window problem area. Other other operating
systems let you configure what happens on the download a file and
include zip file decompression programs as part of the OS.
Robert
Start Of Discussion
« Previous 1 2 3
Discuss this issue in the live
discussion
forums now.
|
|
|
|
|
| Popular
Website Promotion & Marketing Articles... |
|
|
No Joke! COMEDY CENTRAL And Cox Cable Team Up To Present An Evening Of Comedy At The Tulsa Comedy Club On Thursday, October 12 At 8:00 P.M. Featuring Comedian
Business Wire - October 12, 2000
Entertainment Editors
TULSA, Okla.--(ENTERTAINMENT WIRE)--Oct. 12, 2000
Proceeds From The Event, Part Of COMEDY CENTRAL's "Comedy Rx"
Pro-Social Program,
To Benefit The Child Abuse Network
Comedians Corey Bailey And Tommy B. Also Schedul... (Read More)
Front Porch Communications Receives $5 Million in Funding From QUALCOMM; San Diego-Based Wireless Industry Giant Invests in Leading Provider of High-Bandwidth
Edge: Work-Group Computing Report - May 15, 2000
Front Porch Communications, a leading provider of dial-up and high-bandwidth solutions for the worldwide communications industry, Monday announced that QUALCOMM Incorporated (Nasdaq: QCOM) has invested $5 million to support continued development... (Read More)
MindComet Honored With Cool Site of the Day Award
Business Wire - January 4, 2001
Business Editors/High-Tech Writers
ORLANDO, Fla.--(BUSINESS WIRE)--Jan. 4, 2001
MindComet Corporation, the premier website developer specializing in branding for broadband, receives National acclaim today by being honored with a Cool Site of t... (Read More)
|
|
|