Re: [Dspace-tech] adding static pages to a DSpace site using xmlui

2009-02-20 Thread Mark H. Wood
On Fri, Feb 20, 2009 at 09:10:08AM +, Andrew Marlow wrote:
> On Thu, Feb 19, 2009 at 7:18 PM, Pottinger, Hardy J. <
> pottinge...@umsystem.edu> wrote:
> 
> > Hi, I'm dotting an 'i' with this message... I have found that the
> > approach detailed here:
> >
> > http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg04894.h
> > tml
> >
> > works splendidly for serving static DRI pages (like a help page, an
> > about page, etc.).
> 
> 
> There is an alternative I've just discovered. Apache can be configured to
> redirect certain URLs to tomcat. So you can route everything through apache.
> This allows you to set up static content simply by putting it in htdocs in
> the usual way. The apache modules mod_proxy and mod_proxy_http are needed
> for this.

Ah, if you are using HTTPD and want to do static content that way, and
you are using mod_jk as the connector, then you should be able to
simply jkUnmount the appropriate point in local URL-space to have it
(and dependents) excluded from forwarding to the servlet container.
I've done that for things like the marker file you have to have for
validation of Google Webmaster Tools setup, and suchlike.

There's probably a similar way to do it when using mod_proxy_ajp as
the connector, but I have no experience with that one yet.

-- 
Mark H. Wood, Lead System Programmer   mw...@iupui.edu
Friends don't let friends publish revisable-form documents.


pgpOP2u4CG6th.pgp
Description: PGP signature
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] adding static pages to a DSpace site using xmlui

2009-02-20 Thread Andrew Marlow
On Thu, Feb 19, 2009 at 7:18 PM, Pottinger, Hardy J. <
pottinge...@umsystem.edu> wrote:

> Hi, I'm dotting an 'i' with this message... I have found that the
> approach detailed here:
>
> http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg04894.h
> tml
>
> works splendidly for serving static DRI pages (like a help page, an
> about page, etc.).


There is an alternative I've just discovered. Apache can be configured to
redirect certain URLs to tomcat. So you can route everything through apache.
This allows you to set up static content simply by putting it in htdocs in
the usual way. The apache modules mod_proxy and mod_proxy_http are needed
for this.
-- 
Regards,

Andrew M.
http://www.andrewpetermarlow.co.uk
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] adding static pages to a DSpace site using xmlui

2009-02-19 Thread Pottinger, Hardy J.
Hi, I'm dotting an 'i' with this message... I have found that the
approach detailed here:

http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg04894.h
tml

works splendidly for serving static DRI pages (like a help page, an
about page, etc.). All that's required is adding the code from the
message above, to an overlay of the ArtifactBrowser/sitemap.xmap. More
info on how to set up an aspect overlay can be found in Tim Donohue's
presentation 

http://www.dspace.org/images/Training_Materials/or2008-1.5training.pdf

and in our exchange on the topic from earlier today.

I did tweak the sitemap.xmap code a tiny bit, from that message, so I'm
including it here, in case it helps anyone. I put this snippet of code
after the chunk that deals with the feedback form.










Then, just link to [dspace.url]/pages/your_page

and the contents of

[dspace.dir]/config/pages/your_page.xml will be transformed and
displayed for you. Hooray!

Here's an example of the DRI, from our about.xml:

http://di.tamu.edu/DRI/1.0/";
xmlns:i18n="http://apache.org/cocoon/i18n/2.1"; version="1.1">



About Our Repository
As soon as we're sure this is working, this will serve as an
introduction to Our Repository.





About Our Repository
Repository Home





HTH

--Hardy  

