You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Ross Gardler <rg...@apache.org> on 2005/10/27 09:07:03 UTC

[docs] docs now links back to daisy

The Forrest generated docs are now linking back to the daisy page for 
that document. It doesn't link straight back to the edit page yet, this 
is because the error page when a user is not logged in was quite unhelpful.

I've just had a reply on the Daisy list about how to change this, but I 
don't have access to the zone. Can someone please give me access and I 
will improve things further.

Ross

Re: [docs] docs now links back to daisy

Posted by Upayavira <uv...@odoko.co.uk>.
Ross Gardler wrote:
> Upayavira wrote:
> 
>> Bruno Dumon wrote:
>>
>>> On Thu, 2005-10-27 at 08:07 +0100, Ross Gardler wrote:
>>>
>>>
>>>> The Forrest generated docs are now linking back to the daisy page
>>>> for that document. It doesn't link straight back to the edit page
>>>> yet, this is because the error page when a user is not logged in was
>>>> quite unhelpful.
>>>
>>>
>>>
>>> IMO it would be better to link back just to the Daisy page, not to open
>>> the editor immediately.
>>
>>
>>
>> Why? I'm concerned that (a) the Daisy content is seen for what it is:
>> under development and (b) that the Daisy server in the zone doesn't get
>> crawled by search engines and indexed. We _do not_ want that, as our
>> development code would effectively become our live docs.
>>
>> I would, at this moment, prefer they go to a page which says "You can
>> comment on this page, but to do so, you need first to create yourself an
>> account. Click _here_ to login or _here_ to create your account."
> 
> 
> Well, that is what I was thinking of doing. I need access to the zone
> for that (need to change something in the wiki XSL).

I've created an account for you. Let me know if you need more stuff
setting up.

We can also enhance the wording at the bottom of the Forrest generated
page to better manage the user's expectations when they click on the link.

> I agree with your sentiments with respect to making it clear that these
> are not the real docs yet.

Great. And for not having them indexed by Google? And having them behind
a login?

Regards, Upayavira

Re: [docs] docs now links back to daisy

Posted by Ross Gardler <rg...@apache.org>.
Upayavira wrote:
> Bruno Dumon wrote:
> 
>>On Thu, 2005-10-27 at 08:07 +0100, Ross Gardler wrote:
>>
>>
>>>The Forrest generated docs are now linking back to the daisy page for 
>>>that document. It doesn't link straight back to the edit page yet, this 
>>>is because the error page when a user is not logged in was quite unhelpful.
>>
>>
>>IMO it would be better to link back just to the Daisy page, not to open
>>the editor immediately.
> 
> 
> Why? I'm concerned that (a) the Daisy content is seen for what it is:
> under development and (b) that the Daisy server in the zone doesn't get
> crawled by search engines and indexed. We _do not_ want that, as our
> development code would effectively become our live docs.
> 
> I would, at this moment, prefer they go to a page which says "You can
> comment on this page, but to do so, you need first to create yourself an
> account. Click _here_ to login or _here_ to create your account."

Well, that is what I was thinking of doing. I need access to the zone 
for that (need to change something in the wiki XSL).

I agree with your sentiments with respect to making it clear that these 
are not the real docs yet.

Ross

Re: [docs] docs now links back to daisy

Posted by Bruno Dumon <br...@outerthought.org>.
On Thu, 2005-10-27 at 11:57 +0100, Upayavira wrote:
> Bruno Dumon wrote:
> > On Thu, 2005-10-27 at 10:50 +0100, Upayavira wrote:
<snip/>
> >>I really do not want to see Daisy serving content to anyone who is not
> >>logged in. (but am happy to give away logins quite freely).
> > 
> > Any reason for that? I saw the earlier discussion on this, but don't
> > recall any better reason than "I don't like it". If it is to avoid
> > confusion, then I think it should be possible by putting appropriate
> > warnings in place.
> 
> Yes, I don't want the Daisy content to become the source for
> documentation. So suitably large warnings would do the job.
> 
> Would it be possible to have the warnings either disappear or get
> smaller when someone logs in?

yes, that's no problem.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


Re: [docs] docs now links back to daisy

Posted by Bertrand Delacretaz <bd...@apache.org>.
Le 27 oct. 05, à 12:57, Upayavira a écrit :

> Bruno Dumon wrote:
>> ...I thought we had a robot file in place which forbids that.
>>
> I don't know. Do we? If we have, then that goes part of the way for me.

We do: http://cocoon.zones.apache.org/robots.txt
Assuming this is correct, but I think it is.

-Bertrand


Re: [docs] docs now links back to daisy

