public
Description: Rails Sitemap Plugin / Site Map Plugin for Rails. A beautiful rails sitemap plugin that talks to Google, Yahoo and MSN when updated. Sitemap features clean handcrafted XHTML, XML with XSLT and custom finder options for your named routes.
Clone URL: git://github.com/queso/sitemap.git
Some style cleanup from Adam.
queso (author)
Sat Jun 28 22:28:07 -0700 2008
commit  320be45b4a9405bc2e3ab15ce8bc8ea70fcdc4e2
tree    eb6a7a13a5e97c90891a38e902ef42b66d513424
parent  dbd5089c3e089026faf048ac02874f02d6d348d1
0
...
13
14
15
 
 
 
 
 
 
 
16
17
...
13
14
15
16
17
18
19
20
21
22
23
24
0
@@ -13,5 +13,12 @@ Instructions
0
 4. Go to http://yoursite.com/sitemap.xml
0
 
0
 
0
+Contributors
0
+============
0
+
0
+Josh Owens
0
+Adam Stacoviak
0
+Matt Polito
0
+
0
 
0
 Copyright (c) 2007 Josh Owens and Adam Stacoviak, released under the MIT license
...
15
16
17
18
 
19
20
21
...
33
34
35
36
 
37
38
39
...
15
16
17
 
18
19
20
21
...
33
34
35
 
36
37
38
39
0
@@ -15,7 +15,7 @@
0
 
0
 <div id="container">
0
   
0
- <div id="site_and_page_title">
0
+ <div id="mast_head">
0
 
0
     <h1 id="branding">Sitemap: Settings</h1>
0
     
0
@@ -33,7 +33,7 @@
0
   <hr />
0
   
0
   <div id="site_footer">
0
- <p>Created by <%= link_to "Handcrafted", "http://gethandcrafted.com/" %></p>
0
+ <p>The Sitemap plugin is <%= link_to "Handcrafted", "http://gethandcrafted.com/" %></p>
0
   </div>
0
 
0
 </div>
...
1
2
3
4
 
 
5
6
7
...
20
21
22
23
 
24
25
26
27
 
 
 
28
29
30
31
 
32
33
34
35
36
 
 
 
 
 
 
37
38
39
40
 
41
42
43
44
45
46
47
 
 
48
49
50
51
52
53
54
 
 
55
 
56
57
58
59
 
60
61
62
...
75
76
77
78
 
79
80
81
...
107
108
109
110
 
 
111
112
113
 
114
115
116
...
143
144
145
146
 
147
148
149
150
 
 
 
151
152
153
...
157
158
159
160
161
 
 
162
163
164
...
167
168
169
170
 
 
 
 
 
 
 
171
 
172
173
174
175
 
 
176
177
178
 
179
180
181
 
 
182
183
 
 
184
185
186
...
199
200
201
202
 
203
204
205
...
1
2
 
 
3
4
5
6
7
...
20
21
22
 
23
24
25
26
 
27
28
29
30
31
32
 
33
34
 
 
 
 
35
36
37
38
39
40
41
42
43
 
44
45
46
47
48
49
 
 
50
51
52
53
54
55
56
57
 
58
59
60
61
62
63
64
65
66
67
68
69
...
82
83
84
 
85
86
87
88
...
114
115
116
 
117
118
119
120
121
122
123
124
125
...
152
153
154
 
155
156
 
 
 
157
158
159
160
161
162
...
166
167
168
 
 
169
170
171
172
173
...
176
177
178
 
179
180
181
182
183
184
185
186
187
188
189
 
 
190
191
192
193
 
194
195
 
 
196
197
198
199
200
201
202
203
204
...
217
218
219
 
220
221
222
223
0
@@ -1,7 +1,7 @@
0
 /* ------------------------------------------------------------
0
 
0
- Company: IMAGE202 ENTERTAINMENT
0
- Author: Adam Stacoviak, adam@image202.com
0
+ Company: Handcrafted
0
+ Author: Adam Stacoviak, adam@gethandcrafted.com
0
 
0
 ------------------------------------------------------------ */
0
 
0
@@ -20,43 +20,50 @@ html, body {
0
 }
0
 
0
 body {
0
- font: 62.5% Verdana, Arial, sans-serif;
0
+ font: 62.5% Arial, Helvetica, sans-serif;
0
   color: #333;
0
   background: #fff;
0
 }
0
-
0
+/* ------------------------------------------------------------
0
+ Structure
0
+------------------------------------------------------------ */
0
 #container {
0
   width: 700px;
0
   margin: 0 auto;
0
- padding: 60px 0 50px 0;
0
+ padding: 40px 0 20px 0;
0
 }
