Re: [viewvc-users] Connecting ViewVC to XML authoring tools

"C. Michael Pilato" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.viewcvs.user
Organization CollabNet, Inc.
Message-ID <4A5DF9FE.3000607__11460.6269904927$1247672845$gmane$org@collab.net>
Philippe Nobili wrote:
> Hi everybody,
> 
> Thanks for ViewVC, which is really a nice tool. We have a short question 
> which is the following:
> 
> We keep our DocBook/XML documentation in Subversion repositories, which 
> we access though WebDAV protocol. Using ViewVC, we can easlily navigate 
> through the XML source tree, track changes, etc etc, that's fine.
> 
> Our XML authoring tool is XMLMind; it is able to load/store documents 
> from a WebDAV virtual drive, and it can also run (as a Java applet) 
> inside a Web browser.
> 
> What we would like to do now is to customize ViewVC in order to hook 
> specific actions on our XML files (e.g. View, Edit): instead of just 
> checking-out the XML document and displaying it's raw content, it would 
> send the XML file's URL to one of the XMLMind applets.
> 
> Is there a way to extend ViewVC in such a way ?

Sorry, but I guess I don't have a good enough "big picture" of your
environment, of your specific tools, and of how those things all currently
work together to answer your question.

So ... today you use XMLMind to fetch your DocBook sources from a WebDAV
Subversion share.  I can see via the docs at xmlmind.com that the
Professional Edition of this software does some special stuff in the WebDAV
storage scenario (though that's probably not required ... if you can make
your OS treat a WebDAV share as a filesystem mount, pretty much all software
can access it that way).  What you want to do is to be able to, what, click
"view" in ViewVC and have the result popup in an embedded XMLMind applet?
And then when you "save" in that applet it goes ... where?

The view bit *might* be possible by tweaking the file.ezt template such that
when files of a certain mimetype are viewed, a different chunk of template
logic executes which references your XMLMind applet and (presumably) points
that applet at the "checkout" stream of the file/rev you just tried to view.

But again, I say these things without most of the technical information I
think I need to speak with confidence about the matter.

-- 
C. Michael Pilato <[email protected]>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand

------------------------------------------------------
http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2371510

To unsubscribe from this discussion, e-mail: [[email protected]].
signature.asc (application/pgp-signature, 197 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpd+f4ACgkQokEGqRcG/W4WxACgo4zQSq8uCPqO2dlAGn1dvPO/
RD4AoLz5dejE5rQdkXNAzaXyfj9Lwrfx
=4Pe2
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.