#77208 - 02/03/2002 21:03
charcoalgray99's xsl stylesheet v1.0
|
enthusiast
Registered: 14/05/2001
Posts: 279
|
These files provide a web interface to control your empeg via hijack's khttp server.
Requirements are hijack v214+, IE6 or IE5.5 + XML Parser 3.0
To install, simply ftp the contents of this zip to your empeg root directory. Then use your web browser and point it to your empeg’s ip address or hostname.
New features in v1.0
Flyout rio remote control
Selectable display color, setting is saved with a cookie
User links on home page
You can download v1.0 here.
Here's a screenshot:
Tom
|
Top
|
|
|
|
#77209 - 02/03/2002 21:20
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
member
Registered: 07/02/2002
Posts: 193
Loc: New Richmond, WI
|
Nice work keep it up.
_________________________
Drive fast, Play it loud!!! 20GB Original Blue Lens MKIIa Rio SN 030102760, Blue Buttons. 20GB Original Green Lens MKIIa Rio SN 040103268 Grey Buttons.
|
Top
|
|
|
|
#77210 - 02/03/2002 22:35
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
carpal tunnel
Registered: 23/09/2000
Posts: 3608
Loc: Minnetonka, MN
|
it works great thanks
the remote really looks good too
_________________________
Matt
|
Top
|
|
|
|
#77211 - 03/03/2002 00:15
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
carpal tunnel
Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
|
|
Top
|
|
|
|
#77212 - 03/03/2002 01:31
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
pooh-bah
Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
|
Be-a-u-ti-ful!
/Michael
_________________________
/Michael
|
Top
|
|
|
|
#77213 - 03/03/2002 01:43
Re: charcoalgray99's xsl stylesheet v1.0
[Re: mtempsch]
|
enthusiast
Registered: 14/05/2001
Posts: 279
|
Thanks for all the great comments!
Tom
|
Top
|
|
|
|
#77214 - 03/03/2002 02:01
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
enthusiast
Registered: 16/02/2001
Posts: 373
Loc: Switzerland
|
WOWOWO, very cool!
Thanks
|
Top
|
|
|
|
#77215 - 03/03/2002 02:42
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
old hand
Registered: 31/12/2001
Posts: 1109
Loc: Petaluma, CA
|
ya i totally dig it i would do something similar but why you have done it to the starnds i would have used.. very clean.. nice work.. it will be permient on my player as hijack is now..
_________________________
----
Justin Larsen
|
Top
|
|
|
|
#77216 - 03/03/2002 06:13
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
pooh-bah
Registered: 13/09/1999
Posts: 2401
Loc: Croatia
|
I finally downloaded MS XML parser for my ancient IE5.5/Win98 setup, and, wow, this is really great, Tom!
Of course, I have a problem: I tried one of earliest streaming Hijacks, and it streamed OK. Now (with v225 and your xsl - I haven't tried anything in between) clicking on stream icon results in some traffic, but nothing else happens. I think that .m3u files are correctly generated and associated with WinAmp, since if I right-click on the stream icon, select 'Save target as...', save the resulting playlist somewhere, and finally double-click on it, WinAmp gets fired with the list correctly (and plays as expected). So, it must be something with IE setup. Any ideas?
Also, display color change does not seem to work, but I can really live with that ;-)
Thanks!
_________________________
Dragi "Bonzi" Raos
Q#5196
MkII #080000376, 18GB green
MkIIa #040103247, 60GB blue
|
Top
|
|
|
|
#77217 - 03/03/2002 12:46
Re: charcoalgray99's xsl stylesheet v1.0
[Re: bonzi]
|
enthusiast
Registered: 14/05/2001
Posts: 279
|
I haven't tested with IE5.5 so I can't say everything works for sure.
What happens when you stream with just the regular hijack html? Goto http://empeg/?fid=101&ext=.htm and try that.
Also if you can, post your http headers, that will help determine whats going wrong.
Does the display color not change for anyone else? Are you stuck with blue or is it grayscale?
Tom
|
Top
|
|
|
|
#77218 - 03/03/2002 13:26
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
pooh-bah
Registered: 13/09/1999
Posts: 2401
Loc: Croatia
|
Thanks for mentioning headers. I checked using telnet, and my .m3u files were registered as having MIME content type of 'audio/mpegurl', while empeg sends 'audio/x-mpegurl'. It works now.
Interesting, I found out that even with 'wrong' content type registered with Explorer the playlist would be downloaded (one could see downloading window flash briefly) and WinAmp called if I clicked on the same 'Stream' link twice in succession. I checked with telnet and I get exactly the same data both times. Some Explorer peculiarity.... Never mind, with exact MIME type everything is OK.
As for color, the display content is white, but I think that the rest of the lens (the dark part) is very dark blue, not black or grey. Does not matter, really.
Thanks!
_________________________
Dragi "Bonzi" Raos
Q#5196
MkII #080000376, 18GB green
MkIIa #040103247, 60GB blue
|
Top
|
|
|
|
#77219 - 03/03/2002 13:41
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
Pooh-Bah
Registered: 21/07/1999
Posts: 1765
Loc: Brisbane, Queensland, Australi...
|
I'm using IE5.5. Works great. This is just SO COOL!
_________________________
--
Murray
I What part of 'no' don't you understand?
Is it the 'N', or the 'Zero'?
|
Top
|
|
|
|
#77220 - 03/03/2002 13:48
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
enthusiast
Registered: 24/08/2001
Posts: 344
Loc: France, Champagne
|
I installed MSXML Parser and it the only I have to say is : GREAT !!!!
_________________________
Empeg IIa - 10 Gb - Red Fascia -
Tuner, the day is coming
- I Will Strike From the Grey -
|
Top
|
|
|
|
#77221 - 03/03/2002 16:09
Re: charcoalgray99's xsl stylesheet v1.0
[Re: bonzi]
|
enthusiast
Registered: 14/09/2000
Posts: 363
|
Well, you got farther than I did. I feel like a dolt that I can't seem to get a simple thing like XML working (simple in that it's s'posed to be click-install-done).
I'm running IE6 on Win98se and I downloaded MS XML4.0. The install went fine, but IE still displays the page the broken way (like Mozilla does and like IE did before XML). e.g. the window title is exactly the unparsed string: <xsl:value-of select="@host"/> playlists: <xsl:value-of select="@title"/>
So I thought I'd uninstall MS XML 4.0 and give 3.0 SP2 a try. Same thing... no XML processing.
Is there some obvious step I'm missing?
|
Top
|
|
|
|
#77222 - 03/03/2002 16:13
Re: charcoalgray99's xsl stylesheet v1.0
[Re: TheAmigo]
|
pooh-bah
Registered: 13/09/1999
Posts: 2401
Loc: Croatia
|
I have no idea, sorry. I use IE5.5 and just blindly followed Tony's link to MS XML parser v3. It worked, and streaming problem also turned out to be simple (slightly wrong MIME content type in Explorer file type association).
_________________________
Dragi "Bonzi" Raos
Q#5196
MkII #080000376, 18GB green
MkIIa #040103247, 60GB blue
|
Top
|
|
|
|
#77223 - 03/03/2002 17:05
Re: charcoalgray99's xsl stylesheet v1.0
[Re: TheAmigo]
|
enthusiast
Registered: 14/05/2001
Posts: 279
|
I don't know what to say, sorry. If you have IE6 you shouldn't be required to upgrade MSXML.
Just for kicks I installed MSXML 4.0 on my IE6 WinXP, and everything still works ok.
Tom
|
Top
|
|
|
|
#77224 - 03/03/2002 17:13
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
member
Registered: 19/12/1999
Posts: 117
|
Have you figured out why it doesn't work with Mozilla yet?
|
Top
|
|
|
|
#77225 - 03/03/2002 17:39
Re: charcoalgray99's xsl stylesheet v1.0
[Re: xavyer]
|
enthusiast
Registered: 14/05/2001
Posts: 279
|
They have an FAQ here why "It works in IE, but not in Mozilla".
It looks like IE takes the xsl transformation and then parses it again to generate the html output. Mozilla simply outputs the result of the transformation.
If someone who knows more about XML/XSLT would like to point out what I'm doing wrong, I will see if I can implement some changes.
If you take a look at the index.html page in Mozilla, it at least looks like it is supposed to. So the problem is with the XML/XSLT, which is something I knew nothing about a couple weeks ago, so I need some help here.
Tom
|
Top
|
|
|
|
#77226 - 03/03/2002 18:06
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
enthusiast
Registered: 14/09/2000
Posts: 363
|
I knew it had to be something stupid, just took me a bit to figure out what.
somehow I managed to get both index.html and default.xsl as copies of the same file (default.xsl). Looks much better now!
|
Top
|
|
|
|
#77227 - 03/03/2002 19:11
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14491
Loc: Canada
|
Mmm.. good reference for the mozilla FAQ on this. They say the Lizard is very particular about the mime types, so I'll tweak those in Hijack and see if that's enough to fix it.
-ml
|
Top
|
|
|
|
#77228 - 03/03/2002 22:11
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
member
Registered: 19/12/1999
Posts: 117
|
Thanks for the update.
|
Top
|
|
|
|
#77229 - 05/03/2002 15:18
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14491
Loc: Canada
|
Is it really necessary to use "&nbsp;" rather than just " " ??
That's one thing that requires recursion to resolve the way it's written right now.
-ml
|
Top
|
|
|
|
#77230 - 05/03/2002 15:22
Re: charcoalgray99's xsl stylesheet v1.0
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14491
Loc: Canada
|
Or even, for that matter, just change
<xsl:text disable-output-escaping="yes"> </xsl:text> to
inside the default.xsl file?
Cheers
|
Top
|
|
|
|
#77231 - 05/03/2002 15:24
Re: charcoalgray99's xsl stylesheet v1.0
[Re: mlord]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14491
Loc: Canada
|
Oh, never mind. Mozilla seems to only be happy when I totally remove the   stuff -- it's not really needed anyway.
Do other browsers need it in there?
Is even valid syntax for XHTML ?
Cheers
|
Top
|
|
|
|
#77232 - 05/03/2002 15:26
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
carpal tunnel
Registered: 29/08/2000
Posts: 14491
Loc: Canada
|
Next question.. what's with this "javascript:void(0)" stuff that's sprinkled all over? Mozilla doesn't seem to know what to do with that.
-ml
|
Top
|
|
|
|
#77233 - 05/03/2002 19:20
Re: charcoalgray99's xsl stylesheet v1.0
[Re: mlord]
|
member
Registered: 19/12/2001
Posts: 108
|
& alone in an XML document is illegal (which is what the stylesheet is), you have to specify &
So, if you have &nbsp; in the xsl, it will output to the html, which will of course put a non breaking space in the td. At least in IE, that's good for tables that have nothing else in the td, so it looks like an actual defined td.
Chris
|
Top
|
|
|
|
#77234 - 05/03/2002 19:25
Re: charcoalgray99's xsl stylesheet v1.0
[Re: mlord]
|
enthusiast
Registered: 14/05/2001
Posts: 279
|
The "javascript:void(0)" inside a link tells the browser to not change pages when the link is clicked. Usually because there are onmouse events which do stuff instead. There are other ways of doing this.
Tom
|
Top
|
|
|
|
#77235 - 05/03/2002 19:28
Re: charcoalgray99's xsl stylesheet v1.0
[Re: mlord]
|
enthusiast
Registered: 14/05/2001
Posts: 279
|
Without the empty cells wouldn't be rendered and it looks like a hole in the table, so they are needed.
Tom
|
Top
|
|
|
|
#77236 - 06/03/2002 00:44
Re: charcoalgray99's xsl stylesheet v1.0
[Re: charcoalgray99]
|
member
Registered: 14/09/1999
Posts: 149
Loc: Alaska
|
I'm not sure if this has been discussed yet, but is there way to make the visual window update quicker. It seems to be set about about 1 frame every 5 seconds. One thing I really like about display server is how quick it updates.
Thanks,
Tom
_________________________
Reg #2845: Mark 1 #00173, Mark 2 #119, Mark 2a
|
Top
|
|
|
|
#77237 - 06/03/2002 02:02
Re: charcoalgray99's xsl stylesheet v1.0
[Re: Liufeng]
|
enthusiast
Registered: 14/05/2001
Posts: 279
|
Yep, just edit the value in the default.js file. I plan to make this configurable too, like the display color.
Tom
|
Top
|
|
|
|
|
|