> -Original Message-
> From: Dorothea Salo [mailto:ds...@library.wisc.edu] 
> Sent: Wednesday, February 18, 2009 2:34 PM
> To: Dspace Tech
> Subject: Re: [Dspace-tech] adding static pages to a DSpace 
> site using xmlui
> 
> On Wed, Feb 18, 2009 at 2:13 PM, Pottinger, Hardy J.
>  wrote:
> 
> > At your suggestion, I have tried substituting 
>  in
> > place of , again with multiple permutations 
> of path. This
> > also does not appear to work.
> 
> Then it's probably not finding the relative location. Try 
> doing an absolute URL.
> 
> > The more I think about it, this whole business of shoehorning static
> > code at this level seems wrong. I am going to see if I can 
> spelunk my
> > way through figuring out the cocoon-based method. Ideally, what's
> > required here is an aspect which would accommodate 
> displaying any number
> > of static DRI files.
> 
> Yes, I asked for this awhile ago. :)
> 
> Dorothea
> 
> -- 
> Dorothea Salods...@library.wisc.edu
> Digital Repository Librarian  AIM: mindsatuw
> University of Wisconsin
> Rm 218, Memorial Library
> (608) 262-5493
> 
> --
> 
> Open Source Business Conference (OSBC), March 24-25, 2009, 
> San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing 
> the Enterprise
> -Strategies to boost innovation and cut costs with open 
> source participation
> -Receive a $600 discount off the registration fee with the 
> source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] adding static pages to a DSpace site using xmlui

2009-02-18 Thread Dorothea Salo
On Wed, Feb 18, 2009 at 2:13 PM, Pottinger, Hardy J.
 wrote:

> At your suggestion, I have tried substituting  in
> place of , again with multiple permutations of path. This
> also does not appear to work.

Then it's probably not finding the relative location. Try doing an absolute URL.

> The more I think about it, this whole business of shoehorning static
> code at this level seems wrong. I am going to see if I can spelunk my
> way through figuring out the cocoon-based method. Ideally, what's
> required here is an aspect which would accommodate displaying any number
> of static DRI files.

Yes, I asked for this awhile ago. :)

Dorothea

-- 
Dorothea Salods...@library.wisc.edu
Digital Repository Librarian  AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] adding static pages to a DSpace site using xmlui

2009-02-18 Thread Pottinger, Hardy J.
Hi, Dorothea, thanks for your response! Here's the code suggested by the
wiki, in full:

   
   
   
   
   
   
   
   About us
   Lorem Ipsum dolor si amet
   
   
   
   
   
   
   
   
   
   
   
   

I have confirmed that embedding the content within the template.xml (the
'about us' sample above) works, though I'll have to duplicate the logic
elsewhere in the template in order to change the title. The 
 code does not work for me,
in any permutation of path to the document, and with multiple copies of
faq.xml sprinkled liberally around the code tree :-)

At your suggestion, I have tried substituting  in
place of , again with multiple permutations of path. This
also does not appear to work.

The more I think about it, this whole business of shoehorning static
code at this level seems wrong. I am going to see if I can spelunk my
way through figuring out the cocoon-based method. Ideally, what's
required here is an aspect which would accommodate displaying any number
of static DRI files.

I have a promising lead here:

http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg04894.h
tml

as well as a number of posts on your wonderful blog. I'll let the list
know if I get anywhere.

I'll also renew my query: if anyone on the list has done something like
this in the past, please contact me on or off list, I'd love to pick
your brain.

--Hardy  

> -Original Message-
> From: Dorothea Salo [mailto:ds...@library.wisc.edu] 
> Sent: Wednesday, February 18, 2009 10:13 AM
> To: Dspace Tech
> Cc: Van Ly; Diggory Mark
> Subject: Re: [Dspace-tech] adding static pages to a DSpace 
> site using xmlui
> 
> On Thu, Feb 12, 2009 at 10:25 PM, Pottinger, Hardy J.
>  wrote:
> > Hi, thanks Mark and Van, mvn and ant move these new files just fine
> > (they are where you suggested, Mark). My issue is that the 
> modification
> > to template.xml suggested by the wiki...
> >
> > 
> http://wiki.dspace.org/index.php/Manakin_theme_tutorial#Adding
> _static_pa
> > ges
> >
> > ...does not appear to work. I did try to feed "xsl:copy-of 
> select" the
> > full path (/themes/[your-theme]/pages/add.xml), as I 
> thought maybe that
> > was what you were suggesting, but I'm still seeing a Page not found
> > error in the title of the page, and a blank body (i.e. all 
> the other>
> 
> Okay, your problem is that you can't  an external
> document. You have to do a document() call. What will probably work is
> some variation on
> 
> http://path-to-your-doc.html)"/>
> 
> I'm not sure off the top of my head whether you should be using the
> http: or cocoon: scheme, or whether the path should be absolute or
> relative (though absolute *should* work), but play around a bit and
> see if this doesn't fix it.
> 
> Dorothea
> 
> -- 
> Dorothea Salods...@library.wisc.edu
> Digital Repository Librarian  AIM: mindsatuw
> University of Wisconsin
> Rm 218, Memorial Library
> (608) 262-5493
> 
> --
> 
> Open Source Business Conference (OSBC), March 24-25, 2009, 
> San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing 
> the Enterprise
> -Strategies to boost innovation and cut costs with open 
> source participation
> -Receive a $600 discount off the registration fee with the 
> source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] adding static pages to a DSpace site using xmlui

