POV-Ray : Newsgroups : povray.competition : HTML in long description Server Time: 29 Sep 2020 21:09:03 GMT
  HTML in long description (Message 1 to 10 of 10)  
From: dan B hentschel
Subject: HTML in long description
Date: 11 Oct 2004 20:45:00
Message: <web.416af07075adcb9aa3fcf12a0@news.povray.org>
I am having difficulty posting my long description. The HTML in it is
getting all munged. Here is an example.

I post:

a &lt;a href='http://www.povray.org'&gt;familiar logo&lt;/a&gt; in it

It ends up as:

 &lt;a&gt;familiar logo&lt;/a&amp;gt; in it
From: Thorsten Froehlich
Subject: Re: HTML in long description
Date: 11 Oct 2004 21:01:07
Message: <416af493$1@news.povray.org>
In article <web.416af07075adcb9aa3fcf12a0@news.povray.org> , "dan B 
hentschel" <dan### [at] alumritedu> wrote:

> a &lt;a href='http://www.povray.org'&gt;familiar logo&lt;/a&gt; in it

This is not valid HTML.  You cannot encode the HTML tag markers < and >.
The following is valid HTML:

    a <a href="http://www.povray.org">familiar logo</a>;


Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org
From: dan B hentschel
Subject: Re: HTML in long description
Date: 11 Oct 2004 23:40:00
Message: <web.416b191de71a5484b31e6d870@news.povray.org>
Ooops... I thought that these news forums supported HTML, and so I thought I
would need to escape the <>'s in order to post my example here. I did not
actually type "&gt;" into the submission form. Let's do this again. Here is
what happened to me.

I type:

a <a href='http://www.povray.org'>familiar logo</a> in it

It ends up as:

 <a>familiar logo</a&gt; in it

This seems to be very repeatable. Sorry for the confusion. Please let me
know if I have cleared it up.

 - dan B hentschel
From: Slime
Subject: Re: HTML in long description
Date: 12 Oct 2004 00:53:21
Message: <416b2b01$1@news.povray.org>
> a <a href='http://www.povray.org'>familiar logo</a> in it

HTML requires double quotes, that's probably at least part of what's going
wrong.

