lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

lynx-dev Support for link types in HTML 4.0


From: Masayasu Ishikawa
Subject: lynx-dev Support for link types in HTML 4.0
Date: Sun, 28 Feb 1999 15:58:52 +0900

Hi,

I tried Lynx 2.8.2 dev17, and it didn't recognize some link types
listed in "6.12 Link types" of the HTML 4.0 Specification [1].
Here's a patch for dev17 to support them.

[1] http://www.w3.org/TR/REC-html40/types.html#h-6.12

Regards,
-- 
Masayasu Ishikawa

--- lynx2-8-2/src/HTML.c.orig   Sat Feb 27 11:28:21 1999
+++ lynx2-8-2/src/HTML.c        Sat Feb 27 12:14:35 1999
@@ -1037,7 +1037,12 @@
                    !strcasecomp(value[HTML_LINK_REL], "Chapter") ||
                    !strcasecomp(value[HTML_LINK_REL], "Documentation") ||
                    !strcasecomp(value[HTML_LINK_REL], "Biblioentry") ||
-                   !strcasecomp(value[HTML_LINK_REL], "Bibliography")) {
+                   !strcasecomp(value[HTML_LINK_REL], "Bibliography") ||
+                   !strcasecomp(value[HTML_LINK_REL], "Alternate") ||
+                   !strcasecomp(value[HTML_LINK_REL], "Start") ||
+                   !strcasecomp(value[HTML_LINK_REL], "Section") ||
+                   !strcasecomp(value[HTML_LINK_REL], "Subsection") ||
+                   !strcasecomp(value[HTML_LINK_REL], "Appendix")) {
                    StrAllocCopy(title, value[HTML_LINK_REL]);
                } else {
                    CTRACE(tfp, "HTML: LINK with REL=\"%s\" ignored.\n",

reply via email to

[Prev in Thread] Current Thread [Next in Thread]