Hi everybody

I'm trying to personalize the home for a DSpace install.

I have several problems:

1. Reading the way that "Recent items" could be shown, I mean
consuming RSS channel from my proper instance, I was trying to
implement what is shown at the following URL:

http://www.mail-archive.com/[email protected]/msg09985.html

My problem is that if I try to do

<xsl:variable name="RSSMapURL"
select="concat('cocoon:/',/dri:document/dri:meta/dri:pageMeta/dri:metada...@element='feed'][2])"/>
    <h1 
class="ds-list-head"><i18n:text>xmlui.ArtifactBrowser.CommunityViewer.head_recent_submissions</i18n:text></h1>
    <ul class="ds-artifact-list">
    <!-- Open document, navigate to item and loop -->
    <xsl:for-each select="document($RSSMapURL)/rss/channel/item">

it does'nt show anything. I've tried to show

<xsl:value-of 
select="concat('cocoon:/',/dri:document/dri:meta/dri:pageMeta/dri:metada...@element='feed'][2])"/>

and it's blank.

My only solution was to specify the hard URL feed location to the
for-each to obtain the global most recent items.
Any idea?

2. After 1. have discovered that

<xsl:template match="/dri:document/dri:body/dri:d...@n='front-page-search']">
    <!-- apply rest of front-page-search template -->
    <xsl:apply-templates />
  ...

Invalidates the content search form. Looking at the HTML code appears
that the <form tag has dissapear... More ideas?

3. Somebody can point me to the right way to referr to the dspace path
in DRI? I'm trying to put figures in news_xmlui.xml, and the only way
I could do so is referring to the hardcoded URL:

<p><figure source="/xmlui/themes/institution/images/articles.jpg">


Regards and thanks a lot
Germán

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to