Jump to content

DiscoverEd Quickstart: Difference between revisions

From CC Public Wiki
Created page with 'Category:DiscoverEd {{Stub}} === Check out and build the source code === <pre> $ git clone git://gitorious.org/discovered/repo.git discovered $ cd discovered $ ant </pre> =…'
 
No edit summary
Line 14: Line 14:


<pre>
<pre>
$ ./bin/feeds addcurator http://ocw.nd.edu/ "ND OCW"
$ ./bin/feeds addcurator "ND OCW" http://ocw.nd.edu/  
$ ./bin/feeds addfeed rss http://ocw.nd.edu/front-page/courselist/rss http://ocw.nd.edu/
$ ./bin/feeds addfeed rss http://ocw.nd.edu/front-page/courselist/rss http://ocw.nd.edu/
</pre>
</pre>

Revision as of 20:16, 5 May 2010

Check out and build the source code

$ git clone git://gitorious.org/discovered/repo.git discovered
$ cd discovered
$ ant

Add a curator and a feed

DiscoverEd uses feeds to help identify resources to crawl. Feeds are provided by curators, who can also provide metadata about resources.

$ ./bin/feeds addcurator "ND OCW" http://ocw.nd.edu/ 
$ ./bin/feeds addfeed rss http://ocw.nd.edu/front-page/courselist/rss http://ocw.nd.edu/

Aggregate and crawl resources

$ ./bin/feeds aggregate
$ mkdir seed
$ ./bin/feeds seed > seed/urls.txt
$ ant -f dedbuild.xml crawl

Run the web server