[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Using Ken Holman's "DocBook XML" application for OASIS spec publishing [was questions about browser-viewable copies on xdi.org]
I tried apikitchen.com with the desired http://www.oasis-open.org/templates/DocBook/spec-0.6/stylesheets/oasis-specification-html.xsl and got these headers back:x-powered-by: PHP/5.3.3
transfer-encoding: chunked
set-cookie: SESS638f941c969d9c42ef2734d07eafb014=781tjkjvnnf49bqak0f71g75p6; expires=Thu, 01-Jan-2015 19:53:26 GMT; path=/; domain=.oasis-open.org
expires: Sun, 19 Nov 1978 05:00:00 GMT
server: Apache
last-modified: Tue, 09 Dec 2014 16:18:40 GMT
connection: close
etag: "8c4d0bb4d5033595b3909d793df36cd9"
cache-control: must-revalidate
date: Tue, 09 Dec 2014 16:20:06 GMT
content-type: text/html; charset=utf-8while https://www.oasis-open.org/apps/org/workgroup/portal/my_documents.php?view= gives headers:Server: Zope/(Zope 2.10.9-final, python 2.4.6, linux2) ZServer/1.1
Content-Type: text/html; charset=iso-8859-1
Connection: close
Via: 1.1 www.oasis-open.org
Date: Tue, 09 Dec 2014 16:23:28 GMT
Content-Encoding: gzip
X-Kavi-Authenticated: False
Content-Length: 2806
Vary: Accept-EncodingThe body indicates it was served from oasis.kavi.com:<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access /apps/ on this server.</p> <hr> <address>Apache Server at oasis.kavi.com Port 443</address> </body></html>Similar redirection might work for the DocBook templates directory?On Dec 8, 2014, at 3:57 PM, =Drummond Reed <drummond.reed@xdi.org> wrote:Robin, thanks much, this is something we'd love to get nailed down so we can proceed with the XDI 1.0 specs with a minimum of admin overhead.Best,=DrummondOn Mon, Dec 8, 2014 at 3:23 PM, Robin Cover <robin@oasis-open.org> wrote:ACK receipt. Joseph, I'll look into the situation and report back.- Robin Cover--On Mon, Dec 8, 2014 at 2:58 PM, Chet Ensign <chet.ensign@oasis-open.org> wrote:Hi Joseph, hi Drummond -I suspect the problem here lies with Kavi. Copying Robin on the thread as he has much more history than I do.Kavi isn't acting as a normal server would. The www.oasis-open.org/apps/... URL is going to the database underlying Kavi which then retrieves the document. I don't know how we would put a link into Kavi that would then be associated with the document when you get it back. I know that we handled that in SVN but not Kavi.Robin, do you know if I am correct on this? Can you provide any feedback to Joseph?/chetOn Sat, Dec 6, 2014 at 4:44 PM, Joseph Boyle <boyle.joseph@gmail.com> wrote:Hi Chet,For example, if I open this URI directly in Firefox or Safari on my Mac:then I see a styled version displayed in the browser. This has been our primary mode of display for editing of XDI TC’s DocBook-format drafts. (which have displayed in Chrome as well)In this case, the document points to a stylesheet hosted on the same domain name docs.open-oasis.org, which is apparently why it works.
<?xml-stylesheet type="text/xsl" href="" href="http://docs.oasis-open.org/templates/DocBook/spec-0.6/stylesheets/oasis-specification-html.xsl" target="_blank">http://docs.oasis-open.org/templates/DocBook/spec-0.6/stylesheets/oasis-specification-html.xsl"?> When we upload drafts to Kavi, we get addresses on the server www.open-oasis.org like:These never display correctly in the browser - pointing to a stylesheet at another subdomain doesn’t work (I assume due to usual browser Cross-Site Scripting restrictions), and there’s not a DocBook stylesheet and corresponding installation on www.oasis-open.org.I think if the server simply had a symbolic link so that URIs like www.oasis-open.org/templates/DocBook/… would return the corresponding results from the existing installation docs.oasis-open.org/templates/DocBook/… then drafts on Kavi should be displayable in the browser.Thanks, JosephOn Dec 2, 2014, at 9:51 AM, Chet Ensign <chet.ensign@oasis-open.org> wrote:Hi Drummond -That'd be me. I have an action item to update the Docbook publishing environment anyway. Which is woefully behind but different story there...Joseph, when you write "... www.open-oasis.org, the server where uploaded drafts live...", do you mean the links as they are done in Kavi? I don't understand why a link on www.oasis-open.org would be needed. What I consider the official copy of the Docbook installation is the one on docs.oasis-open.org.Not arguing here - just looking to understand.Thanks,/chetOn Mon, Nov 24, 2014 at 12:16 AM, =Drummond Reed <drummond.reed@xdi.org> wrote:Joseph, it sounds like you and Markus are in violent agreement on this. Who do we need to contact at OASIS to "make it so"?On Sat, Nov 22, 2014 at 5:15 PM, Joseph Boyle <boyle.joseph@gmail.com> wrote:We still should ask OASIS to host a copy of (or symlink) the DocBook installation from www.open-oasis.org, the server where uploaded drafts live. That would allow us to always use the HTTP form of the stylesheet reference, preferably from a fixed well-known relative address that might even let us leave out the domain name and make it domain independent.On Nov 22, 2014, at 9:11 AM, Markus Sabadello <markus.sabadello@xdi.org> wrote:And sometimes it's this:Sometimes it's this:Sometimes it's this:I'm just not sure about #3.The stylesheet references in Github are currently very chaotic, sometimes it's this:
<?xml-stylesheet type="text/xsl"
href="" href="http://docs.oasis-open.org/templates/DocBook/spec-0.6/stylesheets/oasis-specification-html.xsl" target="_blank">http://docs.oasis-open.org/templates/DocBook/spec-0.6/stylesheets/oasis-specification-html.xsl"?>
<?xml-stylesheet type="text/xsl"
href="" href="http://xdi.org/xdi-spec-docbook/htmlruntime/spec-0.6/stylesheets/oasis-specification-html.xsl" target="_blank">http://xdi.org/xdi-spec-docbook/htmlruntime/spec-0.6/stylesheets/oasis-specification-html.xsl"?>
<?xml-stylesheet type="text/xsl"
href="">
<?xml-stylesheet type="text/xsl"
href="">
I understand they all work or don't work under different circumstances, but we should have a rule for which one we use in Github, Kavi, xdi.org etc., and stick to that rule consistently in all specs.
Markus--
/chet [§]
----------------
Chet Ensign
Director of Standards Development and TC Administration
OASIS: Advancing open standards for the information society
http://www.oasis-open.org
Primary: +1 973-996-2298
Mobile: +1 201-341-1393Check your work using the Support Request Submission Checklist at http://www.oasis-open.org/committees/download.php/47248/tc-admin-submission-checklist.html
TC Administration information and support is available at http://www.oasis-open.org/resources/tcadmin
Follow OASIS on:
LinkedIn: http://linkd.in/OASISopen
Twitter: http://twitter.com/OASISopen
Facebook: http://facebook.com/oasis.open--
/chet [§]
----------------
Chet Ensign
Director of Standards Development and TC Administration
OASIS: Advancing open standards for the information society
http://www.oasis-open.org
Primary: +1 973-996-2298
Mobile: +1 201-341-1393Check your work using the Support Request Submission Checklist at http://www.oasis-open.org/committees/download.php/47248/tc-admin-submission-checklist.html
TC Administration information and support is available at http://www.oasis-open.org/resources/tcadmin
Follow OASIS on:
LinkedIn: http://linkd.in/OASISopen
Twitter: http://twitter.com/OASISopen
Facebook: http://facebook.com/oasis.openRobin Cover
OASIS, Director of Information Services
Editor, Cover Pages and XML Daily Newslink
Email: robin@oasis-open.org
Staff bio: http://www.oasis-open.org/people/staff/robin-cover
Cover Pages: http://xml.coverpages.org/
Newsletter: http://xml.coverpages.org/newsletterArchive.html
Tel: +1 972-296-1783
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]