ANN: Programmierung in Ruby


(Juergen Katins) #1

Programmierung in Ruby Online gibt es jetzt mit ausführlichem
Inhaltsverzeichnis.
Desweiteren funktionieren jetzt endlich die Html-Seitenreferenzen,
die meisten zeigen sogar an die richtige Stelle.
Außerdem ist ein Index angefügt, der aber im Moment noch halb deutsch halb
englisch ist.
http://home.vr-web.de/juergen.katins/ruby/index

Viel Spaß mit Ruby

Jürgen Katins

Programmierung in Ruby Online is available now with a detailed table of
contents.
Furthermore the html links are at last working, at least the most point
even to the correct locations.
In addition now there is an index which but is yet half german half english.
http://home.vr-web.de/juergen.katins/ruby/index

Much fun with Ruby

Juergen Katins


(Juergen Katins) #2

An english version (without detailed table of contents but with working
links and an
full english index) is available too.
http://home.vr-web.de/juergen.katins/ruby/book/index.html

Much fun with Ruby

Juergen Katins


(Tobi Reif) #3

Juergen Katins wrote:

Programmierung in Ruby Online is available now with a detailed table of
contents.
Furthermore the html links are at last working, at least the most point
even to the correct locations.
In addition now there is an index which but is yet half german half english.
http://home.vr-web.de/juergen.katins/ruby/index

I thought I told you a while ago:

In NN6.2, it’s all garbled:
http://www.pinkjuice.com/temp/prgrbnn6.png

and
http://home.vr-web.de/juergen.katins/ruby/xml/convert.xsl
gives “Not Found”

Tobi

···


http://www.pinkjuice.com/


(Ned Konz) #4

Looks fine in Konqueror and Mozilla 1.0. And the HTML looks fine too
(other than some non-standard attributes).

Perhaps your browser is broken?

···

On Friday 14 June 2002 07:47 am, Tobias Reif wrote:

Juergen Katins wrote:

In addition now there is an index which but is yet half german
half english. http://home.vr-web.de/juergen.katins/ruby/index

I thought I told you a while ago:

In NN6.2, it’s all garbled:
http://www.pinkjuice.com/temp/prgrbnn6.png


Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE


#5

Tobias Reif tobiasreif@pinkjuice.com writes:

I thought I told you a while ago:

In NN6.2, it’s all garbled:
http://www.pinkjuice.com/temp/prgrbnn6.png

Somehow the index.html comes as UTF-16 (though itself states to be
iso-8859-1) when I retrieve it directly with wget. Lynx, w3m, Opera
6.0, Konqueror and Mozilla 1.0 all get The Right Thing ™.

After downloading the XML source files (wget -m …), there are quite
some files in UTF-16 as well (though they state to be iso, too):

 builtins.xml.extra
 conv_index.txt
 forewordde.xml
 index.xml.extra.txt
 lib_network.txt
 tut_classes.xml.test
 tut_methods.xml.test

http://home.vr-web.de/juergen.katins/ruby/xml/convert.xsl gives “Not
Found”

Must be some windows filesystem issue, the file is there, but all uppercase:

 http://home.vr-web.de/juergen.katins/ruby/xml/CONVERT.XSL

I allowed to skim and tweak (indenting, some HTML corrections) the
convert.xsl (see appended file). Hopefully it still works for your
setup, I use xsltproc (libxslt 1.0.18).

Kind regards,
Sascha

convert.xsl (21.2 KB)

···


Avoid temporary variables and strange women.


(Wesley J Landaker) #6

Don’t know if this helps, but the page shown in your web browser in that
screen shoot is encoded in UTF-16 (multibyte, with the tell-tale
byte-order-mark).

(I’m not sure why your browser can’t handle UTF-16, though…)

···

On Friday 14 June 2002 08:47 am, Tobias Reif wrote:

Juergen Katins wrote:

Programmierung in Ruby Online is available now with a detailed
table of contents.
Furthermore the html links are at last working, at least the most
point even to the correct locations.
In addition now there is an index which but is yet half german half
english. http://home.vr-web.de/juergen.katins/ruby/index

