sitemap 0.2b2 → 0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +8 -1
- data/sitemap.gemspec +1 -1
- metadata +9 -9
data/README.rdoc
CHANGED
@@ -43,7 +43,14 @@ You may change the defaults for either <tt>params</tt> or <tt>search</tt> option
|
|
43
43
|
|
44
44
|
Sitemap.defaults[:params] = { :format => "html" }
|
45
45
|
|
46
|
+
== Large sites
|
47
|
+
|
48
|
+
Google imposes a limit of 50000 entries per sitemap and maximum size of 10 MB. To comply with these rules,
|
49
|
+
sitemaps having over 10.000 urls are being split into multiple files. You can change this value by overriding the max urls value:
|
50
|
+
|
51
|
+
Sitemap.defaults[:max_urls] = 50000
|
52
|
+
|
46
53
|
== License
|
47
54
|
|
48
55
|
This package is licensed under the MIT license and/or the Creative
|
49
|
-
Commons Attribution-ShareAlike.
|
56
|
+
Commons Attribution-ShareAlike.
|
data/sitemap.gemspec
CHANGED
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sitemap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: '0.2'
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Daniel Mircea
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-08 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sqlite3
|
16
|
-
requirement: &
|
16
|
+
requirement: &18070900 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *18070900
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: nokogiri
|
27
|
-
requirement: &
|
27
|
+
requirement: &18069960 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :development
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *18069960
|
36
36
|
description: A simple ruby on rails sitemap generator
|
37
37
|
email: daniel@viseztrance.com
|
38
38
|
executables: []
|
@@ -80,9 +80,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
80
80
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
81
|
none: false
|
82
82
|
requirements:
|
83
|
-
- - ! '
|
83
|
+
- - ! '>='
|
84
84
|
- !ruby/object:Gem::Version
|
85
|
-
version:
|
85
|
+
version: '0'
|
86
86
|
requirements: []
|
87
87
|
rubyforge_project:
|
88
88
|
rubygems_version: 1.8.10
|