--
You received this message because you are subscribed to the Google Groups "XTF Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtf-user+u...@googlegroups.com.
To post to this group, send email to xtf-...@googlegroups.com.
Visit this group at http://groups.google.com/group/xtf-user.
For more options, visit https://groups.google.com/d/optout.
I'd just like to make a few observations (FYI, I'm in the same sub-group as Lisa, Kirk, and Martin, but I'm not in the same sub-sub-group as XTF)There are basically three types of changes to XTF.1. core java code2. core XSLT code3. custom to your app XSLT (not everyone does this)4. custom to your app HTML/CSS (one should be able to change this w/o getting deep into the XSLT)5. new features (such as an image zoomer)The way a lot of people use XTF, they just start hacking on the XSLT, sometimes just starting from the tutorial or the . Then, eventually they check that into revision control or maybe they just keep un-packing new .jar files in there working directory.In my XTF projects, I keep a branch for my project; and then every year or so I pull in the upstream changes from the main XTF repo and branch and merge them into my repo and branch. My fear is that if changes get too radical into class 2 code (and the line between type 2 and type 3 is blurry) that it will make it hard to merge upstream changes.
I have also for a long time felt a tension about the role of the default XSLT. I think Kirk and I agree that these were not really meant to be used -- these were sort of a demo "hello world" app. It is clear that there is a need for an "out of the box" XTF that looks like it was designed during this decade. If we tackle that, maybe we can come up with a better workflow for maintaining local changes and customizations.I think a new UI should use van der vlist style free XSLT style. This would make it easy for users to customize.
To keep the line between type 2 and type 3 changes sharp, I wonder if there is a way to implement something like rails or django where -- rather than editing core files -- you copy files you want to edit to a directory to override changes. Then, somehow document() and xsl:include would know to first look for the file in the local customized directory; and if it is not there it would look in the core place for the file?
Should the default XTF be "kitchen sink" style with some of everything? At some point I'd like to merge a SNAC/EAC branch into the main XTF. Would it work to have this in a branch, or should default branch have support for everything.
Less radical than re-working XTF customization -- one way might be to maintain the original default branch and a "new-ui" branch with this work -- and at some point just switch default to "legacy" and new-ui to default.
--
When I started this thread, I was mostly thinking along the lines of HTML/CSS improvement which, as Brian says, can be accomplished without modifying "core" (whatever that is) XSLT. I know that dealing with all the various docFormatters is probably the bulk of the work, but I think even just improving the crossQuery pages (specifically the ones produced by resultFormatter stylesheets) would be a huge step in the right direction.
+1 for Brian's idea of specific customization directories as well as default support for EAC.
Bridger, I'd be interested in taking a look at what you've done, so if are able to get me access to the repo, that would be great!
On Wed, Apr 2, 2014 at 1:02 PM, Bridger Dyson-Smith <bdyso...@gmail.com> wrote:
--
You received this message because you are subscribed to the Google Groups "XTF Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtf-user+u...@googlegroups.com.
To post to this group, send email to xtf-...@googlegroups.com.
Visit this group at http://groups.google.com/group/xtf-user.
For more options, visit https://groups.google.com/d/optout.
- For easier forking we could move the main source code repo from SourceForge to BitBucket or Github. Or both. Preferences?
- Could somebody rip out YUI and replace it with jQuery?
- I'd love to see somebody make a Rails or Django or AngularJS front-end as an alternative to XSLT UI code. It would just pass raw XML back and forth to stub XSLT running in XTF.
Hi Martin,Thanks for jumping in!
- For easier forking we could move the main source code repo from SourceForge to BitBucket or Github. Or both. Preferences?
I'm a Github fan, so I'd vote for that, but I'm also fine with BitBucket since I can still use Git with it.
- Could somebody rip out YUI and replace it with jQuery?
I can give that a try...all that inline JS has always given me palpitations...
- I'd love to see somebody make a Rails or Django or AngularJS front-end as an alternative to XSLT UI code. It would just pass raw XML back and forth to stub XSLT running in XTF.
I'm interested in this too - if anyone would like to collaborate on this, let me know!
--Martin
I will be using bitbucket myself because of the free private repos, but the main point is GIT is it not? It seems like the choice depends on the XTF core team's preference, because we can use whatever site we want without complications as far as I understand.
Vulcans worship peace above all. -- McCoy, "Return to Tomorrow", stardate 4768.3
--
You received this message because you are subscribed to the Google Groups "XTF Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtf-user+u...@googlegroups.com.
To post to this group, send email to xtf-...@googlegroups.com.
Visit this group at http://groups.google.com/group/xtf-user.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "XTF Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtf-user+u...@googlegroups.com.
To post to this group, send email to xtf-...@googlegroups.com.
Visit this group at http://groups.google.com/group/xtf-user.
For more options, visit https://groups.google.com/d/optout.
--Martin
To post to this group, send email to xtf...@googlegroups.com.
Visit this group at http://groups.google.com/group/xtf-user.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "XTF Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtf-user+u...@googlegroups.com.
To post to this group, send email to xtf...@googlegroups.com.
Visit this group at http://groups.google.com/group/xtf-user.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "XTF Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtf-user+u...@googlegroups.com.
To post to this group, send email to xtf...@googlegroups.com.
Visit this group at http://groups.google.com/group/xtf-user.
For more options, visit https://groups.google.com/d/optout.
--
I agree with Conal that the mechanism he describes with xsl:import and "local-tei.xsl" etc. is a good approach (better then overriding complete files which we are doing here right now).
However, my experience is that by overriding templates, in practice you are often duplicating hundreds of lines of code when you really only wanted to change a single line... this is because some of the templates (especially templates that generate HTML pages) in the default XTF XSL are quite large.
So for this approach to work conveniently (without duplicating too much code), some of the default templates need to be split up in multiple smaller templates I think.
E.g. if you want to change the line "<title>XTF: Search Results</title>", you will need to override at least two templates from resultFormatter.xsl that are each 100+ lines.Maybe this is not a very good example because the title could probably be better defined in a config or language file, but you get the point.
--
You received this message because you are subscribed to the Google Groups "XTF Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtf-user+u...@googlegroups.com.
To post to this group, send email to xtf-...@googlegroups.com.
Visit this group at http://groups.google.com/group/xtf-user.
For more options, visit https://groups.google.com/d/optout.
Hi Martin (and others who have made great suggestions),
I’m all for these improvement suggestions, especially the local customisations ideas. Not sure on the best implementation strategy for this –Conal’s suggestion would be the easiest for those already familiar with the XSLT stylesheets but does “scatter” your customisations throughout the different directories. I guess you could just create a “local” directory and symlink or such to the individual local-%blah%.xsl files. Just thinking aloud really.
+1 for git but only because it’s what I use. Just took a look at bitbucket and it looks good too.
Cheers,
Gary
GARY BROWNE |
Development Programmer
Library IT Services | Fisher Library F03
THE UNIVERSITY OF SYDNEY
T +61 2 9351 5946 | M +61 405 647 868
E gary....@sydney.edu.au
| W http://sydney.edu.au
Sent from my plain old desktop computer.
CRICOS 00026A
This email plus any attachments to it are confidential. Any unauthorised use is strictly prohibited. If you receive this email in error, please delete it and any attachments.
Please think of our environment and only print this e-mail if necessary.
--
Something similar to that was on my mind.
Hillel, since you started this thread and it sounds like you have done a large amount of work, does this sound like something you could easily merge your changes into, or would it be better to wait until you are done and then reorganize your code?
Martin, could you at least throw out the one or two things that just aren't going to make the cut? I could get closer to the goal that way.
Thanks! Seth
On Thursday, April 10, 2014 2:45:35 PM UTC-4, Martin Haye wrote:
Hi all,
Firstly, as someone else recently said, THANK YOU to all the devs and supporters of XTF. It’s been a boon for us at University of Sydney Library.
I’m excited by all this action on the list and wanted to add some ideas if I may – so glad to see XTF going from strength to strength.
What about “public” instead of “static” (or other suggestions)?
Would it be possible for XTF to follow more of a MVC-type framework? Recently I’ve been working with Laravel 4 (PHP MVC framework) but I simply used dynaXML’s doc.view=content parameter to pull XTF content in through the controller and pass it to the view. Has anyone out there been working on similar goals?
Once again, thanks to all the XTF devs, you rock!
Cheers,
Gary
GARY BROWNE |
Development Programmer
Library IT Services | Fisher Library F03
THE UNIVERSITY OF SYDNEY
T +61 2 9351 5946 | M +61 405 647 868
E gary....@sydney.edu.au
| W http://sydney.edu.au
Sent from my plain old desktop computer.
CRICOS 00026A
This email plus any attachments to it are confidential. Any unauthorised use is strictly prohibited. If you receive this email in error, please delete it and any attachments.
Please think of our environment and only print this e-mail if necessary.
From: xtf-...@googlegroups.com [mailto:xtf-...@googlegroups.com] On Behalf Of Seth
Sent: Friday, 11 April 2014 7:09 AM
To: xtf-...@googlegroups.com
Hi Martin (and others who have made great suggestions),
I’m all for these improvement suggestions, especially the local customisations ideas. Not sure on the best implementation strategy for this –Conal’s suggestion would be the easiest for those already familiar with the XSLT stylesheets but does “scatter” your customisations throughout the different directories. I guess you could just create a “local” directory and symlink or such to the individual local-%blah%.xsl files. Just thinking aloud really.
+1 for git but only because it’s what I use. Just took a look at bitbucket and it looks good too.
Cheers,
Gary
GARY BROWNE | Development Programmer
Library IT Services | Fisher Library F03
THE UNIVERSITY OF SYDNEY
To post to this group, send email to xtf...@googlegroups.com.
Visit this group at http://groups.google.com/group/xtf-user.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "XTF Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtf-user+u...@googlegroups.com.
To post to this group, send email to xtf...@googlegroups.com.
Visit this group at http://groups.google.com/group/xtf-user.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "XTF Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtf-user+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/xtf-user.
Cool. I created such a system in ours 9 years ago and proceeded to need it for only one thing, until just this week. I've generally hacked the crap out of the main sheets :-)
On Tuesday, May 16, 2017, Martin Haye <r.c.mar...@ucop.edu> wrote:
Yes, that's exactly right Dan.
--Martin
On Tue, May 16, 2017 at 1:51 PM, dan haig <ha...@nlx.com> wrote:
Having taken a quick look, it seems like these 'local' sheets are just places where you can enter an override for any given xsl:template you want to customize, is that right?
.d
On Tue, May 16, 2017 at 3:30 PM, Martin Haye <r.c.mar...@ucop.edu> wrote:
I like it. Really this is the way we should have set it up from the beginning, so that people could easily isolate their local changes from the distribution stylesheets. Any objections to merging Conal's changes? If I don't hear from anybody today, I'll go ahead.
--Martin
On Mon, May 8, 2017 at 6:52 AM, Conal Tuohy <conal...@gmail.com> wrote:
Dear XTF-users,
In line with the discussions of a few years ago, I have implemented a customisation layer for XTF, to make it easier for users to maintain their own custom version of XTF.
The change is packaged as a pull request to the CDL's XTF repository on github, and is described here.
If you maintain a locally-customized XTF, please take a look at the change, and make any comments either here or on the pull request in github.
Thanks!
Conal
--
You received this message because you are subscribed to the Google Groups "XTF Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtf-user+u...@googlegroups.com.
To post to this group, send email to xtf-...@googlegroups.com.
Visit this group at https://groups.google.com/group/xtf-user.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "XTF Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtf-user+u...@googlegroups.com.
To post to this group, send email to xtf-...@googlegroups.com.
Visit this group at https://groups.google.com/group/xtf-user.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "XTF Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtf-user+u...@googlegroups.com.
To post to this group, send email to xtf-...@googlegroups.com.
Visit this group at https://groups.google.com/group/xtf-user.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "XTF Users List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to xtf-user+u...@googlegroups.com.