markup_validity 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) hide show
  1. data/CHANGELOG.rdoc +10 -0
  2. data/Manifest.txt +88 -0
  3. data/Rakefile +7 -11
  4. data/lib/markup_validity.rb +1 -1
  5. data/lib/markup_validity/MarkUp.html +1095 -0
  6. data/lib/markup_validity/SCHEMA.html +90 -0
  7. data/lib/markup_validity/assertions.rb +8 -1
  8. data/lib/markup_validity/examples.html +25 -0
  9. data/lib/markup_validity/rspec.rb +19 -0
  10. data/lib/markup_validity/templates.html +15 -0
  11. data/lib/markup_validity/validator.rb +27 -1
  12. data/lib/markup_validity/xframes-1.xsd +166 -0
  13. data/lib/markup_validity/xhtml-access-1.xsd +43 -0
  14. data/lib/markup_validity/xhtml-applet-1.xsd +66 -0
  15. data/lib/markup_validity/xhtml-attribs-1.xsd +67 -0
  16. data/lib/markup_validity/xhtml-base-1.xsd +31 -0
  17. data/lib/markup_validity/xhtml-basic-form-1.xsd +195 -0
  18. data/lib/markup_validity/xhtml-basic-table-1.xsd +169 -0
  19. data/lib/markup_validity/xhtml-basic10-model-1.xsd +385 -0
  20. data/lib/markup_validity/xhtml-basic10-module-redefines-1.xsd +61 -0
  21. data/lib/markup_validity/xhtml-basic10-modules-1.xsd +233 -0
  22. data/lib/markup_validity/xhtml-basic10.xsd +99 -0
  23. data/lib/markup_validity/xhtml-basic11-model-1.xsd +622 -0
  24. data/lib/markup_validity/xhtml-basic11-modules-1.xsd +508 -0
  25. data/lib/markup_validity/xhtml-basic11.xsd +105 -0
  26. data/lib/markup_validity/xhtml-bdo-1.xsd +72 -0
  27. data/lib/markup_validity/xhtml-blkphras-1.xsd +155 -0
  28. data/lib/markup_validity/xhtml-blkpres-1.xsd +32 -0
  29. data/lib/markup_validity/xhtml-blkstruct-1.xsd +44 -0
  30. data/lib/markup_validity/xhtml-charent-1.xsd +38 -0
  31. data/lib/markup_validity/xhtml-copyright-1.xsd +29 -0
  32. data/lib/markup_validity/xhtml-csismap-1.xsd +91 -0
  33. data/lib/markup_validity/xhtml-datatypes-1.xsd +177 -0
  34. data/lib/markup_validity/xhtml-edit-1.xsd +34 -0
  35. data/lib/markup_validity/xhtml-events-1.xsd +130 -0
  36. data/lib/markup_validity/xhtml-form-1.xsd +321 -0
  37. data/lib/markup_validity/xhtml-frames-1.xsd +113 -0
  38. data/lib/markup_validity/xhtml-framework-1.xsd +62 -0
  39. data/lib/markup_validity/xhtml-hypertext-1.xsd +47 -0
  40. data/lib/markup_validity/xhtml-iframe-1.xsd +68 -0
  41. data/lib/markup_validity/xhtml-image-1.xsd +40 -0
  42. data/lib/markup_validity/xhtml-inlphras-1.xsd +158 -0
  43. data/lib/markup_validity/xhtml-inlpres-1.xsd +34 -0
  44. data/lib/markup_validity/xhtml-inlstruct-1.xsd +45 -0
  45. data/lib/markup_validity/xhtml-inlstyle-1.xsd +22 -0
  46. data/lib/markup_validity/xhtml-inputmode-1.xsd +35 -0
  47. data/lib/markup_validity/xhtml-lat1.ent +196 -0
  48. data/lib/markup_validity/xhtml-legacy-1.xsd +97 -0
  49. data/lib/markup_validity/xhtml-link-1.xsd +45 -0
  50. data/lib/markup_validity/xhtml-list-1.xsd +94 -0
  51. data/lib/markup_validity/xhtml-meta-1.xsd +54 -0
  52. data/lib/markup_validity/xhtml-metaAttributes-1.xsd +39 -0
  53. data/lib/markup_validity/xhtml-misc-1.xsd +441 -0
  54. data/lib/markup_validity/xhtml-nameident-1.xsd +63 -0
  55. data/lib/markup_validity/xhtml-notations-1.xsd +69 -0
  56. data/lib/markup_validity/xhtml-object-1.xsd +71 -0
  57. data/lib/markup_validity/xhtml-param-1.xsd +46 -0
  58. data/lib/markup_validity/xhtml-pres-1.xsd +46 -0
  59. data/lib/markup_validity/xhtml-print-1.xsd +85 -0
  60. data/lib/markup_validity/xhtml-print-model-1.xsd +604 -0
  61. data/lib/markup_validity/xhtml-print-modules-1.xsd +422 -0
  62. data/lib/markup_validity/xhtml-rdfa-1.dtd +438 -0
  63. data/lib/markup_validity/xhtml-rdfa-1.xsd +116 -0
  64. data/lib/markup_validity/xhtml-rdfa-model-1.xsd +461 -0
  65. data/lib/markup_validity/xhtml-rdfa-modules-1.xsd +548 -0
  66. data/lib/markup_validity/xhtml-ruby-1.xsd +170 -0
  67. data/lib/markup_validity/xhtml-ruby-basic-1.xsd +84 -0
  68. data/lib/markup_validity/xhtml-script-1.xsd +65 -0
  69. data/lib/markup_validity/xhtml-special.ent +80 -0
  70. data/lib/markup_validity/xhtml-ssismap-1.xsd +38 -0
  71. data/lib/markup_validity/xhtml-struct-1.xsd +85 -0
  72. data/lib/markup_validity/xhtml-style-1.xsd +47 -0
  73. data/lib/markup_validity/xhtml-symbol.ent +237 -0
  74. data/lib/markup_validity/xhtml-table-1.xsd +267 -0
  75. data/lib/markup_validity/xhtml-target-1.xsd +49 -0
  76. data/lib/markup_validity/xhtml-text-1.xsd +62 -0
  77. data/lib/markup_validity/xhtml1-strict.dtd +978 -0
  78. data/lib/markup_validity/xhtml1-transitional.dtd +1201 -0
  79. data/lib/markup_validity/xhtml11-model-1.xsd +715 -0
  80. data/lib/markup_validity/xhtml11-module-redefines-1.xsd +335 -0
  81. data/lib/markup_validity/xhtml11-modules-1.xsd +605 -0
  82. data/lib/markup_validity/xhtml11.xsd +107 -0
  83. data/lib/markup_validity/xhtml2.xsd +21 -0
  84. data/lib/markup_validity/xml-events-1.xsd +73 -0
  85. data/lib/markup_validity/xml-events-2.xsd +73 -0
  86. data/lib/markup_validity/xml-events-attribs-1.xsd +73 -0
  87. data/lib/markup_validity/xml-events-attribs-2.xsd +75 -0
  88. data/lib/markup_validity/xml-events-copyright-1.xsd +34 -0
  89. data/lib/markup_validity/xml-events-copyright-2.xsd +34 -0
  90. data/lib/markup_validity/xml-handlers-1.xsd +136 -0
  91. data/lib/markup_validity/xml-handlers-2.xsd +98 -0
  92. data/lib/markup_validity/xml-script-1.xsd +38 -0
  93. data/spec/matcher_spec.rb +8 -0
  94. data/test/assets/invalid_entity.xhtml +109 -0
  95. data/test/assets/invalid_entity_transitional.xhtml +109 -0
  96. data/test/helper.rb +48 -0
  97. data/test/test_markup_validity.rb +19 -0
  98. metadata +90 -3
