Re: [CODE4LIB] XSLT Advice

2015-06-03 Thread Matt Sherman
Thanks for all the suggestions folks, other things at work have
prevented me from working on this quite yet but there is a lot of
helpful advice and suggestions here so thanks.  As a note on the
xsl:for-each that is actually the default dc_oai.xsl file for DSpace
and not my own work so feel free to ding the folks over there for that
choice.  This gives me a better feel for how XSLT hands conditionals
and some ideas on how to tackle it.  Though I would be curious to ask
if there is a reason to default to xsl:if vs. xsl:choose?  I'm not
sure that I necessarily need a switch to fix this problem but I want
to hear the thought process so I know how to better think over these
options in the future.

On Tue, Jun 2, 2015 at 5:21 PM, Boheemen, Peter van
peter.vanbohee...@wur.nl wrote:
 You should use a template that is only applied when the specified field is 
 there. These templates in xslt are applied automatically only if the field is 
 there:

 xsl:template 
 match=doc:metadata/doc:element[@name='dc']/doc:element[@name='publication']/doc:element[@name='volume']/doc:element/doc:field[@name='value']
   xsl:textVol. /xsl:text
  xsl:apply-templates/
 /xsl:template

 If the field is defined, but empty you should do:

 xsl:template 
 match=doc:metadata/doc:element[@name='dc']/doc:element[@name='publication']/doc:element[@name='volume']/doc:element/doc:field[@name='value']
   xsl:if test=not(.='')
  xsl:textVol. /xsl:text
  xsl:apply-templates/
   /xsl:if
 /xsl:template

 Xslt is not a procedural language, you should hardly ever use xsl:for-each

 Peter


 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Matt 
 Sherman
 Sent: dinsdag 2 juni 2015 21:35
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: Re: [CODE4LIB] XSLT Advice

 Cool.  I talked to Ron via phone so I am getting a better picture, but I am 
 still happy to take more insights.

 So the larger context.  I inherited a DSpace instance with three custom 
 metadata fields which actually have some useful publication information, 
 though they improperly titled them in by associating them with a dc prefix 
 but there were two many to fix quickly and they haven't broken DSpace yet so 
 we continue.  So I added to the XSL to pull the data within the the custom 
 fields to display publication name Vol. publication volume Issue 
 publication issue.  That worked really well until I realized that there was 
 no conditional so even when the fields are empty I still get: 
 dc:identifierVol.
 Issue/dc:identifier

 So here are the Custom Metadata fields:

 dc.publication.issue
 dc.publication.name
 dc.publication.volume


 Here is the customized XSLT, with dc.identifier added for context of what the 
 rest of the sheet looks like.

 !-- dc.identifier --
 xsl:for-each
 select=doc:metadata/doc:element[@name='dc']/doc:element[@name='identifier']/doc:element/doc:field[@name='value']
 dc:identifierxsl:value-of select=. //dc:identifier
 /xsl:for-each

 !-- dc.identifier.* --
 xsl:for-each 
 select=doc:metadata/doc:element[@name='dc']/doc:element[@name='identifier']/doc:element/doc:element/doc:field[@name='value']
 dc:identifierxsl:value-of select=. //dc:identifier 
 /xsl:for-each

 !-- dc.publication fields to dc.identifier -- dc:identifierxsl:value-of 
 select=doc:metadata/doc:element[@name='dc']/doc:element[@name='publication']/doc:element[@name='name']/doc:element/doc:field[@name='value']/xsl:text
 Vol. /xsl:textxsl:value-of
 select=doc:metadata/doc:element[@name='dc']/doc:element[@name='publication']/doc:element[@name='volume']/doc:element/doc:field[@name='value']/xsl:text
 Issue /xsl:textxsl:value-of
 select=doc:metadata/doc:element[@name='dc']/doc:element[@name='publication']/doc:element[@name='issue']/doc:element/doc:field[@name='value']//dc:identifier


 Ron suggested that using choose and when and that does seem to make the most 
 sense.  The other trickiness is that I have found that some of these fields 
 as filled when others are blank, such as their being a volume but not an 
 issue.  So I need to figure out how to test multiple fields so that I can 
 have it display differently dependent on what has data or not at all none of 
 the fields are filled, which is the case in items such as posters.

 So any thoughts would help.  Thanks.

 On Tue, Jun 2, 2015 at 2:50 PM, Wick, Ryan ryan.w...@oregonstate.edu wrote:
 I agree with Stuart, post the example here.

 Or if you want more real-time chat there's always #code4lib IRC.

 For an XSLT resource, Dave Pawson's site is great:
 http://www.dpawson.co.uk/xsl/sect2/sect21.html

 Ryan Wick

 -Original Message-
 From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf
 Of Stuart A. Yeates
 Sent: Tuesday, June 02, 2015 11:46 AM
 To: CODE4LIB@LISTSERV.ND.EDU
 Subject: Re: [CODE4LIB] XSLT Advice

 There are a number of experienced xslt'ers here. Post your example to the 
 group so we can all learn.

 

