Difference between revisions of "Tweepository"

From EPrints Documentation
Jump to: navigation, search
(Harvesting)
Line 35: Line 35:
 
== Harvesting ==
 
== Harvesting ==
  
At 32 minutes past each hour, the tweepository package will harvest each stream.  Tweets will be processed to:
+
At 32 minutes past each hour, the tweepository package will harvest each stream.  No harvesting is done on creation, to the tweetstream will initially be empty.  Tweets will be processed to:
  
 
*extract hashtags
 
*extract hashtags
Line 44: Line 44:
  
 
== Viewing a Tweetstream ==
 
== Viewing a Tweetstream ==
 +
 +
To view a tweetstream, click on 'Manage Records', then 'Twitter Feed':
 +
 +
[[File:tweepository_manage]]
 +
 +
[[File:Eprintstweetstream.png]]

Revision as of 20:28, 3 November 2011


The Tweepository plugin enables the repository to harvest a stream of tweets from a twitter search.

Installation Prerequisites

The following perl libraries must be installed on the server before the Bazaar package will function.

Date::Calc
Date::Parse
Encode
HTML::Entities
JSON
LWP::UserAgent
URI
URI::Find

Installation

Install through the EPrints Bazaar

Using

To create a new tweetstream, click on 'Manage Records', then on 'Twitter Feed', and then on the 'Create new Item' button. A new tweetstream object will be created, and you will need to enter two parameters:

Tweepository create.png

  • Search String: Passed directly to Twitter as the search parameter.
  • Expiry Date: The date on which to stop harvesting this stream.

Once these fields have been completed, click 'Save and Return'.

Harvesting

At 32 minutes past each hour, the tweepository package will harvest each stream. No harvesting is done on creation, to the tweetstream will initially be empty. Tweets will be processed to:

  • extract hashtags
  • extract mentioned users
  • resolve URL redirects

These data will across all tweets will be summarised in the tweetstream objects.

Viewing a Tweetstream

To view a tweetstream, click on 'Manage Records', then 'Twitter Feed':

File:Tweepository manage

Eprintstweetstream.png