I thought I told you a while ago:

In NN6.2, it’s all garbled:
http://www.pinkjuice.com/temp/prgrbnn6.png


Wesley J. Landaker - wjl@icecavern.net
OpenPGP FP: C99E DF40 54F6 B625 FD48 B509 A3DE 8D79 541F F830


(Juergen Katins) #7

“Tobias Reif” tobiasreif@pinkjuice.com schrieb im Newsbeitrag
news:3D0A0241.3000507@pinkjuice.com

In NN6.2, it’s all garbled:
http://www.pinkjuice.com/temp/prgrbnn6.png

There seems to be a problem with unicode. I don’t really understand it
completely but I hope
I have fixed it now. The HTML files should be all ASCII now.

and
http://home.vr-web.de/juergen.katins/ruby/xml/convert.xsl
gives “Not Found”

Sorry, I always forget to fix this damned Microsoft Windows automatic file
name upcasing.
I fixed it.

Juergen Katins


(Tobi Reif) #8

Ned Konz wrote:

Perhaps your browser is broken?

nerver had this, with any site.

Other NN6ers?

Tobi

···


http://www.pinkjuice.com/


(Tobi Reif) #9

Sascha Lüdecke wrote:

 http://home.vr-web.de/juergen.katins/ruby/xml/CONVERT.XSL

MIME Type sent is text/html; perhaps text/xml or application/xml+xslt
would be better, or, since it’s only there for viewing, text/plain.

Tobi

···


http://www.pinkjuice.com/


(Tobi Reif) #10

Sascha Lüdecke wrote:

Somehow the index.html comes as UTF-16 (though itself states to be
iso-8859-1)

That is an error AFAICS, which is the reason for the garbled view in NN6.

Must be some windows filesystem issue, the file is there, but all uppercase:

 http://home.vr-web.de/juergen.katins/ruby/xml/CONVERT.XSL

… so the link should be corrected.

Tobi

···


http://www.pinkjuice.com/


(Dave Thomas) #11

Tobias Reif tobiasreif@pinkjuice.com writes:

Perhaps your browser is broken?

nerver had this, with any site.

The content is broken - it’s two-byte characters, but the encoding’s
set wrong.

Dave


(Sean O'Dell) #12

Tobias Reif wrote:

Ned Konz wrote:

Perhaps your browser is broken?

nerver had this, with any site.

Other NN6ers?

Looks fine here on N6.2.

Sean

(Carlos) #13

Perhaps your browser is broken?

nerver had this, with any site.

Other NN6ers?

Mozilla 1.0RC2, lots of chinese (or japanese?) characters, question marks
and the “for all” symbol.

Strangely, I can see the source correctly. I’d say the problem is in the
CSS. (Just to say something.)


(Philip Mak) #14

Perhaps your browser is broken?

nerver had this, with any site.

The content is broken - it’s two-byte characters, but the encoding’s
set wrong.

Yeah, that’s what it looks like. The Netscape 6.2 screenshot
(http://www.pinkjuice.com/temp/prgrbnn6.png) shows hollow boxes with
every other character; that’s a telltale sign of Unicode. However, if
I view the headers for the URL
http://home.vr-web.de/juergen.katins/ruby/book/index.html this is what
I get:

$ telnet home.vr-web.de 80
Trying 195.243.197.45…
Connected to home.vr-web.de.
Escape character is ‘^]’.
HEAD /juergen.katins/ruby/book/index.html HTTP/1.1
Host: home.vr-web.de

HTTP/1.1 200 OK
Server: Apache/1.3.14 (Unix)
Content-Type: text/html

It says “Content-Type: text/html” without any mention of a two-byte
character encoding, so some web browsers get confused.

···

On Sat, Jun 15, 2002 at 01:25:01AM +0900, Dave Thomas wrote:
Date: Fri, 14 Jun 2002 18:42:39 GMT