[CODE4LIB] ALCTS Role of the Professional Librarian in Technical Services Interest Group at ALA Annual 2015

2015-06-03 Thread Jennifer Eustis
Please excuse cross postings
_

ALCTS Role of the Professional Librarian in Technical Services Interest Group 
at ALA Annual 2015 

ALCTS Role of the Professional Librarian in Technical Services (RPLTS) Interest 
Group 
Saturday, June 27, 2015, 10:30 am – 11:30 am 
Location: Moscone Convention Center 124 (N) 
Add this event to your 2015 Annual schedule:  http://alaac15.ala.org/node/29220 

Please join the Role of the Professional Librarian in Technical Services 
Interest Group as we explore the challenges and opportunities of advancing to a 
higher administrative level in academic libraries.  Have you ever wondered if 
you should make this move?  Have you considered what it would take to reach 
that higher level? How can you be sure you’re on the right path? Three recently 
appointed administrators  will discuss their move from department head to upper 
library administration.  They will share the lessons learned from the search 
process and how they handled the inevitable transition issues.  The panelists 
represent three viewpoints: Pixey Mosley made the move as an internal 
candidate; Paula Sullenger spent many years at one institution before becoming 
an administrator elsewhere, and Carmelita Pickett rose in responsibility at 
multiple institutions. The panelists will have advice and encouragement for 
your situation. 

Speakers: 

Pixey Mosley
Associate Dean for Administrative and Faculty Services 
Texas AM University Libraries 

Paula Sullenger 
Associate Dean for Information Resources 
Texas AM University Libraries 

Carmelita Pickett 
Associate University Librarian 
University of Iowa Libraries 


Re: [CODE4LIB] API to retrieve scholarly publications by author

2015-06-03 Thread Amanda French
Microsoft Academic Search leans heavily toward scholarly publications in 
Computer Science, FYI. Great for that topic, though.


Amanda L. French, Ph.D.
Director, Digital Research Services
University Libraries, Virginia Tech
Phone: (540) 231-1108
Jabber: alfre...@im.vt.edu
Twitter: @amandafrench
Skype: amandafrenchphd

On 5/21/15 9:27 AM, Alex Armstrong wrote:

Thanks for the responses; keep them coming, if you have other ideas.

It's hard to demarcate domains, but my userbase consists largely of 
librarians and liberal arts faculty.


I wasn't at all aware of Microsoft Academic Search. Their content 
looks thorough, though it doesn' include books:

http://academic.research.microsoft.com/About/Help.htm#5

snip


Re: [CODE4LIB] LC classifications in structured format?

2015-06-03 Thread Trail, Nate
(Nate Trail here).  Yes, we do have plans to convert all the schedules and 
their tables to linked data, but we’re more focused on other aspects of linked 
data (BIBFRAME) right now…  We might be able to get out a full download of the 
5 we have, but I’m not sure how much good that does. Would it be useful?

I’m glad for your interest.



Nate



-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Karl 
Grossner
Sent: Tuesday, June 02, 2015 11:35 PM
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] LC classifications in structured format?



thanks for the responses - queries against 5 classes _are_ possible using the 
linked data search interface, but no bulk download is available (I asked and 
was told no by Mark Trail of LC, and that the original MARC data is tied up in 
cost recovery statutes).



LCC is also browsable and searchable via the Classification Web service, but no 
downloads.



I'm hoping that someone has done this slog and has made it available. If I wind 
up doing it all (I began with just two letters), I *will* make it freely 
available!


[CODE4LIB] Automating Windows Updates on Deep Freeze computers

2015-06-03 Thread Kyle Breneman
Does anybody out there have a process in place that allows for regular,
automatic download and installation of Windows Updates on computers that
are running Deep Freeze?  Currently we manually thaw the computers, then
check for, download and install any updates, before manually freezing the
computers again.  With only 2 PCs, its not a big deal, but it would be nice
to know if there's a way to automate this process.

Regards,
Kyle


Re: [CODE4LIB] Automating Windows Updates on Deep Freeze computers

2015-06-03 Thread Lolis, John
This is one of those things that I've been meaning to tackle myself.  I
guess it's time.

I just did a search on your subject and found this:
http://support.faronics.com/Knowledgebase/Article/View/297/8/how-are-windows-updates-handled-on-deep-freeze-protected-computers

With the latest version (v7.5), they added a nice feature that will
download updates to a frozen system and retain them for updating when the
system is thawed.


John Lolis
Coordinator of Computer Systems
White Plains Public Library
100 Martine Avenue
White Plains, NY  10601

