-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b081a83
commit d8503dc
Showing
3 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
language: "node_js" | ||
node_js: | ||
- 0.6 | ||
- 0.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# kerouac-robotstxt | ||
|
||
This is a [Kerouac](https://github.com/jaredhanson/kerouac) plugin that gives | ||
instructions to web crawlers using the [Robots Exclusion Protocol](http://www.robotstxt.org/). | ||
|
||
## Install | ||
|
||
$ npm install kerouac-robotstxt | ||
|
||
## Usage | ||
|
||
Simply plug `kerouac-robotstxt` into your site. The generated output will | ||
include a `/robots.txt` resource. | ||
|
||
site.plug(require('kerouac-robotstxt')()); | ||
|
||
## Tests | ||
|
||
$ npm install | ||
$ make test | ||
|
||
[![Build Status](https://secure.travis-ci.org/jaredhanson/kerouac-robotstxt.png)](http://travis-ci.org/jaredhanson/kerouac-robotstxt) [![David DM](https://david-dm.org/jaredhanson/kerouac-robotstxt.png)](http://david-dm.org/jaredhanson/kerouac-robotstxt) | ||
|
||
## Credits | ||
|
||
- [Jared Hanson](http://github.com/jaredhanson) | ||
|
||
## License | ||
|
||
[The MIT License](http://opensource.org/licenses/MIT) | ||
|
||
Copyright (c) 2012-2013 Jared Hanson <[http://jaredhanson.net/](http://jaredhanson.net/)> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ exports = module.exports = function() { | |
} | ||
|
||
page.write(txt); | ||
page.end(); | ||
}); | ||
} | ||
} |