librelist archives

« back to archive

robots.txt in nesta

robots.txt in nesta

From:
Chris Malek
Date:
2011-10-06 @ 20:39
How exactly do we get the robot.txt to render something "custom?"  I
see in the base sinatra app configuration of the nesta source that it
responds to get /robots.txt and spits out a blank file with some
comments.  What is the recommended way of override that?   Do I create
my own app.rb file and override the get /robots.txt?



-- 
Chris Malek

Re: [nesta] robots.txt in nesta

From:
David Franklin
Date:
2011-10-07 @ 14:22
Create robots.txt with any directives you want and place it in the root of
the public directory.  No need to change app.rb. 


On Thursday, October 6, 2011 at 4:39 PM, Chris Malek wrote:

> How exactly do we get the robot.txt to render something "custom?" I
> see in the base sinatra app configuration of the nesta source that it
> responds to get /robots.txt and spits out a blank file with some
> comments. What is the recommended way of override that? Do I create
> my own app.rb file and override the get /robots.txt?
> 
> 
> 
> -- 
> Chris Malek

Re: [nesta] robots.txt in nesta

From:
Chris Malek
Date:
2011-10-08 @ 22:45
Thanks for the reply. I forked nestacms.com and created a new page on
the topic and sent a pull request.


It is taking me some time to wrap my head around nesta but I think I
finally got it.  I kept getting the Article, Page and categories
concepts on mashed up.   I am expanding my ruby knowledge looking at
the code and creating my own views.   The code is very "dense" (meant
as a compliment).

Have a great weekend.


On Fri, Oct 7, 2011 at 7:22 AM, David Franklin <dfranklin@authorigin.com> wrote:
> Create robots.txt with any directives you want and place it in the root of
> the public directory.  No need to change app.rb.
>
> On Thursday, October 6, 2011 at 4:39 PM, Chris Malek wrote:
>
> How exactly do we get the robot.txt to render something "custom?" I
> see in the base sinatra app configuration of the nesta source that it
> responds to get /robots.txt and spits out a blank file with some
> comments. What is the recommended way of override that? Do I create
> my own app.rb file and override the get /robots.txt?
>
>
>
> --
> Chris Malek
>
>



-- 
Chris Malek
chris.r.malek@gmail.com
760.230.8625