tel: 1.914.422.1497
fax: 1.914.422.1452

http://whiteplainslibrary.org/

On Wed, Jun 3, 2015 at 11:03 AM, Kyle Breneman tomeconque...@gmail.com
wrote:

 Does anybody out there have a process in place that allows for regular,
 automatic download and installation of Windows Updates on computers that
 are running Deep Freeze?  Currently we manually thaw the computers, then
 check for, download and install any updates, before manually freezing the
 computers again.  With only 2 PCs, its not a big deal, but it would be nice
 to know if there's a way to automate this process.

 Regards,
 Kyle



Re: [CODE4LIB] LC classifications in structured format?

2015-06-03 Thread Karl Grossner
Nate - 

Terribly sorry to have crossed up your name! Yes, the 5 LC classes would be of 
use at this point, as I'm experimenting and 5 is a reasonable sample.

Karl


Re: [CODE4LIB] Automating Windows Updates on Deep Freeze computers

2015-06-03 Thread Joel Marchesoni
We currently have a maintenance window set up once a week during a time when 
we're closed and have Windows Update set to run during that period with some 
padding time before and after.

For example, if the maintenance window is 2:30 am to 6:30 am we set Windows 
Update to run at 3:00 am. It works relatively well given that we close at 1:00 
am at the latest and open at 7:30 am at the earliest.

However, the auto-download set up by DeepFreeze looks promising!

FWIW we're running 7.21.

Joel Marchesoni
Tech Support Analyst
Hunter Library, Western Carolina University
http://library.wcu.edu/

-Original Message-
From: Code for Libraries [mailto:CODE4LIB@LISTSERV.ND.EDU] On Behalf Of Lolis, 
John
Sent: Wednesday, June 03, 2015 11:21
To: CODE4LIB@LISTSERV.ND.EDU
Subject: Re: [CODE4LIB] Automating Windows Updates on Deep Freeze computers

This is one of those things that I've been meaning to tackle myself.  I guess 
it's time.

I just did a search on your subject and found this:
http://support.faronics.com/Knowledgebase/Article/View/297/8/how-are-windows-updates-handled-on-deep-freeze-protected-computers

With the latest version (v7.5), they added a nice feature that will download 
updates to a frozen system and retain them for updating when the system is 
thawed.


John Lolis
Coordinator of Computer Systems
White Plains Public Library
100 Martine Avenue
White Plains, NY  10601

tel: 1.914.422.1497
fax: 1.914.422.1452

http://whiteplainslibrary.org/

On Wed, Jun 3, 2015 at 11:03 AM, Kyle Breneman tomeconque...@gmail.com
wrote:

 Does anybody out there have a process in place that allows for 
 regular, automatic download and installation of Windows Updates on 
 computers that are running Deep Freeze?  Currently we manually thaw 
 the computers, then check for, download and install any updates, 
 before manually freezing the computers again.  With only 2 PCs, its 
 not a big deal, but it would be nice to know if there's a way to automate 
 this process.

 Regards,
 Kyle



[CODE4LIB] Call for Volunteers: Library Pipeline

2015-06-03 Thread Brett Bonfield
Library Pipeline is a new, all-volunteer nonprofit that is dedicated to
supporting structural changes by providing opportunities, funding, and
services that improve the library as an institution and librarianship as a
profession.