2009-02-18 Thread Dorothea Salo
On Thu, Feb 12, 2009 at 10:25 PM, Pottinger, Hardy J.
 wrote:
> Hi, thanks Mark and Van, mvn and ant move these new files just fine
> (they are where you suggested, Mark). My issue is that the modification
> to template.xml suggested by the wiki...
>
> http://wiki.dspace.org/index.php/Manakin_theme_tutorial#Adding_static_pa
> ges
>
> ...does not appear to work. I did try to feed "xsl:copy-of select" the
> full path (/themes/[your-theme]/pages/add.xml), as I thought maybe that
> was what you were suggesting, but I'm still seeing a Page not found
> error in the title of the page, and a blank body (i.e. all the other>

Okay, your problem is that you can't  an external
document. You have to do a document() call. What will probably work is
some variation on

http://path-to-your-doc.html)"/>

I'm not sure off the top of my head whether you should be using the
http: or cocoon: scheme, or whether the path should be absolute or
relative (though absolute *should* work), but play around a bit and
see if this doesn't fix it.

Dorothea

-- 
Dorothea Salods...@library.wisc.edu
Digital Repository Librarian  AIM: mindsatuw
University of Wisconsin
Rm 218, Memorial Library
(608) 262-5493

--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] adding static pages to a DSpace site using xmlui

2009-02-17 Thread Pottinger, Hardy J.
Hi, I thought I'd ask this again, in case my message got lost over the
weekend. The Manakin theme tutorial on the wiki suggests a few
alternative methods for including static pages in a DSpace site using
XMLUI. I have attempted to use option 1, which involves modifying the
template.xsl for the theme to pull in static content. I have not been
successful in getting this to work. Even if I did manage to get the
content to appear in the body of the site, I believe I'll need to
duplicate the same logic in order to change the title attribute for the
page (which, if you follow the example code, gets set by the system to
"page not found").

So, what I'm interested in trying now is option 2:

"2. Cocoon-based method. You could use cocoon to check the url right
after the generation step, and then add in your own static DRI page.
This method requires that all your static pages be expressed as DRI and
then transformed into HTML by your standard theme templates. This method
is useful if you will have lots of static pages that need to be managed,
but requires modifying the cocoon sitemap.xmap"

Has anyone tried this successfully? I'd love to see an example or two.
Would someone be interested in sharing one with me, or with the list?

If anyone does have an example, I will commit to adding it to the wiki,
once I've got the code working.

Thanks!

--Hardy  

> -Original Message-
> From: Pottinger, Hardy J. [mailto:pottinge...@umsystem.edu] 
> Sent: Thursday, February 12, 2009 10:26 PM
> To: Diggory Mark; Van Ly
> Cc: dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] adding static pages to a DSpace 
> site using xmlui
> 
> Hi, thanks Mark and Van, mvn and ant move these new files just fine
> (they are where you suggested, Mark). My issue is that the 
> modification
> to template.xml suggested by the wiki...
> 
> http://wiki.dspace.org/index.php/Manakin_theme_tutorial#Adding
> _static_pa
> ges
> 
> ...does not appear to work. I did try to feed "xsl:copy-of select" the
> full path (/themes/[your-theme]/pages/add.xml), as I thought 
> maybe that
> was what you were suggesting, but I'm still seeing a Page not found
> error in the title of the page, and a blank body (i.e. all the other
> normal DSpace content is there, just the body section is blank). I can
> definitely confirm the files are all where they are supposed to be.
> 
> >From your responses, I am assuming that, to add static 
> content, you have
> just added a static xhtml page and linked directly to it? 
> What I'm after
> is adding some basic static content within the DSpace site 
> framework, so
> that other dynamic aspects, namely login, persist on the page.
> 
> One other option mentioned on the wiki is:
> 
> "2. Cocoon-based method. You could use cocoon to check the url right
> after the generation step, and then add in your own static DRI page.
> This method requires that all your static pages be expressed 
> as DRI and
> then transformed into HTML by your standard theme templates. 
> This method
> is useful if you will have lots of static pages that need to 
> be managed,
> but requires modifying the cocoon sitemap.xmap."
> 
> But this isn't fleshed out in as much detail, and I'm not sure I
> understand what it is I'd need to do with the sitemap.xmap file to get
> it going. If anyone has tried this approach, could you 
> forward a sample
> to me? I haven't the foggiest idea how to express something as DRI
> [hangs head in shame], but this would probably be a fantastic way to
> learn! :-)
> 
> The final option mentioned, using Apache to proxy to/from another
> server, is my failsafe option... I'm sure I could get that 
> working, but
> it would not be ideal.
> 
> --Hardy  
> 
> > -Original Message-
> > From: Diggory Mark [mailto:mdigg...@gmail.com] 
> > Sent: Thursday, February 12, 2009 7:28 PM
> > To: Van Ly
> > Cc: Pottinger, Hardy J.; dspace-tech@lists.sourceforge.net
> > Subject: Re: [Dspace-tech] adding static pages to a DSpace 
> > site using xmlui
> > 
> > The best location is
> > 
> > [src]/dspace-1_5_1/dspace/modules/xmlui/src/main/webapp/themes
> > /[your-theme]/...
> > 
> > This will allow you to access them from that path 
> > "/themes/[your-theme]"
> > 
> > I believe the location below will not work. I have only been 
> > able to access files located within "themes".
> > 
> > Mark
> > 
> > On Feb 12, 2009, at 11:10 PM, Van Ly wrote:
> > 
> > 
> > Hi, perhaps you add your files to 
> >  
> >  
> > [src]/dspace-1_5_1/dspace-xmlui/dspace-xmlui-we

Re: [Dspace-tech] adding static pages to a DSpace site using xmlui

2009-02-12 Thread Pottinger, Hardy J.
Hi, thanks Mark and Van, mvn and ant move these new files just fine
(they are where you suggested, Mark). My issue is that the modification
to template.xml suggested by the wiki...

http://wiki.dspace.org/index.php/Manakin_theme_tutorial#Adding_static_pa
ges

...does not appear to work. I did try to feed "xsl:copy-of select" the
full path (/themes/[your-theme]/pages/add.xml), as I thought maybe that
was what you were suggesting, but I'm still seeing a Page not found
error in the title of the page, and a blank body (i.e. all the other
normal DSpace content is there, just the body section is blank). I can
definitely confirm the files are all where they are supposed to be.

>From your responses, I am assuming that, to add static content, you have
just added a static xhtml page and linked directly to it? What I'm after
is adding some basic static content within the DSpace site framework, so
that other dynamic aspects, namely login, persist on the page.

One other option mentioned on the wiki is:

"2. Cocoon-based method. You could use cocoon to check the url right
after the generation step, and then add in your own static DRI page.
This method requires that all your static pages be expressed as DRI and
then transformed into HTML by your standard theme templates. This method
is useful if you will have lots of static pages that need to be managed,
but requires modifying the cocoon sitemap.xmap."

But this isn't fleshed out in as much detail, and I'm not sure I
understand what it is I'd need to do with the sitemap.xmap file to get
it going. If anyone has tried this approach, could you forward a sample
to me? I haven't the foggiest idea how to express something as DRI
[hangs head in shame], but this would probably be a fantastic way to
learn! :-)

The final option mentioned, using Apache to proxy to/from another
server, is my failsafe option... I'm sure I could get that working, but
it would not be ideal.

--Hardy  

