Hi all,
Can anyone help me how to add communities & collections page to the
front page in xmlui.
On Fri, Jun 5, 2009 at 1:29 AM,
<[email protected]>wrote:
> Send DSpace-tech mailing list submissions to
> [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> or, via email, send a message with subject or body 'help' to
> [email protected]
>
> You can reach the person managing the list at
> [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of DSpace-tech digest..."
>
>
> Today's Topics:
>
> 1. Re: Looking for Autocomplete for the XMLUI (Mark Diggory)
> 2. Re: dspace 1.5.2 error on fedora 9 (Paulo Jobim)
> 3. Versions 1.5 and 1.5.1 index issue (Michele Kimpton)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 4 Jun 2009 09:57:16 -0700
> From: Mark Diggory <[email protected]>
> Subject: Re: [Dspace-tech] Looking for Autocomplete for the XMLUI
> To: Tim Donohue <[email protected]>
> Cc: Tech General <[email protected]>, Larry Stone
> <[email protected]>
> Message-ID:
> <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> I like these solutions, but, I wonder if we should actually encode some of
> this behavior as part of the DRI forms in the long run? I often wonder why
> the Manakin project didn't embrace the Cocoon Forms... The strategy is
> similar to what Tim has done...
>
> <map:match pattern="viewform-*">
> <map:generate type="jx" src="pages/{1}.xml"/>
> * <map:transform type="browser-update"/>
> * <map:transform type="i18n"/>
>
> <map:transform src="resources/forms-styling.xsl"/>
> <map:transform type="i18n">
> * <map:select type="ajax-request">
> <map:when test="true">
>
> <map:serialize type="xml"/>
> </map:when>
> <map:otherwise>
> <map:serialize type="html"/>
> </map:otherwise>
> </map:select>
> *</map:match>
>
>
> See for more ideas...
>
> Previous version of Cocoon AJAX (for reference) *
> http://cocoon*.apache.org/2.1/userdocs/*ajax*.html
>
> Cocoon 2.2 Forms Block
> http://cocoon.apache.org/2.2/blocks/forms/1.0/489_1_1.html
>
> Cocoon 2.2 AJAX Block (Dojo based)
> http://cocoon.apache.org/2.2/blocks/ajax/1.0/1350_1_1.html
>
> I think the basic model would be to Map DRI Widgets to JXTemplates or CForm
> Widgets and add a level to the transformation pipeline as Tim has done to
> support those tools doing the heavy lifting of inserting the javascript
> actions, rather than creating some that is custom to the DSpace comunity...
>
> Mark
>
> --
> Mark R. Diggory
> http://www.atmire.com
>
> On Thu, Jun 4, 2009 at 9:27 AM, Tim Donohue <[email protected]> wrote:
>
> > Larry,
> >
> > At Illinois, we are using Scriptaculous (http://script.aculo.us/) with
> > the XMLUI to perform autocomplete on our Subject, Publisher and Author
> > fields. (For Author, instead of having separate lastname and firstname
> > fields, we combine it all in one field which expects 'last, first m'
> > format).
> >
> > We actually add in the necessary Javascript code for each of these
> > fields in our Theme by using an XSL which transforms XHTML -> XHTML.
> > So, we have our theme's sitemap.xmap setup to do the following:
> >
> > (1) Run through our normal DRI -> XHTML conversion via XSLT
> > (2) If the path matches */*/*/submit/*.continue (i.e. in Submission
> > process), run the resulting XHTML through another XSLT to add in the
> > autocomplete javascript for the necessary form fields.
> >
> > On the server side of things, we did have to create a custom Java
> > Servlet (which we registered in the web.xml alongside Cocoon), to
> > process those AJAX requests and return the properly formatted results.
> > So, essentially, our autocomplete functionality is running *outside* of
> > Cocoon.
> >
> > There might be an easier way to do all of this...but, this is
> > essentially what we came up with as a relatively quick solution. If it
> > is of interest, I am willing to share the code we've written for this.
> >
> > - Tim
> >
> > George Hamilton wrote:
> > > Hi Larry
> > >
> > > I implemented a home-brewed (hack) auto complete for the spatial
> > > coverage field for our repository.
> > >
> > > I added the following to the <xsl:template match="dri:field"
> > > mode="normalField"> template to add the hidden popup divs to the dom:
> > >
> > > <xsl:if test="@n='dc_coverage_spatial'">
> > > <xsl:attribute name = "autocomplete">off</xsl:attribute>
> > > <div class="shadow" id="shadow">
> > > <div class="output" id="output">
> > > some text
> > > </div>
> > > </div>
> > > <xsl:attribute name="a"><xsl:value-of select="@n"/></xsl:attribute>
> > > </xsl:if>
> > >
> > > Add autocomplete javascript, see
> > > http://datashare.edina.ac.uk/dspace/themes/DataShare/auto-complete.js
> > > Add an init call to the onload
> > >
> > > <body onload="init()">
> > >
> > > Modify the css to align the pop up.
> > >
> > > .output
> > > {
> > > font-family:Arial;
> > > font-size: 10pt;
> > > color:black;
> > > padding-left: 3px;
> > > padding-top: 3px;
> > > border: 1px solid #000000;
> > > width: 180px;
> > > background: #fff;
> > > }
> > >
> > > .shadow
> > > {
> > > width: 182px;
> > > position: relative;
> > > margin-left: -57px;
> > > margin-top: -8px;
> > > top: 2px;
> > > left: 2px;
> > > background: #555;
> > > }
> > >
> > > .shadow div
> > > {
> > > position: relative;
> > > top: -2px;
> > > left: -2px;
> > > }
> > >
> > >
> > > I think that's it. The javascript is based on something I found the
> web,
> > > this URL shows it in action:
> > >
> > > http://www.vonloesch.de/node/18
> > >
> > > George
> > >
> > >
> > > Larry Stone wrote:
> > >> Has anyone tried to add an "autocomplete" feature to the Manakin UI
> > >> (XMLUI)? By "autocomplete", I mean the Web UI trick where a text
> > >> field is checked, as you type, against a list of possible completions
> > >> and automatically filled in, or completed, by inserting text into the
> > >> field or posting a dropdown menu of possible completions. For
> > >> example, the AjaxTags library has it under "Autocomplete", see
> > http://ajaxtags.sourceforge.net/
> > >> -- but that's specifically for a JSP-based UI.
> > >>
> > >> Autocomplete usually seems to be implemented as part of a
> > >> comprehensive Javascript UI toolkit, and most of those are large,
> > >> complex, standalone, and/or do not play well when integrated with
> > >> another vertical-web-UI-solution like Cocoon. So, do you know of any
> > >> such toolkit that _is_ easy to integrate with Cocoon and/or Manakin?
> > >> Has anyone developed their own autocomplete?
> > >>
> > >> I've been experimenting with the Yahoo UI widgets (
> > http://developer.yahoo.com/yui/
> > >> ); it's well-documented and seems reasonably lightweight and modular,
> > >> but it has some drawbacks. I'm hoping there is somebody already at the
> > >> top of this learning curve who can see over this swamp from such a
> > >> lofty vantage.
> > >>
> > >> thanks,
> > >>
> > >> -- Larry
> > >>
> > >>
> >
> ------------------------------------------------------------------------------
> > >> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> > >> looking to deploy the next generation of Solaris that includes the
> > latest
> > >> innovations from Sun and the OpenSource community. Download a copy and
> > >> enjoy capabilities such as Networking, Storage and Virtualization.
> > >> Go to: http://p.sf.net/sfu/opensolaris-get
> > >> _______________________________________________
> > >> DSpace-tech mailing list
> > >> [email protected]
> > >> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> > >>
> > >>
> > >>
> > >
> > >
> >
> > --
> > Tim Donohue
> > Research Programmer, IDEALS
> > http://www.ideals.uiuc.edu/
> > University of Illinois
> > [email protected] | (217) 333-4648
> >
> >
> >
> ------------------------------------------------------------------------------
> > OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> > looking to deploy the next generation of Solaris that includes the latest
> > innovations from Sun and the OpenSource community. Download a copy and
> > enjoy capabilities such as Networking, Storage and Virtualization.
> > Go to: http://p.sf.net/sfu/opensolaris-get
> > _______________________________________________
> > DSpace-tech mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 2
> Date: Thu, 4 Jun 2009 14:55:05 -0300
> From: Paulo Jobim <[email protected]>
> Subject: Re: [Dspace-tech] dspace 1.5.2 error on fedora 9
> To: Mark Diggory <[email protected]>
> Cc: DSpace Tech <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi Mark
> I am using Tomcat 6.0.16 installed from a Fedora package and
> java from Sun because the package from Fedora(OpenJDK) crashes with
> filter-media.
>
> java version "1.6.0_12"
> Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
> Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode)
>
> I remember having run dspace 1.5.2 (the first release) on this machine
> but now it has become impossible.
> Any hints?
> Thanks
> Paulo
>
> On 04/06/2009, at 01:40, Mark Diggory wrote:
>
> > Paulo,
> >
> > I wonder if this is caused more by "Tomcat" or the "JVM" you are
> > using, can you identify if you are using GCJ? You might want to
> > look to replacing it with OpenJDK if that is the case.
> >
> > I think the "resource protocol" issues is caused by Cocoon not being
> > able to resolve the protocol handler. Which may be some
> > incompatibility between the JVM and Cocoon. But this is a big
> > speculation without seeing the system configuration.
> >
> > Cheers,
> > Mark
> >
> > --
> > Mark R. Diggory
> > http://www.atmire.com
> >
> > On Wed, Jun 3, 2009 at 9:32 PM, Paulo Jobim <[email protected]> wrote:
> > Hi all
> > I have installed dspace-xmlui1.5.2 on fedora 9 (64bit) and I get the
> > error:
> >
> > java.net.MalformedURLException: unknown protocol: resource
> >
> > exactly the same unmodified code runs on MacOS 10.5.6 and fedora 8
> > (32bit) on an identical Dell 1950III
> > can somebody help for a solution??
> > thanks
> > Paulo Jobim
> >
> >
> ------------------------------------------------------------------------------
> > OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> > looking to deploy the next generation of Solaris that includes the
> > latest
> > innovations from Sun and the OpenSource community. Download a copy and
> > enjoy capabilities such as Networking, Storage and Virtualization.
> > Go to: http://p.sf.net/sfu/opensolaris-get
> > _______________________________________________
> > DSpace-tech mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/dspace-tech
> >
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 3
> Date: Thu, 4 Jun 2009 15:59:13 -0400
> From: Michele Kimpton <[email protected]>
> Subject: [Dspace-tech] Versions 1.5 and 1.5.1 index issue
> To: [email protected], [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Dear members of the community,
>
> If you are currently running DSpace 1.5 or DSpace 1.5.1, your site is
> not being indexed by Google, Google scholar or any public search
> engine for that matter. The issue has been fixed in 1.5.2. However,
> you can fix the problem immediately by removing the line in the
> robots.txt file that reads disallow:/browse.
>
> I highly recommend you take this simple action as soon as possible so
> your publicly available content is indexed. As many of you know as
> much as 60% of traffic to your DSpace resources comes from Google and
> other public search engines.
> You can find more detail at:
> http://wiki.dspace.org/index.php/Ensuring_your_instance_is_indexed
>
> To improve the ability of your site to be indexed you should also
> install site maps- which makes it much easier for any search engine to
> discover all the links within your site. This is part of version
> 1.5.2, but you can also install a patch at:
> http://jira.dspace.org/jira/browse/DS-35
>
> Google and most other search engines do not use OAI-PMH for indexing,
> please do not rely on this protocol for search engine exposure.
>
> Let me know if you have any questions.
>
> best, Michele Kimpton
> Executive Director, DSpace Foundation
>
>
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> OpenSolaris 2009.06 is a cutting edge operating system for enterprises
> looking to deploy the next generation of Solaris that includes the latest
> innovations from Sun and the OpenSource community. Download a copy and
> enjoy capabilities such as Networking, Storage and Virtualization.
> Go to: http://p.sf.net/sfu/opensolaris-get
>
> ------------------------------
>
> _______________________________________________
> DSpace-tech mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>
>
> End of DSpace-tech Digest, Vol 38, Issue 10
> *******************************************
>
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech