Alexandre,

After my post I got a reply from Urban Andersson at Univerisy of
Gothenburg, where they have developed such a utility. With their help
we have implemented a working search with XML results in DSpace. I
think feature like this should definelety be included in default
DSpace installation.

Below is the reply I got. Im sure Urban will share the code with the
community if needed.

Cheers,
Mika

--
Hello Mika,

I have made a modification (copy) of the SimpleSearchServlet, and
corresponding JSP, to have it return XML (not actual RSS, but that
should be easy to adapt) instead of HTML.
This is a small fix that should be easy to implement. Although I am
not sure if it is sufficient for you.

An example of this:
http://gupea.ub.gu.se:8080/dspace/simple-search-snabbsok?query=helsinki&rpp=50&submit=Go

We use this for a quick search function on our web pages:
http://www.ub.gu.se/

Also we generate various DSpace RSS feeds directly from postgres SQL
queries on our web pages, but that is done outside of DSpace.

I have not done anything with the RSS class in DSpace. There might be
some cache issues etc that you would want to look at when implementing
RSS (my solution simply returns straight XML instead of the web page).

Please let me know if you want to have at look at the above.


/ Urban
- Näytä lainattu teksti -



mikan.d.dspace listmail wrote:

    - Näytä lainattu teksti -
    Hi,

    Has anyone tried/done the following on DSpace: modify the search code
    so, that it would return any given search as RSS feed? This shouldn't
    be too hard to implement, since DSpace already contains the
    functionality to provide RSS feeds from a set of items. What Im hoping
    to achieve, is to be able to create customized feeds to
    author/institutional webpages (or live bookmarks) with ease. This
    would actually allow a creation of virtual collections of any kind
    very easily.

    If this hasnt been done before, could someone throw in a few hints on
    where/how to start experiencing? On a general level, Im thinking of
    adding a RSS parameter to search query, which would throw the search
    results to the class/function that creates RSS feeds and returns them
    to the user. Maybe a parameter for a number of returned items could be
    used as well.

    I'd like to know where can I find:
    1) Class that runs/processes search and results
    2) Class that creates RSS feeds

    Thanks for any tips,
    Mika

    
------------------------------------------------------------------------------
    This SF.net email is sponsored by:
    SourcForge Community
    SourceForge wants to tell your story.
    http://p.sf.net/sfu/sf-spreadtheword
    _______________________________________________
    DSpace-tech mailing list
    [email protected]
    https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
Urban Andersson
Digitala biblioteket / Digital library
Göteborgs universitetsbibliotek / Göteborg University Library
Box 222, SE 405 30 Göteborg, SWEDEN
Tel: +46 (0)31 7866185
[email protected]
--





2009/6/5 Alexandre Rademaker <[email protected]>:
> In January Mika posted the following question in the list. It seems
> that nobody answer. Since I am also very interested in this case, I am
> posting the same question again.
>
> Alexandre Rademaker
> http://web.me.com/arademaker/
> Sent from Menlo Park, California, United States
>
>
>
> [Dspace-tech] Return search query as RSS feed
> From: mikan.d.dspace listmail <mikan.dsp...@gm...> - 2009-01-22 08:27
> Hi,
>
> Has anyone tried/done the following on DSpace: modify the search code
> so, that it would return any given search as RSS feed? This shouldn't
> be too hard to implement, since DSpace already contains the
> functionality to provide RSS feeds from a set of items. What Im hoping
> to achieve, is to be able to create customized feeds to
> author/institutional webpages (or live bookmarks) with ease. This
> would actually allow a creation of virtual collections of any kind
> very easily.
>
> If this hasnt been done before, could someone throw in a few hints on
> where/how to start experiencing? On a general level, Im thinking of
> adding a RSS parameter to search query, which would throw the search
> results to the class/function that creates RSS feeds and returns them
> to the user. Maybe a parameter for a number of returned items could be
> used as well.
>
> I'd like to know where can I find:
> 1) Class that runs/processes search and results
> 2) Class that creates RSS feeds
>
> Thanks for any tips,
> Mika
>
> ------------------------------------------------------------------------------
> 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
>

------------------------------------------------------------------------------
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

Reply via email to