Need advice for hyperlinking NWC files - not HTML 2003-02-25 09:10 pm I have my music on the web page and I found out that if I (or anybody else) open the page from another computer and try to download the music, it is saved/opened NOT as NWC file but as HTML = gibberish. With the earlier version of IE i was successful in right-clicking and choosing "Follow Hyperlink" command but now it's gone. When I choose "Save Target As" it is still trying to save as HTML. If I choose "Open" and have NT Eval copy installed, it is still NOT downloading as NWC file.Any suggestions?Alexanderaboltenko@pisem.net Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #1 – 2003-02-26 01:48 am Could be a lot of things.Supply your web address. I'll go to the site and see if I can figure out the problem. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #2 – 2003-02-26 04:05 pm In this case, a link to what you are actually doing is worth a thousand words trying to describe it. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #3 – 2003-03-05 07:44 pm This is the page http://www.barbershopharmony.bizland.com/other_songs.htm Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #4 – 2003-03-05 11:50 pm It must be your web server - the links are OK, but for some reason, your server insists on delivering the files as text. I can only suppose your ISP treats any unknown file types as text, rather than binary.RObin Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #5 – 2003-03-06 02:44 am The headers that your server sends are wrong. For example, the headers for America_The_Beautiful.nwc sent by your server are:------------------------------HTTP/1.1 200 OKDate: Thu, 06 Mar 2003 02:39:49 GMTServer: ApacheLast-Modified: Wed, 05 Mar 2003 20:35:05 GMTETag: "220462-26f1-3e665f79"Accept-Ranges: bytesContent-Length: 9969Content-Type: text/html------------------------------The Content-Type should not be of type text/html. The content type for NWC files is best set to application/x-nwc. However, at the very least, you should set a binary MIME type such as application/octet-stream. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #6 – 2003-03-06 01:41 pm See the new FAQ entry, faq #94, for more details. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #7 – 2003-03-06 03:12 pm Read the new FAQ first. Read it? Then... My own web site is hosted by a local ISP (I pay for the service). I can get control over the .htaccess file for my site. The reason I mention this, is to point out that the FAQ advice is not unreasonable or difficult. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #8 – 2003-03-06 05:17 pm By the way, based on the headers returned by your (Alexander Boltenko) site, it is being served by Apache Web Server software. This means that the instructions in the FAQ apply directly to your site. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #9 – 2003-03-06 05:26 pm One more thing: Judging by the content in the Go Live forum at Your Web Hosting Company (just do a search for "htaccess"), you might have to ask for help from your hosting company admin. Some forum discussion on this site implies that you are, in fact, denied user level htaccess control. However, I could not find official word about this on the site, so you will have to ask them yourself. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #10 – 2003-03-06 06:37 pm Normally I work with music that I cannot display, since it is someone else's work. But in this case, I have permission:http://www.icogitate.com/~ergosum/misc/sevenlastwords.htmThe link to the NWC browser plug-in version is at the bottom. If any of you (who already have the plug-in configured, and know what to do) are unable to see/hear it, let me know. I have been known to fumble file editing (such as .htaccess). Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #11 – 2003-03-06 11:24 pm I followed the link in Reply 10 and extracted the name of the *.nwc file from the source on that page. When I substituted that name in my window, the file was treated as text and NoteWorthy did not open it. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #12 – 2003-03-07 12:16 am Confirmed. Netscape 7.02 (Mozilla 1.0.2).Works well when using the 'embed' tag within the html, however, i.e. it's fine when viewed as intended. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #13 – 2003-03-07 12:01 pm The headers returned from http://www.icogitate.com/~ergosum/misc/sevenlast-forwebsite.nwc are:------------------------------HTTP/1.1 200 OKDate: Fri, 07 Mar 2003 12:00:38 GMTServer: Apache/1.3.9 (Unix)Last-Modified: Thu, 06 Mar 2003 16:27:44 GMTETag: "cf507-a0c-3e677700"Accept-Ranges: bytesContent-Length: 2572Content-Type: text/plain------------------------------Note that the Content-Type is incorrect. The embedded version (using the HTML <EMBED> tag) will work for some browsers, since the <EMBED> tag itself indicates the actual correct mime type. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #14 – 2003-03-07 02:40 pm No problem (yet). As expected, I fumbled the .htaccess file. I uploaded it to my main account, rather than to the annex (where the nwc is found). Try again, ten minutes from now.Of course, it works fine when downloaded to my own computer. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #15 – 2003-03-07 10:28 pm Your headers are now proper:HTTP/1.1 200 OKDate: Fri, 07 Mar 2003 22:27:55 GMTServer: Apache/1.3.9 (Unix)Last-Modified: Thu, 06 Mar 2003 16:27:44 GMTETag: "cf507-a0c-3e677700"Accept-Ranges: bytesContent-Length: 2572Content-Type: application/x-nwc Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #16 – 2003-03-07 11:51 pm I'm still getting gibberish. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #17 – 2003-03-08 03:11 am NWC: Thanks for checking.Randy: If you were at my page before, and got gibberish, it may be that the prior gibberish is stored in your computer's browser cache. On another thread, someone suggested that it helps to hold down the CTRL key when you reload the page, as that will force reload of page content, not just the page HTML.Another possibility is that you are using a recent version IE that doesn't like the old-fashioned EMBED tag. It works in IE6 on my computer, but that's not a fair test, as everything is also local. I have no way of testing it on another computer. Although I have access to many other computers, all of them are business-related and will not install a plug-in or, for that matter, an ActiveX control if that were the method.However, my original point was that depending on your ISP, placing or editing an .htaccess file may or may not be easy.Do notice that the filename begins with a period, and has no extension. If you try to create .htaccess with some text editors or word processors, it may be saved with an extension, such as .txt, that you do not want. Or, it may simply refuse to save it with the filename .htaccess, because it will think it is an un-named file with extension .htaccess. If whatever text editor you have doesn't work, there are some free text editors, for the benefit of programmers, that will allow .htaccess to be saved. If you are using a program such as WS_FTP to upload, then you may be able to change the filename from within the FTP program, during or after upload.My .htaccess file also contains code that re-directs someone to my index page, if the file sought no longer exists or the URL is slightly mis-typed. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #18 – 2003-03-08 04:57 am However, my original point was that depending on your ISP, placing or editing an .htaccess file may or may not be easy.Amen. My stupid ISP runs Apache, but apparently has a global setting that does not allow individual .htaccess files to have any effect. I can upload them with impunity, but nothing happens.I've talking myself blue in the face trying to get them to implement the proper MIME-types for NWC and a couple other file types, to no avail. They tell me I have to "upgrade" to a "business account" (read: give them more money).Bloody phone company anyway. Problem is, the cable company are just as thievish, but even less competent. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #19 – 2003-03-08 08:11 pm I have the good fortune to live in a highly-wired community. My ISP is a local outfit. If I didn't like them, I could choose from at least two other local outfits before I had to deal with the phone company, or a nationwide service such as AOL, Earthlink, or Compuserve.My parents, however, are retired near an east-coast community more known for motorcycles than for computers. The community largely consists of (a) uneducated and unwired, or (b) elderly retired. Many of the (b) have Internet service, but virtually all through AOL or the phone company. A local outfit tried, but didn't make it, since the retirees (many of whom are retired phone company employees!) did not grasp the concept.What has this to do with NWC browser plug-in? Answer: Do not suppose that persons who visit your web site can access your content, whatever it is. There are many Internet users who have older software, or who wouldn't dream of installing a plug-in, or who cannot even re-size a window (whatever the browser shows initially, that's all they will see). If you create music for computer games, then it is safe to assume that your visitors are reasonably knowledgable. But if you create church hymns, that's not necessarily the case. If you do use any media material, you should have a non-media cover page that explains the content, and perhaps offers alternative means of getting it.Right now, I am on a Mac computer with Internet Explorer 5.1. That's the first time I've used Mac/IE combo. One of my web pages does not load properly, even though I thought I had it scripted to divert Mac/IE5 to another page. Now I have to re-think the diversion script (which was suggested by Apple!). The reason seems to be that this computer, in a college library, will refuse to finish loading a page if it contains an incompatible OBJECT tag, rather than simply ignoring the tag.Moral: To reach the widest audience, offer alternative page content. You don't have to be compatible with every single thing; someone with Netscape 2 on Windows 3.1 with 2Meg RAM is probably not interested in your MP3 of Wagner's Meistersinger Overture. But if you are using the NWC browser plug-in, also offer your NWC file in a ZIP package, which can be separately downloaded and played with the NWC player, on any recent Windows machine. You might include the MIDI, so that Mac users can at least hear it. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #20 – 2003-03-08 10:11 pm I'm still getting gibberish...at Alexander Boltenko's (Reply 3) site. I've viewed your site in the past without incident. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #21 – 2003-03-09 01:28 am Thanks for the clarification, Randy. There are perhaps some uncharitable people in the world who believe my entire web site is gibberish. Fie on them! Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #22 – 2003-03-09 03:04 pm FYI: You can now use the following utility to check the headers that are returned for your NWC files:Check Your Web Site's NWC File Headers Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #23 – 2003-03-09 08:34 pm How does that work? I get the error messageAddress contains unsupported characters or has unsupported contentwhen I enterhttp://bellsouthpwp.net/w/b/wbport/chorus/I tried various combinations such as removing the "http" or naming a specific file, but nothing worked. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #24 – 2003-03-09 09:01 pm It only works for links to NWC files (your link must end with a .nwc extension). Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #25 – 2003-03-10 01:03 am Wow! Been a couple of days since I looked at this one. The Gremlins were busy!No problem bringing up the NWC file in my computer. All is well? Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #26 – 2003-03-10 03:44 am I just tried the tool for the nwc file contained in my above-referenced page, and all is well. It returned:HTTP/1.1 200 OKDate: Mon, 10 Mar 2003 03:42:36 GMTServer: Apache/1.3.9 (Unix)Last-Modified: Sun, 09 Mar 2003 00:57:11 GMTETag: "cf507-9ff-3e6a9167"Accept-Ranges: bytesContent-Length: 2559Content-Type: application/x-nwcWhich, I believe, is just what the Apache ordered. I had placed the .htaccess file earlier. Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #27 – 2003-03-10 06:55 pm I'm no longer getting gibberish!Way to work together, folks! Go team! Quote Selected
Re: Need advice for hyperlinking NWC files - not HTML Reply #28 – 2003-03-10 07:00 pm ...I spoke too soon.Some of the links work fine, others...Also, some of the files are corrupted... Quote Selected