> -Original Message-
> From: Diggory Mark [mailto:mdigg...@gmail.com] 
> Sent: Thursday, February 12, 2009 7:28 PM
> To: Van Ly
> Cc: Pottinger, Hardy J.; dspace-tech@lists.sourceforge.net
> Subject: Re: [Dspace-tech] adding static pages to a DSpace 
> site using xmlui
> 
> The best location is
> 
> [src]/dspace-1_5_1/dspace/modules/xmlui/src/main/webapp/themes
> /[your-theme]/...
> 
> This will allow you to access them from that path 
> "/themes/[your-theme]"
> 
> I believe the location below will not work. I have only been 
> able to access files located within "themes".
> 
> Mark
> 
> On Feb 12, 2009, at 11:10 PM, Van Ly wrote:
> 
> 
>   Hi, perhaps you add your files to 
>
>
> [src]/dspace-1_5_1/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp
>
>   and run 'mvn package' followed by ant.
>
>   -- Van Ly : University of Sydney Library
>   
> ____________
> 
>   From: Pottinger, Hardy J.
>   Sent: Fri 13/02/2009 5:06 AM
>   To: dspace-tech@lists.sourceforge.net
>   Subject: Re: [Dspace-tech] adding static pages to a 
> DSpace site using xmlui
>   
>   
>   Hi, let me ask this question in a different way. If 
> you've added static
>   pages (a FAQ, an about page, etc.) to a DSpace site 
> using xmlui, how did
>   you go about it? Thanks!
>   
>   --Hardy  
>   
>   > -----Original Message-
>   > From: Pottinger, Hardy J. [mailto:pottinge...@umsystem.edu] 
>   > Sent: Wednesday, February 11, 2009 4:25 PM
>   > To: dspace-tech@lists.sourceforge.net
>   > Subject: [Dspace-tech] adding static pages to a DSpace site 
>   > using xmlui
>   > 
>   > Hi, I am using DSpace 1.5.1, on a development 
> instance running on my
>   > Windows notebook, and I'm attempting to follow option 
> #1 (XSL-based
>   > method) from the Manakin theme tutorial on the wiki, 
> for adding static
>   > pages:
>   > 
>   > http://wiki.dspace.org/index.php/Manakin_theme_tutorial#Adding
>   > _static_pa
>   > ges
>   > 
>   > I will paste some code snippets below, but first the 
> problem: when I
>   > navigate to http://localhost:8080/xmlui/add, the body 
> of the page is
>   > blank, and the title of the page reads "Page not found".
>   > 
>   > I'm sure I'm missing something obvious. I have 
> confirmed that the file
>   > "add.xml" is in a subfolder of the theme folder, 
> called "pages".
>   > 
>   > Any ideas? TIA.
>   > 
>   > 
>  

Re: [Dspace-tech] adding static pages to a DSpace site using xmlui

2009-02-12 Thread Diggory Mark

The best location is

[src]/dspace-1_5_1/dspace/modules/xmlui/src/main/webapp/themes/[your- 
theme]/...


This will allow you to access them from that path "/themes/[your-theme]"

I believe the location below will not work. I have only been able to  
access files located within "themes".


Mark

On Feb 12, 2009, at 11:10 PM, Van Ly wrote:


Hi, perhaps you add your files to

 [src]/dspace-1_5_1/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp

and run 'mvn package' followed by ant.

-- Van Ly : University of Sydney Library
From: Pottinger, Hardy J.
Sent: Fri 13/02/2009 5:06 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] adding static pages to a DSpace site  
using xmlui


Hi, let me ask this question in a different way. If you've added  
static
pages (a FAQ, an about page, etc.) to a DSpace site using xmlui, how  
did

you go about it? Thanks!

--Hardy

> -Original Message-
> From: Pottinger, Hardy J. [mailto:pottinge...@umsystem.edu]
> Sent: Wednesday, February 11, 2009 4:25 PM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] adding static pages to a DSpace site
> using xmlui
>
> Hi, I am using DSpace 1.5.1, on a development instance running on my
> Windows notebook, and I'm attempting to follow option #1 (XSL-based
> method) from the Manakin theme tutorial on the wiki, for adding  
static

> pages:
>
> http://wiki.dspace.org/index.php/Manakin_theme_tutorial#Adding
> _static_pa
> ges
>
> I will paste some code snippets below, but first the problem: when I
> navigate to http://localhost:8080/xmlui/add, the body of the page is
> blank, and the title of the page reads "Page not found".
>
> I'm sure I'm missing something obvious. I have confirmed that the  
file