@@ -0,0 +1,34 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ targetNamespace="http://www.w3.org/2001/xml-events"
4
+ xmlns="http://www.w3.org/2001/xml-events"
5
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
6
+ elementFormDefault="unqualified"
7
+ blockDefault="#all"
8
+ finalDefault="#all"
9
+ attributeFormDefault="unqualified">
10
+
11
+ <xs:annotation>
12
+ <xs:documentation>
13
+ This is XML Events, a generalized event model for XML-based
14
+ markup languages.
15
+
16
+ Copyright 2001-2007 World Wide Web Consortium
17
+ (Massachusetts Institute of Technology, European Research
18
+ Consortium for Informatics and Mathematics, Keio University).
19
+ All Rights Reserved.
20
+
21
+ Permission to use, copy, modify and distribute the
22
+ XML Events Schema modules and their accompanying xs:documentation
23
+ for any purpose and without fee is hereby granted in perpetuity,
24
+ provided that the above copyright notice and this paragraph appear
25
+ in all copies.
26
+
27
+ The copyright holders make no representation about the suitability of
28
+ these XML Schema modules for any purpose.
29
+
30
+ They are provided "as is" without expressed or implied warranty.
31
+ </xs:documentation>
32
+ </xs:annotation>
33
+
34
+ </xs:schema>
@@ -0,0 +1,136 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ targetNamespace="http://www.w3.org/2001/xml-events"
4
+ xmlns="http://www.w3.org/2001/xml-events"
5
+ xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
6
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema
9
+ http://www.w3.org/2001/XMLSchema.xsd"
10
+ elementFormDefault="unqualified"
11
+ blockDefault="#all"
12
+ finalDefault="#all"
13
+ attributeFormDefault="unqualified">
14
+
15
+ <xs:annotation>
16
+ <xs:documentation>
17
+ This is the XML Schema for XML Handlers
18
+
19
+ URI: http://www.w3.org/MarkUp/SCHEMA/xml-handlers-1.xsd
20
+ $Id: xml-handlers-1.xsd,v 1.1 2008/06/25 14:36:29 smccarro Exp $
21
+ </xs:documentation>
22
+ <xs:documentation source="xml-events-copyright-2.xsd"/>
23
+ </xs:annotation>
24
+
25
+ <xs:attributeGroup name="action.attlist">
26
+ <xs:attribute name="event" use="required" type="xs:QName"/>
27
+ <xs:attribute name="targetid" type="xs:IDREF"/>
28
+ <xs:attribute name="declare">
29
+ <xs:simpleType>
30
+ <xs:restriction base="xs:NMTOKEN">
31
+ <xs:enumeration value="declare"/>
32
+ </xs:restriction>
33
+ </xs:simpleType>
34
+ </xs:attribute>
35
+ <xs:attribute name="if" type="xs:normalizedString"/>
36
+ <xs:attribute name="while" type="xs:normalizedString"/>
37
+ <xs:attribute name="id" type="xs:ID"/>
38
+ </xs:attributeGroup>
39
+
40
+ <xs:complexType name="action.type">
41
+ <xs:attributeGroup ref="action.attlist"/>
42
+ </xs:complexType>
43
+
44
+ <xs:element name="action" type="action.type"/>
45
+
46
+ <xs:attributeGroup name="dispatchEvent.attlist">
47
+ <xs:attribute name="raise" type="xs:QName"/>
48
+ <xs:attribute name="to" type="xs:IDREF"/>
49
+ <xs:attribute name="bubbles">
50
+ <xs:simpleType>
51
+ <xs:restriction base="xs:NMTOKEN">
52
+ <xs:enumeration value="bubbles"/>
53
+ </xs:restriction>
54
+ </xs:simpleType>
55
+ </xs:attribute>
56
+ <xs:attribute name="cancelable">
57
+ <xs:simpleType>
58
+ <xs:restriction base="xs:NMTOKEN">
59
+ <xs:enumeration value="cancelable"/>
60
+ </xs:restriction>
61
+ </xs:simpleType>
62
+ </xs:attribute>
63
+ <xs:attribute name="id" type="xs:ID"/>
64
+ </xs:attributeGroup>
65
+
66
+ <xs:complexType name="dispatchEvent.type">
67
+ <xs:attributeGroup ref="dispatchEvent.attlist"/>
68
+ </xs:complexType>
69
+
70
+ <xs:element name="dispatchEvent" type="dispatchEvent.type"/>
71
+
72
+ <xs:attributeGroup name="addEventListener.attlist">
73
+ <xs:attribute name="event" use="required" type="xs:QName"/>
74
+ <xs:attribute name="handler" use="required" type="xs:IDREF"/>
75
+ <xs:attribute name="phase" default="default">
76
+ <xs:simpleType>
77
+ <xs:restriction base="xs:NMTOKEN">
78
+ <xs:enumeration value="bubble"/>
79
+ <xs:enumeration value="capture"/>
80
+ <xs:enumeration value="default"/>
81
+ <xs:enumeration value="target"/>
82
+ </xs:restriction>
83
+ </xs:simpleType>
84
+ </xs:attribute>
85
+ <xs:attribute name="id" type="xs:ID"/>
86
+ </xs:attributeGroup>
87
+
88
+ <xs:complexType name="addEventListener.type">
89
+ <xs:attributeGroup ref="addEventListener.attlist"/>
90
+ </xs:complexType>
91
+
92
+ <xs:element name="addEventListener" type="addEventListener.type"/>
93
+
94
+ <xs:attributeGroup name="removeEventListener.attlist">
95
+ <xs:attribute name="event" use="required" type="xs:QName"/>
96
+ <xs:attribute name="handler" use="required" type="xs:IDREF"/>
97
+ <xs:attribute name="phase" default="default">
98
+ <xs:simpleType>
99
+ <xs:restriction base="xs:NMTOKEN">
100
+ <xs:enumeration value="bubble"/>
101
+ <xs:enumeration value="capture"/>
102
+ <xs:enumeration value="default"/>
103
+ <xs:enumeration value="target"/>
104
+ </xs:restriction>
105
+ </xs:simpleType>
106
+ </xs:attribute>
107
+ <xs:attribute name="id" type="xs:ID"/>
108
+ </xs:attributeGroup>
109
+ <xs:complexType name="removeEventListener.type">
110
+ <xs:attributeGroup ref="removeEventListener.attlist"/>
111
+ </xs:complexType>
112
+
113
+ <xs:element name="removeEventListener" type="removeEventListener.type"/>
114
+
115
+ <xs:attributeGroup name="stopPropagation.attlist">
116
+ <xs:attribute name="event" use="required" type="xs:QName"/>
117
+ <xs:attribute name="id" type="xs:ID"/>
118
+ </xs:attributeGroup>
119
+
120
+ <xs:complexType name="stopPropagation.type">
121
+ <xs:attributeGroup ref="stopPropagation.attlist"/>
122
+ </xs:complexType>
123
+
124
+ <xs:element name="stopPropagation" type="stopPropagation.type"/>
125
+
126
+ <xs:attributeGroup name="preventDefault.attlist">
127
+ <xs:attribute name="event" use="required" type="xs:QName"/>
128
+ <xs:attribute name="id" type="xs:ID"/>
129
+ </xs:attributeGroup>
130
+
131
+ <xs:complexType name="preventDefault.type">
132
+ <xs:attributeGroup ref="preventDefault.attlist"/>
133
+ </xs:complexType>
134
+
135
+ <xs:element name="preventDefault" type="stopPropagation.type"/>
136
+ </xs:schema>
@@ -0,0 +1,98 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ targetNamespace="http://www.w3.org/2001/xml-events"
4
+ xmlns="http://www.w3.org/2001/xml-events"
5
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
6
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
7
+ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema
8
+ http://www.w3.org/2001/XMLSchema.xsd"
9
+ elementFormDefault="unqualified"
10
+ blockDefault="#all"
11
+ finalDefault="#all"
12
+ attributeFormDefault="unqualified">
13
+
14
+ <xs:annotation>
15
+ <xs:documentation>
16
+ This is the XML Schema for XML Events
17
+
18
+ URI: http://www.w3.org/MarkUp/SCHEMA/xml-handlers-2.xsd
19
+ $Id: xml-handlers-2.xsd,v 1.1 2007/02/15 23:03:14 jean-gui Exp $
20
+ </xs:documentation>
21
+ <xs:documentation source="xml-events-copyright-2.xsd"/>
22
+ </xs:annotation>
23
+
24
+ <xs:attributeGroup name="action.attlist">
25
+ <xs:attribute name="event" use="required" type="xs:NMTOKEN"/>
26
+ <xs:attribute name="observer" type="xs:IDREF"/>
27
+ <xs:attribute name="target" type="xs:IDREF"/>
28
+ <xs:attribute name="handler" type="xs:anyURI"/>
29
+ <xs:attribute name="condition" type="xs:normalizedString"/>
30
+ <xs:attribute name="phase" default="default">
31
+ <xs:simpleType>
32
+ <xs:restriction base="xs:NMTOKEN">
33
+ <xs:enumeration value="capture"/>
34
+ <xs:enumeration value="default"/>
35
+ </xs:restriction>
36
+ </xs:simpleType>
37
+ </xs:attribute>
38
+ <xs:attribute name="propagate" default="continue">
39
+ <xs:simpleType>
40
+ <xs:restriction base="xs:NMTOKEN">
41
+ <xs:enumeration value="stop"/>
42
+ <xs:enumeration value="continue"/>
43
+ </xs:restriction>
44
+ </xs:simpleType>
45
+ </xs:attribute>
46
+ <xs:attribute name="defaultAction" default="perform">
47
+ <xs:simpleType>
48
+ <xs:restriction base="xs:NMTOKEN">
49
+ <xs:enumeration value="cancel"/>
50
+ <xs:enumeration value="perform"/>
51
+ </xs:restriction>
52
+ </xs:simpleType>
53
+ </xs:attribute>
54
+ <xs:attribute name="id" type="xs:ID"/>
55
+ </xs:attributeGroup>
56
+
57
+ <xs:complexType name="action.type">
58
+ <xs:attributeGroup ref="action.attlist"/>
59
+ </xs:complexType>
60
+
61
+ <xs:element name="action" type="action.type"/>
62
+
63
+ <xs:complexType name="script.type">
64
+ <xs:attributeGroup ref="script.attlist"/>
65
+ </xs:complexType>
66
+
67
+ <xs:element name="script" type="script.type"/>
68
+
69
+ <xs:complexType name="dispatchEvent.type">
70
+ <xs:attributeGroup ref="dispatchEvent.attlist"/>
71
+ </xs:complexType>
72
+
73
+ <xs:element name="dispatchEvent" type="dispatchEvent.type"/>
74
+
75
+ <xs:complexType name="addEventListener.type">
76
+ <xs:attributeGroup ref="addEventListener.attlist"/>
77
+ </xs:complexType>
78
+
79
+ <xs:element name="addEventListener" type="addEventListener.type"/>
80
+
81
+ <xs:complexType name="removeEventListener.type">
82
+ <xs:attributeGroup ref="removeEventListener.attlist"/>
83
+ </xs:complexType>
84
+
85
+ <xs:element name="removeEventListener" type="removeEventListener.type"/>
86
+
87
+ <xs:complexType name="stopPropagation.type">
88
+ <xs:attributeGroup ref="stopPropagation.attlist"/>
89
+ </xs:complexType>
90
+
91
+ <xs:element name="stopPropagation" type="stopPropagation.type"/>
92
+
93
+ <xs:complexType name="preventDefault.type">
94
+ <xs:attributeGroup ref="preventDefault.attlist"/>
95
+ </xs:complexType>
96
+
97
+ <xs:element name="preventDefault" type="stopPropagation.type"/>
98
+ </xs:schema>
@@ -0,0 +1,38 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xs:schema
3
+ targetNamespace="http://www.w3.org/2001/xml-events"
4
+ xmlns="http://www.w3.org/2001/xml-events"
5
+ xmlns:xh11d="http://www.w3.org/1999/xhtml/datatypes/"
6
+ xmlns:xs="http://www.w3.org/2001/XMLSchema"
7
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
8
+ xsi:schemaLocation="http://www.w3.org/2001/XMLSchema
9
+ http://www.w3.org/2001/XMLSchema.xsd"
10
+ elementFormDefault="unqualified"
11
+ blockDefault="#all"
12
+ finalDefault="#all"
13
+ attributeFormDefault="unqualified">
14
+
15
+ <xs:annotation>
16
+ <xs:documentation>
17
+ This is the XML Schema for XML Scripting
18
+
19
+ URI: http://www.w3.org/MarkUp/SCHEMA/xml-script-1.xsd
20
+ $Id: xml-script-1.xsd,v 1.1 2008/06/25 14:36:34 smccarro Exp $
21
+ </xs:documentation>
22
+ <xs:documentation source="xml-events-copyright-2.xsd"/>
23
+ </xs:annotation>
24
+
25
+ <xs:attributeGroup name="script.attlist">
26
+ <xs:attribute name="encoding" type="xh11d:Charset"/>
27
+ <xs:attribute name="implements" type="xh11d:URIorSafeCURIEs"/>
28
+ <xs:attribute name="src" type="xs:anyURI"/>
29
+ <xs:attribute name="type" type="xh11d:ContentTypes"/>
30
+ <xs:attribute name="id" type="xs:ID"/>
31
+ </xs:attributeGroup>
32
+
33
+ <xs:complexType name="script.type">
34
+ <xs:attributeGroup ref="script.attlist"/>
35
+ </xs:complexType>
36
+
37
+ <xs:element name="script" type="script.type"/>
38
+ </xs:schema>
@@ -26,6 +26,14 @@ module Spec
26
26
  Matchers.invalid_document.should_not be_xhtml_strict
