Skip to content

Serves a robot.txt which can be modified programatically

License

Notifications You must be signed in to change notification settings

SantoshSrinivas79/meteor-robots.txt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

robots.txt smart package

Copyright (c) 2013 Gadi Cohen dragon@wastelands.net, released under the MIT license (see LICENSE.txt).

Currently, all this package does is implement a robots.addLine('line') which other packages can use to add lines to what is served at /robots.txt.

If there is any demand for other functions, they can be added too. Let me know if you need to modify an existing robots.txt or want other functionality.

Existing public/robots.txt

  • In Meteor <= 0.6.4, if public/robots.txt exists, it's contents will be served in addition to whatever is added with robots.addLine().

  • In Meteor >= 0.6.5, if public/robots.txt exists, this smart package will not work. I am working on a fix, but for now, if you want to use the functionality offered by this package, pleasure ensure that this file does not exist (if it does, only it's own contents will be served, and nothing else).

About

Serves a robot.txt which can be modified programatically

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 82.6%
  • HTML 17.4%