Posted by Upayavira <uv...@odoko.co.uk>.
Bruno Dumon wrote:
> On Thu, 2005-10-27 at 10:50 +0100, Upayavira wrote:
> 
>>Bruno Dumon wrote:
>>
>>>On Thu, 2005-10-27 at 08:07 +0100, Ross Gardler wrote:
>>>
>>>
>>>>The Forrest generated docs are now linking back to the daisy page for 
>>>>that document. It doesn't link straight back to the edit page yet, this 
>>>>is because the error page when a user is not logged in was quite unhelpful.
>>>
>>>
>>>IMO it would be better to link back just to the Daisy page, not to open
>>>the editor immediately.
>>
>>Why?
> 
> 
> So that you can first see the latest content of the page, can look at
> comments, whatever, and then make the decission to open the editor.
> 
> 
>> I'm concerned that (a) the Daisy content is seen for what it is:
>>under development and (b) that the Daisy server in the zone doesn't get
>>crawled by search engines and indexed. We _do not_ want that, as our
>>development code would effectively become our live docs.
> 
> I thought we had a robot file in place which forbids that.
> 
I don't know. Do we? If we have, then that goes part of the way for me.

>>I would, at this moment, prefer they go to a page which says "You can
>>comment on this page, but to do so, you need first to create yourself an
>>account. Click _here_ to login or _here_ to create your account."
> 
> Users can only add comments when logged in.
> 
>>I really do not want to see Daisy serving content to anyone who is not
>>logged in. (but am happy to give away logins quite freely).
> 
> Any reason for that? I saw the earlier discussion on this, but don't
> recall any better reason than "I don't like it". If it is to avoid
> confusion, then I think it should be possible by putting appropriate
> warnings in place.

Yes, I don't want the Daisy content to become the source for
documentation. So suitably large warnings would do the job.

Would it be possible to have the warnings either disappear or get
smaller when someone logs in?

Regards, Upayavira

Re: [docs] docs now links back to daisy

Posted by Bruno Dumon <br...@outerthought.org>.
On Thu, 2005-10-27 at 10:50 +0100, Upayavira wrote:
> Bruno Dumon wrote:
> > On Thu, 2005-10-27 at 08:07 +0100, Ross Gardler wrote:
> > 
> >>The Forrest generated docs are now linking back to the daisy page for 
> >>that document. It doesn't link straight back to the edit page yet, this 
> >>is because the error page when a user is not logged in was quite unhelpful.
> > 
> > 
> > IMO it would be better to link back just to the Daisy page, not to open
> > the editor immediately.
> 
> Why?

So that you can first see the latest content of the page, can look at
comments, whatever, and then make the decission to open the editor.

>  I'm concerned that (a) the Daisy content is seen for what it is:
> under development and (b) that the Daisy server in the zone doesn't get
> crawled by search engines and indexed. We _do not_ want that, as our
> development code would effectively become our live docs.

I thought we had a robot file in place which forbids that.

> 
> I would, at this moment, prefer they go to a page which says "You can
> comment on this page, but to do so, you need first to create yourself an
> account. Click _here_ to login or _here_ to create your account."

Users can only add comments when logged in.

> 
> I really do not want to see Daisy serving content to anyone who is not
> logged in. (but am happy to give away logins quite freely).

Any reason for that? I saw the earlier discussion on this, but don't
recall any better reason than "I don't like it". If it is to avoid
confusion, then I think it should be possible by putting appropriate
warnings in place.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


Re: [docs] docs now links back to daisy

Posted by Upayavira <uv...@odoko.co.uk>.
Bruno Dumon wrote:
> On Thu, 2005-10-27 at 08:07 +0100, Ross Gardler wrote:
> 
>>The Forrest generated docs are now linking back to the daisy page for 
>>that document. It doesn't link straight back to the edit page yet, this 
>>is because the error page when a user is not logged in was quite unhelpful.
> 
> 
> IMO it would be better to link back just to the Daisy page, not to open
> the editor immediately.

Why? I'm concerned that (a) the Daisy content is seen for what it is:
under development and (b) that the Daisy server in the zone doesn't get
crawled by search engines and indexed. We _do not_ want that, as our
development code would effectively become our live docs.

I would, at this moment, prefer they go to a page which says "You can
comment on this page, but to do so, you need first to create yourself an
account. Click _here_ to login or _here_ to create your account."

I really do not want to see Daisy serving content to anyone who is not
logged in. (but am happy to give away logins quite freely).

Regards, Upayavira

Re: [docs] docs now links back to daisy