27
27
  end
28
28
 
29
+ it "is xhtml+rdfa" do
30
+ Matchers.valid_document.should be_xhtml_rdfa
31
+ end
32
+
33
+ it "is no xhtml+rdfa" do
34
+ Matchers.invalid_document.should_not be_xhtml_rdfa
35
+ end
36
+
29
37
  XSD = File.read(
30
38
  File.expand_path(
31
39
  File.join(File.dirname(__FILE__),'..','test','assets','shipment.xsd')
@@ -0,0 +1,109 @@
1
+ <?xml version="1.0"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
6
+ <title>Welcome. It's crantastic!</title>
7
+
8
+ <link href="/stylesheets/application.css?1245016196" media="screen, projection" rel="stylesheet" type="text/css" />
9
+ <link href="/stylesheets/jquery.rating.css?1245016196" media="screen, projection" rel="stylesheet" type="text/css" />
10
+ <link href="/stylesheets/print.css?1245016196" media="print" rel="stylesheet" type="text/css" />
11
+ <!--[if IE]>
12
+ <link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
13
+ <![endif]-->
14
+
15
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script> <script src="/javascripts/jquery.livequery.js?1245016196" type="text/javascript"></script>
16
+ <script src="/javascripts/jquery.MetaData.js?1245016196" type="text/javascript"></script>
17
+ <script src="/javascripts/jquery.delayedObserver.js?1245016196" type="text/javascript"></script>
18
+ <script src="/javascripts/jquery.rating.pack.js?1245016196" type="text/javascript"></script>
19
+ <script src="/javascripts/jquery.validate.pack.js?1245016196" type="text/javascript"></script>
20
+ <script src="/javascripts/application.js?1245016196" type="text/javascript"></script> <script type="text/javascript">
21
+ //<![CDATA[
22
+ window.AUTH_TOKEN = '0VzQJqzXsuP5dw0Etja9QAsM58pR/e2PAdNJHSpuvJ8=';
23
+ //]]>
24
+
25
+ </script>
26
+
27
+
28
+ <meta name="verify-v1" content="YtXicWGGldm5yUfU718DJMAreQ9gf2gtsSCe5VysH10=" />
29
+ </head>
30
+ <body>
31
+
32
+ <div id="container">
33
+ <div id="main">
34
+
35
+ <p>
36
+ Welcome to crantastic, a community site for R packages where you
37
+ can search for, review and tag CRAN packages.
38
+ </p>
39
+ <!-- <h2>What's happening?</h2>
40
+ <p>List of events (ratings?, versions, tags, users?)</p> -->
41
+
42
+ </div>
43
+
44
+ <div id="sidebar">
45
+ <h1 class="title"><a href="/">crantastic!</a></h1>
46
+
47
+ <div class="box">
48
+ <ul>
49
+ <li><a href="/packages">Packages</a></li>
50
+ <li><a href="/authors">Authors</a></li>
51
+
52
+ <li><a href="/reviews">Reviews</a></li>
53
+ <li><a href="/tags">Tags</a></li>
54
+ </ul>
55
+ </div>
56
+
57
+ <div id="search-box" class="box">
58
+ <form action="/search" method="get"> <p style="margin: 0;"><input id="q" name="q" type="text" />
59
+
60
+ <input name="commit" type="submit" value="Search" /></p>
61
+ </form> </div>
62
+
63
+ <div class="box">
64
+ <form action="/session/new" method="get"> <p style="margin: 0;">
65
+ <input name="commit" type="submit" value="Log in" />&nbsp; or &nbsp;<a href="/signup">Sign up!</a>
66
+ </p>
67
+
68
+ </form> </div>
69
+ </div>
70
+
71
+ <div id="footer">
72
+ <p>Brought to you by <a href="http://had.co.nz">Hadley Wickham</a>
73
+ and <a href="http://chrononaut.net/">Bj&oslash;rn M&aelig;land</a>.
74
+ Like it? Hate it? Let me know at
75
+ <a href="mailto:cranatic@gmail.com">cranatic@gmail.com</a>.
76
+ <a href="http://crantastic.org/about">About crantastic</a>.</p>
77
+
78
+ </div>
79
+ </div>
80
+
81
+ <script type="text/javascript">
82
+ var uservoiceJsHost = ("https:" == document.location.protocol) ? "https://uservoice.com" : "http://cdn.uservoice.com";
83
+ document.write(unescape("%3Cscript src='" + uservoiceJsHost + "/javascripts/widgets/tab.js' type='text/javascript'%3E%3C/script%3E"))
84
+ </script>
85
+ <script type="text/javascript">
86
+ UserVoice.Tab.show({
87
+ key: 'crantastic',
88
+ host: 'crantastic.uservoice.com',
89
+ forum: 'general',
90
+ alignment: 'left', /* 'left', 'right' */
91
+ background_color:'#f00',
92
+ text_color: 'white', /* 'white', 'black' */
93
+ hover_color: '#06C',
94
+ lang: 'en' /* 'en', 'de', 'nl', 'es', 'fr' */
95
+ })
96
+ </script>
97
+
98
+ <script type="text/javascript">
99
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
100
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
101
+ </script>
102
+ <script type="text/javascript">
103
+ var pageTracker = _gat._getTracker("UA-67989-10");
104
+ pageTracker._initData();
105
+ pageTracker._trackPageview();
106
+ </script>
107
+
108
+ </body>
109
+ </html>
@@ -0,0 +1,109 @@
1
+ <?xml version="1.0"?>
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
4
+ <head>
5
+ <meta http-equiv="content-type" content="text/html;charset=UTF-8" />
6
+ <title>Welcome. It's crantastic!</title>
7
+
8
+ <link href="/stylesheets/application.css?1245016196" media="screen, projection" rel="stylesheet" type="text/css" />
9
+ <link href="/stylesheets/jquery.rating.css?1245016196" media="screen, projection" rel="stylesheet" type="text/css" />
10
+ <link href="/stylesheets/print.css?1245016196" media="print" rel="stylesheet" type="text/css" />
11
+ <!--[if IE]>
12
+ <link href="/stylesheets/ie.css" media="screen, projection" rel="stylesheet" type="text/css" />
13
+ <![endif]-->
14
+
15
+ <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script> <script src="/javascripts/jquery.livequery.js?1245016196" type="text/javascript"></script>
16
+ <script src="/javascripts/jquery.MetaData.js?1245016196" type="text/javascript"></script>
17
+ <script src="/javascripts/jquery.delayedObserver.js?1245016196" type="text/javascript"></script>
18
+ <script src="/javascripts/jquery.rating.pack.js?1245016196" type="text/javascript"></script>
19
+ <script src="/javascripts/jquery.validate.pack.js?1245016196" type="text/javascript"></script>
20
+ <script src="/javascripts/application.js?1245016196" type="text/javascript"></script> <script type="text/javascript">
21
+ //<![CDATA[
22
+ window.AUTH_TOKEN = '0VzQJqzXsuP5dw0Etja9QAsM58pR/e2PAdNJHSpuvJ8=';
23
+ //]]>
24
+
25
+ </script>
26
+
27
+
28
+ <meta name="verify-v1" content="YtXicWGGldm5yUfU718DJMAreQ9gf2gtsSCe5VysH10=" />
29
+ </head>
30
+ <body>
31
+
32
+ <div id="container">
33
+ <div id="main">
34
+
35
+ <p>
36
+ Welcome to crantastic, a community site for R packages where you
37
+ can search for, review and tag CRAN packages.
38
+ </p>
39
+ <!-- <h2>What's happening?</h2>
40
+ <p>List of events (ratings?, versions, tags, users?)</p> -->
41
+
42
+ </div>
43
+
44
+ <div id="sidebar">
45
+ <h1 class="title"><a href="/">crantastic!</a></h1>
46
+
47
+ <div class="box">
48
+ <ul>
49
+ <li><a href="/packages">Packages</a></li>
50
+ <li><a href="/authors">Authors</a></li>
51
+
52
+ <li><a href="/reviews">Reviews</a></li>
53
+ <li><a href="/tags">Tags</a></li>
54
+ </ul>
55
+ </div>
56
+
57
+ <div id="search-box" class="box">
58
+ <form action="/search" method="get"> <p style="margin: 0;"><input id="q" name="q" type="text" />
59
+
60
+ <input name="commit" type="submit" value="Search" /></p>
61
+ </form> </div>
62
+
63
+ <div class="box">
64
+ <form action="/session/new" method="get"> <p style="margin: 0;">
65
+ <input name="commit" type="submit" value="Log in" />&nbsp; or &nbsp;<a href="/signup">Sign up!</a>
66
+ </p>
67
+
68
+ </form> </div>
69
+ </div>
70
+
71
+ <div id="footer">
72
+ <p>Brought to you by <a href="http://had.co.nz">Hadley Wickham</a>
73
+ and <a href="http://chrononaut.net/">Bj&oslash;rn M&aelig;land</a>.
74
+ Like it? Hate it? Let me know at
75
+ <a href="mailto:cranatic@gmail.com">cranatic@gmail.com</a>.
76
+ <a href="http://crantastic.org/about">About crantastic</a>.</p>
77
+
78
+ </div>
79
+ </div>
80
+
81
+ <script type="text/javascript">
82
+ var uservoiceJsHost = ("https:" == document.location.protocol) ? "https://uservoice.com" : "http://cdn.uservoice.com";
83
+ document.write(unescape("%3Cscript src='" + uservoiceJsHost + "/javascripts/widgets/tab.js' type='text/javascript'%3E%3C/script%3E"))
84
+ </script>
85
+ <script type="text/javascript">
86
+ UserVoice.Tab.show({
87
+ key: 'crantastic',
88
+ host: 'crantastic.uservoice.com',
89
+ forum: 'general',
90
+ alignment: 'left', /* 'left', 'right' */
91
+ background_color:'#f00',
92
+ text_color: 'white', /* 'white', 'black' */
93
+ hover_color: '#06C',
94
+ lang: 'en' /* 'en', 'de', 'nl', 'es', 'fr' */
95
+ })
96
+ </script>
97
+
98
+ <script type="text/javascript">
99
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
100
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
101
+ </script>
102
+ <script type="text/javascript">
103
+ var pageTracker = _gat._getTracker("UA-67989-10");
104
+ pageTracker._initData();
105
+ pageTracker._trackPageview();
106
+ </script>
107
+
108
+ </body>
109
+ </html>