Easy question...
I've been tarting up an existing application, and thought I'd add a
'FAVICON' to the web pages (to display in the browser title bar, and
sit in the user's favoutites list... !
I’m probably missing something obvious, but couldn’t find what I
needed yet.
In the C code...
Associate and ‘import’ the file
#ximport "web/myicon.ico" myicon_ico
And this entry in the MIMETABLE
SSPEC_MIME(".ico", "image/x-icon")
The .ZHTML pages have this line added in the section
No compile or run-time errors
But as you can probably guess, the icon is not displayed...
Is it the wrong mime type, or something else I have misunderstood!
Suggestions or thoughts gratefully accepted?
MC
Icons / mime-types with Rabbitweb
Started by ●November 15, 2010
Reply by ●November 15, 20102010-11-15
I program works well with. Ico here I pass as I have in my program
Greetings from Argentina
#ximport "pages/warning.ico" warning_ico //Imagen Borrar
SSPEC_MIMETABLE_START SSPEC_MIME_FUNC(".zhtml", "text/html", zhtml_handler), SSPEC_MIME(".htm", "text/html"), SSPEC_MIME(".html", "text/html"), SSPEC_MIME(".css", "text/css"), SSPEC_MIME(".ico", "text/ico"), //Here file .ico SSPEC_MIMETABLE_END
codigo ZHTMLAlgo
--- El lun 15-nov-10, m...@SL4P.net escribió:
De: m...@SL4P.net
Asunto: [rabbit-semi] Icons / mime-types with Rabbitweb
Para: r...
Fecha: lunes, 15 de noviembre de 2010, 12:41
Easy question...
I've been tarting up an existing application, and thought I'd add a 'FAVICON' to the web pages (to display in the browser title bar, and sit in the user's favoutites list... !
I’m probably missing something obvious, but couldn’t find what I needed yet.
In the C code...
Associate and ‘import’ the file
#ximport "web/myicon.ico" myicon_ico
And this entry in the MIMETABLE
SSPEC_MIME(".ico", "image/x-icon")
The .ZHTML pages have this line added in the section
No compile or run-time errors
But as you can probably guess, the icon is not displayed...
Is it the wrong mime type, or something else I have misunderstood!
Suggestions or thoughts gratefully accepted?
MC
Yahoo! Groups Links
Greetings from Argentina
#ximport "pages/warning.ico" warning_ico //Imagen Borrar
SSPEC_MIMETABLE_START SSPEC_MIME_FUNC(".zhtml", "text/html", zhtml_handler), SSPEC_MIME(".htm", "text/html"), SSPEC_MIME(".html", "text/html"), SSPEC_MIME(".css", "text/css"), SSPEC_MIME(".ico", "text/ico"), //Here file .ico SSPEC_MIMETABLE_END
codigo ZHTMLAlgo
--- El lun 15-nov-10, m...@SL4P.net escribió:
De: m...@SL4P.net
Asunto: [rabbit-semi] Icons / mime-types with Rabbitweb
Para: r...
Fecha: lunes, 15 de noviembre de 2010, 12:41
Easy question...
I've been tarting up an existing application, and thought I'd add a 'FAVICON' to the web pages (to display in the browser title bar, and sit in the user's favoutites list... !
I’m probably missing something obvious, but couldn’t find what I needed yet.
In the C code...
Associate and ‘import’ the file
#ximport "web/myicon.ico" myicon_ico
And this entry in the MIMETABLE
SSPEC_MIME(".ico", "image/x-icon")
The .ZHTML pages have this line added in the section
No compile or run-time errors
But as you can probably guess, the icon is not displayed...
Is it the wrong mime type, or something else I have misunderstood!
Suggestions or thoughts gratefully accepted?
MC
Yahoo! Groups Links
Reply by ●November 15, 20102010-11-15
I don't know if it matters, but according to WIkipedia,
"The official IANA-registered MIME type for .ICO files is image/vnd.microsoft.icon"
-Tom
http://en.wikipedia.org/wiki/ICO_(file_format)
On Nov 15, 2010, at 8:01 AM, Pablo Martinez wrote:
> SSPEC_MIME(".ico", "text/ico"), //Here file .ico
>
"The official IANA-registered MIME type for .ICO files is image/vnd.microsoft.icon"
-Tom
http://en.wikipedia.org/wiki/ICO_(file_format)
On Nov 15, 2010, at 8:01 AM, Pablo Martinez wrote:
> SSPEC_MIME(".ico", "text/ico"), //Here file .ico
>
Reply by ●November 15, 20102010-11-15
Thanks guys -
Sorted out now!
MC
From: r... [mailto:r...] On
Behalf Of Tom Collins
Sent: Tuesday, 16 November 2010 03:31
To: r...
Subject: Re: [rabbit-semi] Icons / mime-types with Rabbitweb
I don't know if it matters, but according to WIkipedia,
"The official
IANA-registered MIME type for .ICO
files is image/vnd.microsoft.icon"
-Tom
http://en.wikipedia.org/wiki/ICO_(file_format)
On Nov 15, 2010, at 8:01 AM, Pablo Martinez wrote:
SSPEC_MIME(".ico", "text/ico"), //Here file .ico
Sorted out now!
MC
From: r... [mailto:r...] On
Behalf Of Tom Collins
Sent: Tuesday, 16 November 2010 03:31
To: r...
Subject: Re: [rabbit-semi] Icons / mime-types with Rabbitweb
I don't know if it matters, but according to WIkipedia,
"The official
IANA-registered MIME type for .ICO
files is image/vnd.microsoft.icon"
-Tom
http://en.wikipedia.org/wiki/ICO_(file_format)
On Nov 15, 2010, at 8:01 AM, Pablo Martinez wrote:
SSPEC_MIME(".ico", "text/ico"), //Here file .ico