> "add.xml" is in a subfolder of the theme folder, called "pages".
>
> Any ideas? TIA.
>
>
> Here's the override code for the main body template, which I'm  
using:

>
> 
> 
>
> 
>[snip, not important]
> 
>
>  test="/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen
> t='alert']
> [...@qualifier='message']">
> 
>[snip, not important]
> 
> 
>
>
>
>
> test="/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen
> t='request
> ']...@qualifier='URI']='add'">
>

>
> test="/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen
> t='request
> ']...@qualifier='URI']='about'">
> select="document('pages/about.xml')" />
>
> test="/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen
> t='request
> ']...@qualifier='URI']='help'">
>

>
>
>
>
>
>
>
> 
> 
>
> And here's the very basic pages/add.xml file I'm using:
>
> http://di.tamu.edu/DRI/1.0/"; style="font-size: 200%;"
> class="ds-div-head">Add to MOspace
> 
> more content coming soon...
> 
>
> --
> HARDY POTTINGER 
> University of Missouri Library Systems
> http://lso.umsystem.edu/~hardy/
> "No matter how far down the wrong road you've gone,
> turn back." --Turkish proverb
>
> --
> 
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing
> skills and code to
> build responsive, highly engaging applications that combine
> the power of local
> resources and data with the reach of the web. Download the
> Adobe AIR SDK and
> Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>

--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Open Source Business Conference (OSBC), March 24-25, 2009, San  
Francisco, CA

Re: [Dspace-tech] adding static pages to a DSpace site using xmlui

2009-02-12 Thread Van Ly
Hi, perhaps you add your files to 

 [src]/dspace-1_5_1/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp

and run 'mvn package' followed by ant.

-- Van Ly : University of Sydney Library


From: Pottinger, Hardy J.
Sent: Fri 13/02/2009 5:06 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] adding static pages to a DSpace site using xmlui


Hi, let me ask this question in a different way. If you've added static
pages (a FAQ, an about page, etc.) to a DSpace site using xmlui, how did
you go about it? Thanks!

--Hardy  

> -Original Message-
> From: Pottinger, Hardy J. [mailto:pottinge...@umsystem.edu] 
> Sent: Wednesday, February 11, 2009 4:25 PM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] adding static pages to a DSpace site 
> using xmlui
> 
> Hi, I am using DSpace 1.5.1, on a development instance running on my
> Windows notebook, and I'm attempting to follow option #1 (XSL-based
> method) from the Manakin theme tutorial on the wiki, for adding static
> pages:
> 
> http://wiki.dspace.org/index.php/Manakin_theme_tutorial#Adding
> _static_pa
> ges
> 
> I will paste some code snippets below, but first the problem: when I
> navigate to http://localhost:8080/xmlui/add, the body of the page is
> blank, and the title of the page reads "Page not found".
> 
> I'm sure I'm missing something obvious. I have confirmed that the file
> "add.xml" is in a subfolder of the theme folder, called "pages".
> 
> Any ideas? TIA.
> 
> 
> Here's the override code for the main body template, which I'm using:
> 
> 
> 
> 
> 
>   [snip, not important]
> 
> 
>  test="/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen
> t='alert']
> [...@qualifier='message']">
> 
>   [snip, not important]
> 
> 
> 
>
> 
>
> test="/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen
> t='request
> ']...@qualifier='URI']='add'">
>
>
> test="/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen
> t='request
> ']...@qualifier='URI']='about'">
> select="document('pages/about.xml')" />
>
> test="/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen
> t='request
> ']...@qualifier='URI']='help'">
>
>
>
>
>
>
>
> 
> 
> 
> 
> And here's the very basic pages/add.xml file I'm using:
> 
> http://di.tamu.edu/DRI/1.0/"; style="font-size: 200%;"
> class="ds-div-head">Add to MOspace
> 
> more content coming soon...
> 
> 
> --
> HARDY POTTINGER 
> University of Missouri Library Systems
> http://lso.umsystem.edu/~hardy/
> "No matter how far down the wrong road you've gone,
> turn back." --Turkish proverb
> 
> --
> 
> Create and Deploy Rich Internet Apps outside the browser with 
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing 
> skills and code to
> build responsive, highly engaging applications that combine 
> the power of local
> resources and data with the reach of the web. Download the 
> Adobe AIR SDK and
> Ajax docs to start building applications 
> today-http://p.sf.net/sfu/adobe-com
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 