0
-
0
-#site_and_page_title {
0
- border-bottom: 1px solid #ccc;
0
- padding-bottom: 18px;
0
+/* ------------------------------------------------------------
0
+ Mast Head
0
+------------------------------------------------------------ */
0
+#mast_head {
0
+ border-bottom: 3px solid #ccc;
0
+ padding-bottom: 20px;
0
   text-align: center;
0
 }
0
 
0
-#site_and_page_title h1 {
0
+#mast_head h1 {
0
   color: #000;
0
   font: bold 4.4em Helvetica, Arial, sans-serif;
0
   margin-bottom: 30px;
0
 }
0
 
0
-#site_and_page_title h1 a,
0
-#site_and_page_title h1 a:hover {
0
+#mast_head h1 a,
0
+#mast_head h1 a:hover {
0
   color: #000;
0
   text-decoration: none;
0
 }
0
 
0
 #site_description p {
0
   color: #656565;
0
- font: italic 20px Tahoma, Georgia, Times New Roman, sans-serif;
0
+ font: normal 14px Helvetica, Arial, sans-serif;
0
+ letter-spacing: 1px;
0
   margin-bottom: 12px;
0
+ text-transform: uppercase;
0
 }
0
 
0
 #site_footer {
0
   border-top: 1px solid #ccc;
0
+ font-size: 11px;
0
   padding-top: 18px;
0
   text-align: center;
0
 }
0
@@ -75,7 +82,7 @@ h2 {
0
 }
0
 
0
 p {
0
- font-size: 1.2em;
0
+ font-size: 12px;
0
   line-height: 1.6;
0
   margin-bottom: 12px;
0
 }
0
@@ -107,10 +114,12 @@ label {
0
   display: block;
0
   padding-bottom: 3px;
0
   text-transform: uppercase;
0
- font-size: 95%;
0
+ font-size: 12px;
0
+ font-weight: bold;
0
 }
0
 
0
 input[type=text] {
0
+ color: #353535;
0
   font-size: 1.4em;
0
   width: 100%;
0
   padding: 5px
0
@@ -143,11 +152,11 @@ select {
0
 }
0
 
0
 #site_map dt {
0
- border-bottom: 1px solid #eee;
0
+ border-bottom: 1px dashed #ccc;
0
   color: #000;
0
- font: bold 18px Helvetica, Arial, sans-serif;
0
- margin-bottom: 12px;
0
- padding-bottom: 12px;
0
+ font: bold 18px Arial, Helvetica, sans-serif;
0
+ margin-bottom: 6px;
0
+ padding-bottom: 6px;
0
 }
0
 
0
 #site_map dt a,
0
@@ -157,8 +166,8 @@ select {
0
 }
0
 
0
 #site_map dd {
0
- border-bottom: 3px double #ccc;
0
- margin-bottom: 15px;
0
+ border-bottom: 3px solid #ccc;
0
+ margin-bottom: 25px;
0
   padding-bottom: 15px;
0
 }
0
 
0
@@ -167,20 +176,29 @@ select {
0
   margin-top: 15px;
0
 }
0
 
0
-#site_map dl dl dt {
0
+#site_map .sections {
0
+ border-left: 4px solid #eee;
0
+ margin: 10px 0 10px 0;
0
+ padding: 8px 0 8px 20px;
0
+}
0
+
0
+#site_map .sections dt {
0
   border-bottom: none;
0
+ color: #000;
0
   font-size: 14px;
0
   line-height: 1.6;
0
- margin: 0 0 3px 20px;
0
- padding: 0 0 3px 0;
0
+ margin: 0 0 0 0;
0
+ padding: 0 0 10px 0;
0
 }
0
 
0
-#site_map dl dl dd {
0
+#site_map .sections dd {
0
   border-bottom: none;
0
- margin: 0 0 15px 20px;
0
- padding: 0 0 0 0;
0
+ margin-bottom: 0;
0
+ padding-bottom: 0;
0
 }
0
 
0
+#site_map .sections dt:before { /* */ }
0
+
0
 #site_map ul {
0
   list-style: none;
0
 }
0
@@ -199,7 +217,7 @@ a {
0
 }
0
   
0
 a:hover {
0
- color: #933;
0
+ color: #244891;
0
   text-decoration: underline;
0
 }
0
 
...
32
33
34
35
 
36
37
38
...
76
77
78
79
80
81
82
...
32
33
34
 
35
36
37
38
...
76
77
78
 
79
80
81
0
@@ -32,7 +32,7 @@
0
 
0
 <div id="container">
0
 
0
- <div id="site_and_page_title">
0
+ <div id="mast_head">
0
     
0
     <!--
0
       Use this tag to populate the site and page title.
0
@@ -76,7 +76,6 @@
0
       </ul>
0
     </dd>
0
     <% end %>
0
-
0
     <!-- <dt class="section_title" id="section_title"><a href="#section_link" title="Section Description" class="loc">Section Title</a></dt>
0
     <dd class="pages">
0
       <ul>

Comments

    No one has commented yet.