Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Customising PURLZ Server home page and logo
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
John P  
View profile  
 More options Jan 26 2012, 12:09 pm
From: John P <jpilb...@gmail.com>
Date: Thu, 26 Jan 2012 09:09:56 -0800 (PST)
Local: Thurs, Jan 26 2012 12:09 pm
Subject: Customising PURLZ Server home page and logo
I've installed PURLZ Server and I am now trying to customise the
default home page displayed at:
http://<PURL server>/docs/index.html

This seems to be stored at:
<PURL server installation directory>/src/purl/mod-purl-documentation/
modules/mod-purl-documentation/resources/index.html

However, editing this page does not seem to change the live home page.
Is this the correct page to edit, or is it being cached somewhere
(i.e. by Netkernel)? Also similarly, I am trying to change the default
icon - /docs/images/purl-128.jpg and add a favicon.ico file, but this
does not seem to change the live content either. I've noticed some
other PURL resolvers have been customised -  such as those of the
Federal Depository Library Program and The Florida Center for Library
Automation. I'd be grateful if anyone can share their experience of
customising PURLZ Server and how they were able to edit the files.

Thanks,
John


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gary Phillips  
View profile  
 More options Feb 7 2012, 9:28 am
From: Gary Phillips <gar...@gmail.com>
Date: Tue, 7 Feb 2012 09:28:12 -0500
Local: Tues, Feb 7 2012 9:28 am
Subject: Re: Customising PURLZ Server home page and logo

Hello,

(Apologies to the list if this has been already answered, I just received
this email from the list yesterday).

John,

The files you are looking to modify are in a jar file in the modules
directory.  For our current version the file is called

mod-purl-documentation-1.6.3.jar

You have to unpack the jar file, change the files, repack and replace the
existing version, then restart PURL to see the changes.

Here's the snippet from our docs, starting at the PURL top directory
(replace x with your current version:

    cd modules
    mkdir temp
    cp mod-purl-documentation-1.x.jar temp
    cd temp
    jar xvf mod-purl-documentation-1.x.jar
    (make changes in sub directory resources, return to temp)
    (rm old jar file)
    jar cvf mod-purl-documentation-1.x.jar *
    cd ..
    cp temp/mod-purl-documentation-1.x.jar . (you probably want to
back up the current file first)
    (restart purl to see changes)

Hope this helps!  IIRC image files will be in the unpacked jar file under
resources/images.

Gary Phillips
Florida Center for Library Automation


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »