Skip to content


Subversion checkout URL

You can clone with
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
Checking mergeability… Don't worry, you can still create the pull request.
Commits on Mar 12, 2009
@alexrabarts Move clean method test into the clean method context d51559e
Commits on Apr 06, 2009
@alexrabarts Simplify options handling in `initialize` (thanks Mislav Marohnić for…
… the patch)
@alexrabarts More explicit method names in tests 7ea3f01
@alexrabarts Add gzip option 1ecb3a3
@alexrabarts Cosmetic refactoring 7986ef3
@alexrabarts Tidy up documentation 513d8e1
@alexrabarts Add support for changefreq and priority 3ab96d2
@alexrabarts Only ping search engines when ping_search_engines is explicitly called c8ca568
@alexrabarts The method id will always be present, so this error will never be raised f0554ac
@alexrabarts Fix inaccuracy in docs - files are generated with singular model name b27b672
@alexrabarts Pass the model in as the first argument to `add' and provide a sensib…
…le default for the :path option. Note, this is an API change.
@alexrabarts Pluralize sitemap model filenames 15cece0
@alexrabarts Add lambda support for changefreq and priority efec173
@alexrabarts Allow base URL to be specified as a hash as well as a string and use …
…Rails' polymorphic_url helper if Rails is being used.
@alexrabarts Add support for passing options through to the find method, such as c…
@alexrabarts Version bump to 0.3.0 f26b03c
@alexrabarts Update changelog d29f878
@alexrabarts Regenerated gemspec for version 0.3.0 91ae75c
@alexrabarts Fix RDoc formatting eba0820
@alexrabarts RDoc formatting 16abaf8
@mislav mislav extract BigSitemap::Builder
the Builder is responsible for generating the document according to Sitemap spec
and for partitioning data into multiple files when maximum number of URLs is reached
Commits on Apr 18, 2009
@alexrabarts Update gemspec to include builder.rb 4cda1cf
@alexrabarts Version bump to 0.3.1 2a89998
@alexrabarts Regenerated gemspec for version 0.3.1 a00a3f2
@alexrabarts Update history for 0.3.1 44929c2
Commits on Jun 09, 2009
@alexrabarts Fix "uninitialized constant ActionController" error when used with Rails
Fix "Unknown key(s): path" error when used with Rails
@alexrabarts Version bump to 0.3.2 c34b56a
@alexrabarts Regenerated gemspec for version 0.3.2 5fc437a
@alexrabarts Gracefully handle the fallback if Rails' polymorphic_url isn't available b5ddea0
@alexrabarts Version bump to 0.3.3 13a8348
@alexrabarts Regenerated gemspec for version 0.3.3 dfaecd9
@alexrabarts Add 'sudo' and 'require' instructions to documentation 42c47ab
Commits on Jul 02, 2009
@jschoolcraft jschoolcraft filtered out big_sitemap specific options before passing options hash…
… to model#find
@alexrabarts Version bump to 0.3.4 a4bde92
@alexrabarts Update history for 0.3.4 18e2ab0
@alexrabarts Regenerated gemspec for version 0.3.4 1eb5fac
@alexrabarts Fix typo in documentation d0aa622
@alexrabarts Update credits 295f6fa
Commits on Jul 15, 2009
@alexrabarts Fix RDoc formatting and typo af343e9
Commits on Aug 02, 2009
@dalibor dalibor Fixed bugs in root_url generation and url_for_sitemap generation 92d2e99
Commits on Aug 05, 2009
@alexrabarts Update credits fc441f3
@alexrabarts Version bump to 0.3.5 5ed5548
@alexrabarts Update history for 0.3.5 b0f4e5f
@alexrabarts Regenerated gemspec for version 0.3.5 9737caf
Commits on Aug 09, 2009
@alexrabarts Use Bing instead of Live/MSN d92209c
@alexrabarts Version bump to 0.4.0 9f84c10
@alexrabarts Update history for version 0.4.0 19fd3f2
@alexrabarts Regenerated gemspec for version 0.4.0 7f99fd9
Commits on Sep 07, 2009
@alexrabarts Add support for lambdas when specifying lastmod 8463d4d
@alexrabarts Version bump to 0.5.0 cb98e71
@alexrabarts Update history for version 0.5.0 3c4e224
@alexrabarts Regenerated gemspec for version 0.5.0 5c61191
@alexrabarts Bug fix: Make sure :last_modified key isn't sent through in the find …
…method options
@alexrabarts Version bump to 0.5.1 7099bef
@alexrabarts Update history for version 0.5.1 ef94fdc
@alexrabarts Regenerated gemspec for version 0.5.1 9240c6a
Commits on Jan 12, 2010
@sbecker sbecker support arbitrary sitemap "types" (via mislav) 3f645ab
@sbecker sbecker Add support for geo/kml sitemaps 1a739a3
@sbecker sbecker Change filename to include "_kml" if geo sitemap a4b1093
@sbecker sbecker Remove broken call to polymorphic_url b55b9e0
@sbecker sbecker Add find_options to count method as well as find method, so queries m…
@sbecker sbecker Fix missed @index reference to index? method 3d33097
Commits on Dec 07, 2010
@rngtng rngtng only load extlib if it's not rails 84db571
@rngtng rngtng introduced new option 'location' to set full path via a Proc, to supp…
…ort nested resources

So now you can do this with Rails:

include ActionController::UrlWriter
sitemap.add(Track, {
   :location => lambda { |track| track_url( track.user, track) }
Commits on Dec 20, 2010
@rngtng rngtng fixed tests 1f9b02d
@rngtng rngtng added static page support 30e1d36
@rngtng rngtng generate index file for given filenames or all files found in directory 128d32c
@rngtng rngtng added test for sitemap generation 8de827f
@rngtng rngtng syntax sugar sauce be82731
@rngtng rngtng introduced update method which generated and adds index for only new …
Commits on Dec 21, 2010
@rngtng rngtng fixed wrong parameter in test 6036cfb
Commits on Dec 22, 2010
@rngtng rngtng introduced new method generate_update which gets the last id of gener…
…ated item and only creates the diff
@rngtng rngtng got rid of 'except' method and turned find_key selection into explici…
…t selection
@rngtng rngtng fixed bug/wrong concept where id of filename is not id of last but fi…
…rst item. Made code actually nicer..
@rngtng rngtng respect the limit parameter, don't increase filename id b60120e
Commits on Jan 10, 2011
@rngtng rngtng added support to select from last_id to speed it up 1efc4c1
@rngtng rngtng don't hit method missing... 6e56cfa
@rngtng rngtng pushed to new version, removed extlib dependency 7746ef3
@rngtng rngtng fixed Rails & Merb dependency, no it's clearly separated 2e4ab59
Commits on Jan 11, 2011
@rngtng rngtng Version bump to 0.7.0 52ba598
@rngtng rngtng chopped out the dependency to builder to speed up generation process …
…and get less memory consumption. Split Index and Geo generation into separate class to get clean code.
Commits on Jan 12, 2011
@rngtng rngtng added method 'with_lock' to make sure no other process is kicked of w…
…hile generation is running
Commits on Jan 14, 2011
@rngtng rngtng generate in a temporary file and rename afterwards to prevent reading…
… AND writing to same file at the same time
@rngtng rngtng added more headers 112c8ed
@rngtng rngtng now, as builder is gone, we have to sanatize content ourselfes c127a7b
Commits on Jan 18, 2011
@rngtng rngtng don't overwrite value if it's false ef0bd69
@rngtng rngtng introduced primary_column value in case 'id' is not the column your w…
…ant to have as last_id
Commits on Jan 21, 2011
@rngtng rngtng added bundler d610416
@rngtng rngtng removed generate_update method in favor for having just one method to…
… start generation process, code cleanup
@rngtng rngtng updated docs 4d728a9
@rngtng rngtng Version bump to 0.8.0 902dc32
Commits on Jan 25, 2011
@alexrabarts Update documentation f137a78
@alexrabarts Fix typos in documentation 59d7b12
@alexrabarts Version bump to 0.8.1 9bc21db
@alexrabarts Regenerated gemspec for version 0.8.1 30aaa30
@alexrabarts Update Rakefile so gem page points to authorative repo homepage a71b9db
@alexrabarts Update history for version 0.8.1 6087735
@alexrabarts Only output to stderr if is set e87fe72
@alexrabarts Fix issue 5 that was causing only one set of sitemap files to be gene…
…rated if

the same model was added more than once with different options
@alexrabarts Fix typo in test 0071932
@alexrabarts Version bump to 0.8.2 1f94ff3
@alexrabarts Regenerated gemspec for version 0.8.2 3d638da
@alexrabarts Update History for version 0.8.2 2d3a6c0
Commits on Feb 01, 2011
@rngtng rngtng fixed bugs: quote only string values and get correct starting value 17cc976
Commits on Feb 04, 2011
@christianhellsten christianhellsten Rails3 fix 1d2b235
Commits on Feb 27, 2011
@yannski yannski I'm forced to include this module before calling BigSitemapRails othe…
…rwise I get undefined method `include' for BigSitemapRails ...
Commits on Mar 08, 2011
@rngtng rngtng cleaned up document_root handling dee5ddb
@rngtng rngtng remove unused rake tasks 5db6cbd
@rngtng rngtng cleanup: use File.join to concat file path correctly, introduced opti…
…on ":url" in case web_url differs from file path, introduced ":full_path" to specify document_root and path in one go.
@rngtng rngtng Merge remote branch 'yannski/master' b65076a
@rngtng rngtng BigSitemapRails now works for both 2.x and 3.x version d4a1822
@rngtng rngtng actually url helper are not used any way, so get rid of it... 5984438
@rngtng rngtng raise if Merb not found be119d2
@rngtng rngtng Revert "actually url helper are not used any way, so get rid of it..."
This reverts commit 5984438.
@rngtng rngtng Version bump to 0.8.3 3af2f2d
Commits on Mar 14, 2011
@alexrabarts Dedup test names b382dd1
@alexrabarts Update history for version 0.8.3 e39d507
@alexrabarts Regenerate gemspec for version 0.8.3 af5f27f
Commits on Aug 02, 2011
@EddM EddM Prefix primary_columns with table name to avoid ambiguity with joins 74cdc34
Commits on Oct 20, 2011
@alexrabarts Add rake and jeweler gem dependencies 51d0586
@alexrabarts Merge pull request #17 from EddM/master
Ambiguous "id" column when using joins
@yannski yannski don't generate XML node if location does not exist b5285e7
@alexrabarts Version bump to 0.8.4 7e254f4
@alexrabarts Regenerate gemspec for version 0.8.4 c30b881
@alexrabarts Gzipped files now include indents and newlines as it aids in debuggin…
…g and doesn't affect the final file size too much
@alexrabarts Version bump to 0.8.5 299f814
@alexrabarts Regenerate gemspec for version 0.8.5 210182a
@alexrabarts Update history b634cec
Commits on Oct 24, 2011
@alexrabarts Change from syntax to new block syntax so that BigSite…
…map can be relieved of the duties relating to finding entries. See README and History for further details.
@alexrabarts Regenerate gemspec for version 1.0.0 bcbee4e
Commits on Nov 14, 2011
@rngtng rngtng move test helper mouthed to test helper fe67feb
@rngtng rngtng removed geo (never worked) a4c1044
@rngtng rngtng streamline Builder configs using constants 2245394
Commits on Feb 03, 2012
@christoph-buente christoph-buente Prevent concatenating WHERE conditions from previous query. 3c59ffe
Commits on Feb 15, 2012
@eric-roland eric-roland fixes truncating path 9205a73
Commits on Feb 17, 2012
@alexrabarts Merge pull request #31 from eric-roland/master
Thanks for the patch.
Commits on Mar 05, 2012
Evgeni Dzhelyov Generate the correct full URL path using the URI class instead of File. 07e9d44
Commits on Mar 08, 2012
@alexrabarts Merge pull request #32 from edzhelyov/master
Generate the correct full url
Commits on Mar 10, 2012
@alexrabarts Update history 4e20cdb
@alexrabarts Version bump to 1.0.1 1280507
@alexrabarts Regenerate gemspec for version 1.0.1 befbf52
@alexrabarts Merge pull request #29 from sozialhelden/master
Better Performance when fetching objects from DB
@alexrabarts Merge pull request #24 from rngtng/remove-geo-cleanup-builder
Remove geo and cleanup builder
@alexrabarts Merge pull request #23 from rngtng/move_test_helper
Move test helper into test_helper.rb
@rngtng rngtng Get rid of jeweler, 'native' gem is as nice too. Saves lots of code. f0aaa97
Commits on Jun 06, 2012
@lis2 lis2 urls should be unique 3ebc5b7
Commits on Jun 17, 2012
@solutus solutus add yandex search engine be89fa5
@solutus solutus add yandex search engine e4f3e38
Commits on Jan 26, 2013
@solutus solutus change ping_yandex to false 8e4c2d7
Commits on Feb 06, 2013
@alexrabarts Merge pull request #34 from lis2/master
urls should be unique
@alexrabarts Bundle update d2e09b2
@alexrabarts Version bump to 1.0.2 8aa8dc1
@alexrabarts Merge pull request #35 from solutus/master
add yandex as search engine
@alexrabarts Deprecated methods from v1.0.0 now removed d627720
@alexrabarts Version bump to 1.1.0 f054c61
Commits on Aug 06, 2013
@alexrabarts Fix incorrect initialization option in documentation. :protocol shoul…
…d be :scheme.
Commits on Sep 19, 2013
@alexrabarts Add Travis CI d116abf
@alexrabarts Add rake as a development dependency 976f011
@alexrabarts Add test dependecies to Gemfile for Travis CI 6f8b801
@alexrabarts Revert until tests don't need to write to /tmp (can't on Travis)
Revert "Add Travis CI"

This reverts commit d116abf.
Something went wrong with that request. Please try again.