Andreas Hartmann wrote:
Doug Chestnut wrote:
[...]
That would be good, maybe using a menu item?
Then we need "checkable" menu items, but that would be nice for
the "show sidebar" functionality as well.
Good idea, should the switch be global or per document? If global, I
guess the switch could just be a file in the cache? If per document,
I guess the switch would be in the documents meta file, with a method
added to the api?
IMO the switch should be per session, i.e. a session attribute like
menuitem.<id>.checked = true | false
ahh, yes. to handle the state of the menu items (sort of a cached state
since these values could be retrieved via the api as well). Would this
introduce conflicts? What would happen if someone else toggled the
visibility of a doc node, would my session be
(menuitem.visibility.checked) updated as well?
I was thinking more of how to hold and retrieve the value of a build-in
switch for turning on/off the linkcheck feature. Perhaps something like
this in the meta data file:
<lenya:internal>
<lenya:resourceType>xhtml</lenya:resourceType>
<lenya:contentType>xml</lenya:contentType>
<lenya:checkExternalLinks>{true|false}</lenya:checkExternalLinks>
</lenya:internal>
I need to take a look at respecting robots.txt files as well.
--Doug
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]