--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] adding static pages to a DSpace site using xmlui

2009-02-12 Thread Pottinger, Hardy J.
Hi, let me ask this question in a different way. If you've added static
pages (a FAQ, an about page, etc.) to a DSpace site using xmlui, how did
you go about it? Thanks!

--Hardy  

> -Original Message-
> From: Pottinger, Hardy J. [mailto:pottinge...@umsystem.edu] 
> Sent: Wednesday, February 11, 2009 4:25 PM
> To: dspace-tech@lists.sourceforge.net
> Subject: [Dspace-tech] adding static pages to a DSpace site 
> using xmlui
> 
> Hi, I am using DSpace 1.5.1, on a development instance running on my
> Windows notebook, and I'm attempting to follow option #1 (XSL-based
> method) from the Manakin theme tutorial on the wiki, for adding static
> pages:
> 
> http://wiki.dspace.org/index.php/Manakin_theme_tutorial#Adding
> _static_pa
> ges
> 
> I will paste some code snippets below, but first the problem: when I
> navigate to http://localhost:8080/xmlui/add, the body of the page is
> blank, and the title of the page reads "Page not found".
> 
> I'm sure I'm missing something obvious. I have confirmed that the file
> "add.xml" is in a subfolder of the theme folder, called "pages".
> 
> Any ideas? TIA.
> 
> 
> Here's the override code for the main body template, which I'm using:
> 
> 
> 
> 
> 
>   [snip, not important]
> 
> 
>  test="/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen
> t='alert']
> [...@qualifier='message']">
> 
>   [snip, not important]
> 
> 
> 
>
> 
>
> test="/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen
> t='request
> ']...@qualifier='URI']='add'">
>
>
> test="/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen
> t='request
> ']...@qualifier='URI']='about'">
> select="document('pages/about.xml')" />
>
> test="/dri:document/dri:meta/dri:pageMeta/dri:metada...@elemen
> t='request
> ']...@qualifier='URI']='help'">
>
>
>
>
>
>
>
> 
> 
> 
> 
> And here's the very basic pages/add.xml file I'm using:
> 
> http://di.tamu.edu/DRI/1.0/"; style="font-size: 200%;"
> class="ds-div-head">Add to MOspace
> 
> more content coming soon...
> 
> 
> --
> HARDY POTTINGER 
> University of Missouri Library Systems
> http://lso.umsystem.edu/~hardy/
> "No matter how far down the wrong road you've gone,
> turn back." --Turkish proverb
> 
> --
> 
> Create and Deploy Rich Internet Apps outside the browser with 
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing 
> skills and code to
> build responsive, highly engaging applications that combine 
> the power of local
> resources and data with the reach of the web. Download the 
> Adobe AIR SDK and
> Ajax docs to start building applications 
> today-http://p.sf.net/sfu/adobe-com
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> 

--
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] adding static pages to a DSpace site using xmlui

2009-02-11 Thread Pottinger, Hardy J.
Hi, I am using DSpace 1.5.1, on a development instance running on my
Windows notebook, and I'm attempting to follow option #1 (XSL-based
method) from the Manakin theme tutorial on the wiki, for adding static
pages:

http://wiki.dspace.org/index.php/Manakin_theme_tutorial#Adding_static_pa
ges

I will paste some code snippets below, but first the problem: when I
navigate to http://localhost:8080/xmlui/add, the body of the page is
blank, and the title of the page reads "Page not found".

I'm sure I'm missing something obvious. I have confirmed that the file
"add.xml" is in a subfolder of the theme folder, called "pages".

Any ideas? TIA.


Here's the override code for the main body template, which I'm using:





[snip, not important]




[snip, not important]



   

   
   
   
   
   
   
   
   
   
   
   
   
   
   
   




And here's the very basic pages/add.xml file I'm using:

http://di.tamu.edu/DRI/1.0/"; style="font-size: 200%;"
class="ds-div-head">Add to MOspace

more content coming soon...


--
HARDY POTTINGER 
University of Missouri Library Systems
http://lso.umsystem.edu/~hardy/
"No matter how far down the wrong road you've gone,
turn back." --Turkish proverb

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech