lassebunk / human_power Goto Github PK
View Code? Open in Web Editor NEWEasy generation of robots.txt. Force the robots into submission!
License: MIT License
Easy generation of robots.txt. Force the robots into submission!
License: MIT License
Is it possible to add arbitrary rules? e.g. Crawl-delay:
User-agent: msnbot
Crawl-delay: 1
Content-Type:text/html; charset=utf-8
Should be
Content-Type:text/plain; charset=utf-8
Is there any way to have different configurations for different Rails environments?
if Rails.env.production?
disallow :none
else
disallow :all
end
Error:
NoMethodError (undefined method `env' for HumanPower::Rails:Module):
config/robots.rb:1:in `block in robots'
lib/silverpop_middleware.rb:13:in `call'
lib/health_check_middleware.rb:10:in `call'
Is there an easy way in the DSL to write write rules for all user agents instead. So instead of...
googlebot do
...
end
...or...
user_agent[:googlebot, :bingbot] do
...
end
...is there an equivalent of the hard-coded phrase Use_agent: *
that would allow any user agent at the top of robots.txt
?
I got an app that is responsible for both the website and an API
The ApplicationController
is for website only, with many before_action
Some before_action
are not suitable only for HumanPower::Rails::RobotsController
.
Currently I have a workaround to make skip the before_action
for action robots
.
Is it possible to change the superclass for HumanPower::Rails::RobotsController
?
Easier then reading commits (and find the last version)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.