Feeding WordPress with EPrints: A Social Repo?

I’ve just knocked up a ‘Social Repo‘ site and would be keen to get some feedback on the general idea.

It’s a WordPress site in microblog mode driven by feeds from our repo via the FeedWordPress plugin. Just an experiment in automating something similar to our Post2Blog plugin.

As a way of making EPrints content more ‘social’, I thought that specific subject feeds from different IRs could be aggregated into a single subject site where interested people could follow and comment on the research outputs.

I’m a fan of aaaargh.org which is a site where people share hard-to-obtain texts, mostly academic level material and largely related to critical, social theory. There’s a discussion board attached to it, too. No-one really controls it and it’s a great way of finding hard to obtain texts 🙂

Along loosely similar lines, I was thinking earlier that IRs could aggregate their feeds into a site, like my example, that provided a way to search, filter and discuss the source research outputs. If there was a site that aggregated feeds from IRs around the world, pulling in only content relating to critical, social theory, for example, had a twitter account attached, too, as well as useful RSS feeds of its own, I’d be keen to follow it and contribute to the discussion of work as it appeared and looked of interest.

I can imagine that some texts could spark quite detailed threaded discussions.

One way to improve my quick example would be to show the EPrints abstract in the post content below the citation. Alas, that’s not in the source EPrints feed right now. I would also make a few tweaks to the theme so that the permalinks didn’t all point to the source record, but that the source link was clearly provided.

The plugin that we created for the JISCPress project could provide a background service to create semantic tags and do term extraction on the abstract, to automate keywords for each item. Crikey! we could even use the other Linked Data plugin we developed and push the RDF to the Talis Platform, aggregating Linked Data around subject feeds from Institutional Repositories.

I’m sure I can think of more improvements, but as a 30 min exercise, I’ve found it interesting. I think that once a Repo record becomes joined to a WordPress record, it’s got a lot more going for it in terms of added levels of interaction and malleability. Any thoughts?

10 Replies to “Feeding WordPress with EPrints: A Social Repo?”

  1. Although it’s easy enough to add abstracts to the RSS feed (and thumbnails!) I wonder whether it’s not better to start from a comprehensive JSON or XML feed (by changing the parameter to the latest_tool).

  2. Yup! 🙂 I might have a go at pulling in feeds from other repos around a particular topic to get a feel for this. It could even be curated by moderating each feed item before it is published on WordPress – an option that FeedWordPress offers.

  3. Hi Joss

    FWIW I just quickly hacked the RSS2 Export module on our little EP repo to insert the EPrint Abstract in RSS/Channel/Item/Description, instead of a Citation.

    Just change Line 116 in eprints3/perl_lib/EPrints/Plugin/Export/RSS2.pm to:

    EPrints::Utils::tree_to_utf8( $eprint->render_value(“abstract”))));

    (Given that EPrints already puts a Citation in RSS/Channel/Item/Title this actually seems sensible,unless I’m missing something!)

    Now see e.g. http://pubs.ulcc.ac.uk/cgi/exportview/year/2009/RSS2/2009.xml

    Not sure if one needs instead/as well to hack cgi/latest_tool for your purposes, but it will be something similar.

    As Les suggested, for more serious metadata exchanges, some more thought about the XML mappings would be necessary, but this seems to work for now.

    1. I’m reluctant to do this modification for our repo because we are already syndicating the feeds in a way that works well for us i.e. http://www.lincoln.ac.uk/home/research/repository.htm

      If I understand Les correctly, we’re talking about using the JSON feed for better results, right?

      http://eprints.lincoln.ac.uk/cgi/search/advanced/export_lirolem_JSON.js?screen=Public::EPrintSearch&_action_export=1&output=JSON&exp=0|1|-date/creators_name/title|archive|-|divisions:divisions:ALL:EQ:fac_rc|-|eprint_status:eprint_status:ALL:EQ:archive|metadata_visibility:metadata_visibility:ALL:EX:show&cache=

      I found this in the source code of an advanced search results page.

      http://eprints.lincoln.ac.uk/cgi/search/advanced?screen=Public::EPrintSearch&_fulltext__merge=ALL&_fulltext_=&title_merge=ALL&title=&documents.title_merge=ALL&documents.title=&creators_name_merge=ALL&creators_name=&abstract_merge=ALL&abstract=&date=&documents.description_merge=ALL&documents.description=&keywords_merge=ALL&keywords=&subjects_merge=ALL&divisions=fac_rc&divisions_merge=ALL&editors_name_merge=ALL&editors_name=&refereed=EITHER&publication_merge=ALL&publication=&satisfyall=ALL&order=-date/creators_name/title&_action_search=Search

Comments are closed.