Posted by Ross Gardler <rg...@apache.org>.
Bruno Dumon wrote:
> On Thu, 2005-10-27 at 10:40 +0100, Ross Gardler wrote:
> 
>>Bruno Dumon wrote:
>>
>>>On Thu, 2005-10-27 at 08:07 +0100, Ross Gardler wrote:
>>>
>>>
>>>>The Forrest generated docs are now linking back to the daisy page for 
>>>>that document. It doesn't link straight back to the edit page yet, this 
>>>>is because the error page when a user is not logged in was quite unhelpful.
>>>
>>>
>>>IMO it would be better to link back just to the Daisy page, not to open
>>>the editor immediately.
>>
>>OK, well that's what it does now, so that's easy for me :-))
>>
>>
>>
>>>Something else: as you probably noticed yourself, the link is displayed
>>>twice at the bottom of each page.
>>
>>Really?
>>
>>http://forrest.zones.apache.org/ft/build/cocoon-docs/
> 
> 
> There it is indeed OK.
> 
> What I did was go to forrest.zones.apache.org, and click on the link
> "Cocoon Docs", which brings me to this page:
> 
> http://forrest.zones.apache.org/ft/build/cocoon-docs/2.1/653.daisy.html
> 
> where the link is displayed twice.

Thanks, I'll look into this.

>>>BTW, any progress on reusing the path names for the URLs, instead of the
>>>numeric IDs?
>>
>>I've not had time to look at this, hope to do so soon.
> 
> 
> ok, thanks.

I've done the first stage - dynamically create the Forrest locationmap. 
I just got to write the XSL to create our locationmap from the Daisy 
navigation.

Ross

Re: [docs] docs now links back to daisy

Posted by Bruno Dumon <br...@outerthought.org>.
On Thu, 2005-10-27 at 10:40 +0100, Ross Gardler wrote:
> Bruno Dumon wrote:
> > On Thu, 2005-10-27 at 08:07 +0100, Ross Gardler wrote:
> > 
> >>The Forrest generated docs are now linking back to the daisy page for 
> >>that document. It doesn't link straight back to the edit page yet, this 
> >>is because the error page when a user is not logged in was quite unhelpful.
> > 
> > 
> > IMO it would be better to link back just to the Daisy page, not to open
> > the editor immediately.
> 
> OK, well that's what it does now, so that's easy for me :-))
> 
> 
> > Something else: as you probably noticed yourself, the link is displayed
> > twice at the bottom of each page.
> 
> Really?
> 
> http://forrest.zones.apache.org/ft/build/cocoon-docs/

There it is indeed OK.

What I did was go to forrest.zones.apache.org, and click on the link
"Cocoon Docs", which brings me to this page:

http://forrest.zones.apache.org/ft/build/cocoon-docs/2.1/653.daisy.html

where the link is displayed twice.

> 
> is not showing this behaviour. Are you running with a local copy of 
> Forrest? If so delete your installaion of the daisy plugin with:
> 
> rm -rf FORREST_HOME/build/plugins/org.apache.forrest.plugin.input.Daisy
> 
> and then re-run Forrest
> 
> (yes we need an auto update feature, will be coming soon)
> 
> > BTW, any progress on reusing the path names for the URLs, instead of the
> > numeric IDs?
> 
> I've not had time to look at this, hope to do so soon.

ok, thanks.

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org


Re: [docs] docs now links back to daisy

Posted by Ross Gardler <rg...@apache.org>.
Bruno Dumon wrote:
> On Thu, 2005-10-27 at 08:07 +0100, Ross Gardler wrote:
> 
>>The Forrest generated docs are now linking back to the daisy page for 
>>that document. It doesn't link straight back to the edit page yet, this 
>>is because the error page when a user is not logged in was quite unhelpful.
> 
> 
> IMO it would be better to link back just to the Daisy page, not to open
> the editor immediately.

OK, well that's what it does now, so that's easy for me :-))


> Something else: as you probably noticed yourself, the link is displayed
> twice at the bottom of each page.

Really?

http://forrest.zones.apache.org/ft/build/cocoon-docs/

is not showing this behaviour. Are you running with a local copy of 
Forrest? If so delete your installaion of the daisy plugin with:

rm -rf FORREST_HOME/build/plugins/org.apache.forrest.plugin.input.Daisy

and then re-run Forrest

(yes we need an auto update feature, will be coming soon)

> BTW, any progress on reusing the path names for the URLs, instead of the
> numeric IDs?

I've not had time to look at this, hope to do so soon.

Ross

Re: [docs] docs now links back to daisy

Posted by Bruno Dumon <br...@outerthought.org>.
On Thu, 2005-10-27 at 08:07 +0100, Ross Gardler wrote:
> The Forrest generated docs are now linking back to the daisy page for 
> that document. It doesn't link straight back to the edit page yet, this 
> is because the error page when a user is not logged in was quite unhelpful.

IMO it would be better to link back just to the Daisy page, not to open
the editor immediately.

Something else: as you probably noticed yourself, the link is displayed
twice at the bottom of each page.

BTW, any progress on reusing the path names for the URLs, instead of the
numeric IDs?

> 
> I've just had a reply on the Daisy list about how to change this, but I 
> don't have access to the zone. Can someone please give me access and I 
> will improve things further.
> 
> Ross

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno@outerthought.org                          bruno@apache.org