Reinhard Poetz wrote:
hepabolu wrote:
I don't see a reason why we need the namespace in our published URLs
at all. The Daisy plugin could cut them off.
Sure, and I'm all for cutting it off, but in Daisy the namespace is
there so backlink from the published page should go to the namespaced
version.
Now:
Daisy: .../1.html
Published: ../1.html (<div id="EditUrl"><a href="zones.../1.html">.....)
After upgrading Daisy 2.0:
Daisy: .../1-NS.html
Published: ../1.html (<div id="EditUrl"><a href="zones.../1.html">.....)
----This is where it goes wrong ------------> ^^^^^^
no it doesn't
document-id's without namespace-suffixes are assumed to be in the
default namespace of the site
see e.g. this link;
http://cocoondev.org/daisydocs-2_0/301-cd/343-cd.html
still works in the old style referencing:
http://cocoondev.org/daisydocs-2_0/301/343
http://cocoondev.org/daisydocs-2_0/343
or even as:
http://cocoondev.org/daisy/343
this was precisely to allow people to upgrade without need to worry
about elder links (e.g in bookmarks and emails) no longer working
adding the namespace there shouldn't be that difficult ;-)
I will introduce a Daisy plugin parameter "namespace" which will be cut
off from document ids and added to edit urls.
one less argument not to update
we need to decide on a namespace though, 'cdoc' for 'cocoon docs' is my
naive first proposal.
regards,
-marc=