(Most browsers seem to ignore this fact, but apparently the submission
script (correctly) does not.)

 - Slime
 [ http://www.slimeland.com/ ]
From: Slime
Subject: Re: HTML in long description
Date: 12 Oct 2004 00:58:40
Message: <416b2c40$1@news.povray.org>
> HTML requires double quotes

I take it back; HTML 4.1 allows single quotes:

http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2

and even XHTML doesn't seem to change this.

Regardless, the submission script probably expects double quotes.

 - Slime
 [ http://www.slimeland.com/ ]
From: dan B hentschel
Subject: Re: HTML in long description
Date: 12 Oct 2004 03:00:01
Message: <web.416b479ae71a5484b31e6d870@news.povray.org>
"Slime" <fak### [at] emailaddress> wrote:

> Regardless, the submission script probably expects double quotes.


Well, that improves things. Here's what I get now.

a <a href="http://www.povray.org">familiar logo</a> in it,

goes to:

a <a href="http://www.povray.org">familiar logo</a&gt; in it,

Still isn't working exactly right, though. Also, since this is the case
(that single quotes are not recognized properly) I would recommend changing
the text on the member profile page. The instructions beside the
"background" box state:

Permitted HTML tags are <p>, <br>, <i>, <u>, and <a href='...'>.

This is why I decided to use single quotes. Otherwise, I normally use double
quotes. I checked, and my link in my background text was also mangled,
although differently.

<a  href='http://www.hentschels.com'>Hentschels.com</a>.

goes to:

<a  href="'http://www.hentschels.com'>Hentschels.com.

Once I changed this to double quotes, this particular link seems to be
accepted properly.

 - dan B hentschel
From: Oleguer Vilella
Subject: Re: HTML in long description
Date: 12 Oct 2004 20:52:45
Message: <416c441d$1@news.povray.org>
Why this code as a long description? Is a web page that you have this
description?

Regards,
Oleguer


"dan B hentschel" <dan### [at] alumritedu> escribió en el mensaje
news:web.416b479ae71a5484b31e6d870@news.povray.org...
> "Slime" <fak### [at] emailaddress> wrote:
>
> > Regardless, the submission script probably expects double quotes.
>
>
> Well, that improves things. Here's what I get now.
>
> a <a href="http://www.povray.org">familiar logo</a> in it,
>
> goes to:
>
> a <a href="http://www.povray.org">familiar logo</a&gt; in it,
>
> Still isn't working exactly right, though. Also, since this is the case
> (that single quotes are not recognized properly) I would recommend
changing
> the text on the member profile page. The instructions beside the
> "background" box state:
>
> Permitted HTML tags are <p>, <br>, <i>, <u>, and <a href='...'>.
>
> This is why I decided to use single quotes. Otherwise, I normally use
double
> quotes. I checked, and my link in my background text was also mangled,
> although differently.
>
> <a  href='http://www.hentschels.com'>Hentschels.com</a>.
>
> goes to:
>
> <a  href="'http://www.hentschels.com'>Hentschels.com.
>
> Once I changed this to double quotes, this particular link seems to be
> accepted properly.
>
>  - dan B hentschel
>
>
From: dan B hentschel
Subject: Re: HTML in long description
Date: 13 Oct 2004 03:30:00
Message: <web.416ca103e71a5484b31e6d870@news.povray.org>
"Oleguer Vilella" <ole### [at] infonegociocom> wrote:
> Why this code as a long description? Is a web page that you have this
> description?

No, I simply wanted to provide links to other pages to give some background
on my image. If that is not possible, then I will remove the links. Not a
big problem. I just figured that since the capability was advertised, I
might as well make use of it.

 - dan B hentschel
From: j
Subject: Re: HTML in long description
Date: 13 Oct 2004 03:45:01
Message: <web.416ca485e71a5484d9d669a00@news.povray.org>
Hi,

Will this long description be available to the judges as well? If so,
perhaps it's not suitable to allow links where people can link to their
websites, thus voiding the idea of staying anonymous.

Regards,
Johnny

"Oleguer Vilella" <ole### [at] infonegociocom> wrote:
> Why this code as a long description? Is a web page that you have this
> description?
>
> Regards,
> Oleguer
>
>
> "dan B hentschel" <dan### [at] alumritedu> escribió en el mensaje
> news:web.416b479ae71a5484b31e6d870@news.povray.org...
> > "Slime" <fak### [at] emailaddress> wrote:
> >
> > > Regardless, the submission script probably expects double quotes.
> >
> >
> > Well, that improves things. Here's what I get now.
> >
> > a <a href="http://www.povray.org">familiar logo</a> in it,
> >
> > goes to:
> >
> > a <a href="http://www.povray.org">familiar logo</a&gt; in it,
> >
> > Still isn't working exactly right, though. Also, since this is the case
> > (that single quotes are not recognized properly) I would recommend
> changing
> > the text on the member profile page. The instructions beside the
> > "background" box state:
> >
> > Permitted HTML tags are <p>, <br>, <i>, <u>, and <a href='...'>.
> >
> > This is why I decided to use single quotes. Otherwise, I normally use
> double
> > quotes. I checked, and my link in my background text was also mangled,
> > although differently.
> >
> > <a  href='http://www.hentschels.com'>Hentschels.com</a>.
> >
> > goes to:
> >
> > <a  href="'http://www.hentschels.com'>Hentschels.com.
> >
> > Once I changed this to double quotes, this particular link seems to be
> > accepted properly.
> >
> >  - dan B hentschel
> >
> >
From: Oleguer Vilella
Subject: Re: HTML in long description
Date: 13 Oct 2004 18:57:25
Message: <416d7a95@news.povray.org>
Ah, ok, thank you.

Regards,
Oleguer

"dan B hentschel" <dan### [at] alumritedu> escribió en el mensaje
news:web.416ca103e71a5484b31e6d870@news.povray.org...
> "Oleguer Vilella" <ole### [at] infonegociocom> wrote:
> > Why this code as a long description? Is a web page that you have this
> > description?
>
> No, I simply wanted to provide links to other pages to give some
background
> on my image. If that is not possible, then I will remove the links. Not a
> big problem. I just figured that since the capability was advertised, I
> might as well make use of it.
>
>  - dan B hentschel
>
>
>

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.