* Website: https://www.librarypipeline.org/
* Twitter: https://twitter.com/librarypipeline/
* Volunteer form (the initial call for volunteers went our earlier today:
https://docs.google.com/forms/d/1n5j9T9xhfJMCV9feVZZ1M2ajK5HfofWKGvtP5ANbyps/viewform

We're structured like DPLA: we have an advisory board, mainly to make sure
the committees aren't undermining each other, but almost all of the work
will take place within the committees (what DPLA calls workstreams). This
way of doing things, called the Constellation Model, should feel familiar:
it's borrowed from the way open source projects tend to operate.

Why is this is relevant to code4lib? One of the committees, Innovation and
Startups, is only going to be successful if people who know library tech
really, really well get involved. Here's the charge for that committee:

Innovation within LIS

We are inspired by incubators and accelerators and believe the library and
information market, though mostly dormant, could support several dozen
for-profit and nonprofit start-ups. The catalyst will be mitigating
founders’ downside risk by funding six months of development, getting them
quick feedback from representative users, and helping them gain customers
or donors.

We are committed to advising and either directly or indirectly funding
library-related for-profit or nonprofit startups that have the potential to
help libraries better serve their communities and constituents. We
anticipate providing assistance with business plans and grant applications,
as well as with networking, both in finding potential funders and partners,
as well as developers, outreach specialists, technical writers, and others
with domain expertise.

Part of our ongoing sustainability will be achieved by receiving finder’s
fees, a percentage of overhead, or an ownership stake, as appropriate, when
working with for-profit companies. When working with nonprofits, we could
serve as their fiscal agent, lead partner, or provide grant management
services, while charging a lower overhead fees than universities and other
organizations that typically serve LIS-related nonprofits.

The Innovation within LIS Committee will:

* Put out a call for volunteers by early June 2015;

* Select from among its members a chair and vice chair or, alternatively,
co-chairs, along with a basic organizing and communication structure, by
the middle of July 2015;

* Review its charge and request that the Library Pipeline board make any
necessary amendments by the end of July 2015;

* Conduct an environmental scan by the end of October 2015 to assess the
greatest needs conducive to innovative activities within LIS, as well as
important needs that can be met quickly—the low-hanging fruit;

* Create basic budgets for the needs it identifies, and share its work with
the Governance and Sustainability committee in order to help create
fundraising priorities and plans, along with methods for assessing its
effectiveness.

Some clarifications, just because I want to make sure I'm not
misrepresenting where we are in the process:

* We don't yet have funding. We've come close, but haven't yet received a
grant. So one of the tasks this committee will do is help us improve the
case we're making to funders.

* We don't yet have our 501(c)(3). We're planning to work with another
nonprofit that will serve as our fiscal agent while we put in our
application.

We hope you'll help us with this work--either on the committee described
above or one of the others. If you have questions, I'm happy to answer them.

Brett


[CODE4LIB] DCMI Webinar: Implementing Linked Data in Low-Resource Conditions

2015-06-03 Thread DCMI Announce
*** Please excuse the cross postings ***

*Implementing Linked Data in Low-Resource Conditions*
*DCMI/ASIST Joint Webinar*


*:: Date:* Wednesday, 17 June 2015
*:: Time:* 10:00am EDT (World Clock: 14:00 UTC http://bit.ly/1mlZeL7)
*:: Presenters:* Johannes Keizer  Caterina Caracciolo
*:: Website:*
http://wiki.dublincore.org/index.php/DCMI_Handbook/webinars#keizer
*:: FREE Registration:*
https://attendee.gotowebinar.com/register/4753836746115031554


*ABOUT THE WEBINAR:*

Opening up and linking data is becoming a priority for many data producers
because of institutional requirements, or to consume data in newer
applications, or simply to keep pace with current development. Since 2014,
this priority has gaining momentum with the Global Open Data in Agriculture
and Nutrition initiative (GODAN). Typical small and medium-size
institutions have to deal with constrained resources, which often hamper
their possibilities for making their data publicly available. Keizer and
Caracciolo will provide an overview of bottlenecks that institutions
typically face when entering the world of open and linked data, and will
provide recommendations on how to proceed. They will also discuss the use
of standard and linked vocabularies to produce linked data, especially in
the area of agriculture. They will describe AGRISAs, a web-based resource
linking agricultural datasets as an example of linked data application
resulting from the collaboration of small institutions. They will also
mention AgriDrupal, a Drupal distribution that supports the production and
consumption of linked datasets. This webinar will be of interest to any
institution seeking ways to publish and curate data in the Linked Data
World.

*Redux: This is an update of a webinar first presented in 2013*.

*ABOUT THE PRESENTERS:*

*Johannes Keizer *has worked for the Food and Agriculture Organization of
the UN since 1998, primarily as head of the FAO documentation group. The
bibliographic database AGRIS and the multilingual concept scheme AGROVOC
were completely remodeled under his leadership. In the Office of Knowledge
Exchange, Research and Extensions, he heads a staff of 20—the AIMS
(Agricultural Information Management Standards and Services) team—which
provides standards, tools, and advice for FAO stakeholders. The AIMS Team
provides the technical backbone for the global Coherence in Information for
Agricultural Research for Development (CIARD) Initiative. Through EC
framework projects such as NeON, D2Science, and agINFRA, the AIMS Team has
channeled the results of innovative European research into the
international work of FAO to combat hunger and poverty in the world.

*Caterina Caracciolo*, PhD, has served as an Information Specialist at the
Food and Agriculture Organization of the United Nations (FAO) since 2006.
Currently, she is responsible for the AGROVOC Concept Scheme, and
participates in the GACS Working Group and the Wheat Data Interoperability
Working Group (RDA). Her main interest lay in the area of semantics for
data integration and sharing, with a special focus on data specific to the
domains of agriculture, biodiversity, natural science and environment in
the broad sense. She regularly serves on program committees for
international conferences and publishes in conference proceedings and
journals in the area of semantic web and information sharing in agriculture
and biodiversity. She has worked in various EC-funded projects and served
as also served as Work Package leader in the NeOn and SemaGrow projects.

For more information and to register, visit
http://wiki.dublincore.org/index.php/DCMI_Handbook/webinars#keizer.

Register now for *FREE* at
https://attendee.gotowebinar.com/register/4753836746115031554.