muck-raker 0.2.11 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +1 -83
- data/Rakefile +7 -45
- data/VERSION +1 -1
- data/config/muck_raker_environment.rb +6 -2
- data/lib/muck_raker/tasks.rb +140 -30
- data/muck-raker.gemspec +36 -754
- data/rails/init.rb +0 -15
- data/raker/lib/aggregatord.jar +0 -0
- data/raker/lib/recommenderd.jar +0 -0
- data/raker/lib/recommenderd.properties +26 -19
- data/raker/lib/{apache-solr-common-1.3.0.jar → solr/apache-solr-common-1.3.0.jar} +0 -0
- data/raker/lib/{apache-solr-core-1.3.0.jar → solr/apache-solr-core-1.3.0.jar} +0 -0
- data/raker/lib/{apache-solr-dataimporthandler-1.3.0.jar → solr/apache-solr-dataimporthandler-1.3.0.jar} +0 -0
- data/raker/lib/{commons-codec-1.3.jar → solr/commons-codec-1.3.jar} +0 -0
- data/raker/lib/{commons-csv-1.0-SNAPSHOT-r609327.jar → solr/commons-csv-1.0-SNAPSHOT-r609327.jar} +0 -0
- data/raker/lib/{commons-fileupload-1.2.jar → solr/commons-fileupload-1.2.jar} +0 -0
- data/raker/lib/{commons-httpclient-3.1.jar → solr/commons-httpclient-3.1.jar} +0 -0
- data/raker/lib/{commons-io-1.3.1.jar → solr/commons-io-1.3.1.jar} +0 -0
- data/raker/lib/{commons-logging-1.0.4.jar → solr/commons-logging-1.0.4.jar} +0 -0
- data/raker/lib/{geronimo-stax-api_1.0_spec-1.0.1.jar → solr/geronimo-stax-api_1.0_spec-1.0.1.jar} +0 -0
- data/raker/lib/{junit-4.3.jar → solr/junit-4.3.jar} +0 -0
- data/raker/lib/{lucene-analyzers-2.4-dev.jar → solr/lucene-analyzers-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-core-2.4-dev.jar → solr/lucene-core-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-highlighter-2.4-dev.jar → solr/lucene-highlighter-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-memory-2.4-dev.jar → solr/lucene-memory-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-queries-2.4-dev.jar → solr/lucene-queries-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-snowball-2.4-dev.jar → solr/lucene-snowball-2.4-dev.jar} +0 -0
- data/raker/lib/{lucene-spellchecker-2.4-dev.jar → solr/lucene-spellchecker-2.4-dev.jar} +0 -0
- data/raker/lib/{solr-commons-csv-pom.xml.template → solr/solr-commons-csv-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-analyzers-pom.xml.template → solr/solr-lucene-analyzers-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-contrib-pom.xml.template → solr/solr-lucene-contrib-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-core-pom.xml.template → solr/solr-lucene-core-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-highlighter-pom.xml.template → solr/solr-lucene-highlighter-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-queries-pom.xml.template → solr/solr-lucene-queries-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-snowball-pom.xml.template → solr/solr-lucene-snowball-pom.xml.template} +0 -0
- data/raker/lib/{solr-lucene-spellchecker-pom.xml.template → solr/solr-lucene-spellchecker-pom.xml.template} +0 -0
- data/raker/lib/{stax-utils.jar → solr/stax-utils.jar} +0 -0
- data/raker/lib/{wstx-asl-3.2.7.jar → solr/wstx-asl-3.2.7.jar} +0 -0
- data/test/rails_root/config/environment.rb +0 -17
- data/test/rails_root/config/environments/development.rb +0 -15
- data/test/rails_root/config/environments/test.rb +0 -10
- data/test/rails_root/config/routes.rb +0 -8
- metadata +35 -836
- data/.gitignore +0 -30
- data/app/controllers/admin/muck/feeds_controller.rb +0 -40
- data/app/controllers/admin/muck/oai_endpoints_controller.rb +0 -13
- data/app/controllers/muck/aggregation_feeds_controller.rb +0 -43
- data/app/controllers/muck/aggregations_controller.rb +0 -234
- data/app/controllers/muck/entries_controller.rb +0 -102
- data/app/controllers/muck/feed_previews_controller.rb +0 -33
- data/app/controllers/muck/feeds_controller.rb +0 -157
- data/app/controllers/muck/identity_feeds_controller.rb +0 -155
- data/app/controllers/muck/oai_endpoints_controller.rb +0 -96
- data/app/controllers/muck/recommendations_controller.rb +0 -62
- data/app/controllers/muck/topics_controller.rb +0 -162
- data/app/controllers/muck/visits_controller.rb +0 -26
- data/app/helpers/muck_raker_aggregations_helper.rb +0 -32
- data/app/helpers/muck_raker_feeds_helper.rb +0 -32
- data/app/helpers/muck_raker_helper.rb +0 -95
- data/app/helpers/muck_raker_services_helper.rb +0 -117
- data/app/models/aggregation.rb +0 -92
- data/app/models/aggregation_feed.rb +0 -14
- data/app/models/attention.rb +0 -14
- data/app/models/click.rb +0 -14
- data/app/models/entry.rb +0 -341
- data/app/models/feed.rb +0 -224
- data/app/models/feed_parent.rb +0 -18
- data/app/models/identity_feed.rb +0 -26
- data/app/models/oai_endpoint.rb +0 -39
- data/app/models/raker_mailer.rb +0 -25
- data/app/models/recommendation.rb +0 -15
- data/app/models/service.rb +0 -486
- data/app/models/service_category.rb +0 -15
- data/app/models/subject.rb +0 -10
- data/app/models/tag_cloud.rb +0 -21
- data/app/views/activity_templates/_entry_comment.html.erb +0 -8
- data/app/views/activity_templates/_entry_share.html.erb +0 -8
- data/app/views/admin/feeds/index.html.erb +0 -35
- data/app/views/admin/oai_endpoints/index.html.erb +0 -31
- data/app/views/aggregations/_aggregation.html.erb +0 -1
- data/app/views/aggregations/_data_source.html.erb +0 -4
- data/app/views/aggregations/_data_sources.html.erb +0 -10
- data/app/views/aggregations/_feeds.html.erb +0 -1
- data/app/views/aggregations/_preview_form.html.erb +0 -12
- data/app/views/aggregations/edit.html.erb +0 -65
- data/app/views/aggregations/index.html.erb +0 -17
- data/app/views/aggregations/index.iphone.erb +0 -0
- data/app/views/aggregations/new.html.erb +0 -12
- data/app/views/aggregations/preview.html.erb +0 -46
- data/app/views/aggregations/preview.iphone.erb +0 -0
- data/app/views/aggregations/rss_discovery.html.erb +0 -3
- data/app/views/aggregations/show.html.erb +0 -0
- data/app/views/default/_language_list.html.erb +0 -5
- data/app/views/entries/_related_entry.html.erb +0 -4
- data/app/views/entries/_result.html.erb +0 -7
- data/app/views/entries/_result_status.html.erb +0 -16
- data/app/views/entries/_results.html.erb +0 -3
- data/app/views/entries/_tag_cloud.html.erb +0 -18
- data/app/views/entries/browse_by_tags.html.erb +0 -16
- data/app/views/entries/collections.html.erb +0 -28
- data/app/views/entries/details.html.erb +0 -25
- data/app/views/entries/index.html.erb +0 -3
- data/app/views/entries/search.html.erb +0 -10
- data/app/views/entries/show.html.erb +0 -7
- data/app/views/entries/track_clicks.html.erb +0 -0
- data/app/views/feed_previews/new.html.erb +0 -1
- data/app/views/feed_previews/select_feeds.html.erb +0 -6
- data/app/views/feeds/_entry.html.erb +0 -1
- data/app/views/feeds/_feed.html.erb +0 -28
- data/app/views/feeds/_feed_row.html.erb +0 -29
- data/app/views/feeds/_feed_selection.html.erb +0 -1
- data/app/views/feeds/_form.html.erb +0 -20
- data/app/views/feeds/edit.html.erb +0 -107
- data/app/views/feeds/harvest_now.html.erb +0 -3
- data/app/views/feeds/index.html.erb +0 -34
- data/app/views/feeds/new.html.erb +0 -21
- data/app/views/feeds/new_extended.html.erb +0 -32
- data/app/views/feeds/new_oai_rss.html.erb +0 -50
- data/app/views/feeds/show.html.erb +0 -1
- data/app/views/feeds/unban.html.erb +0 -3
- data/app/views/identity_feeds/_available_service_categories.html.erb +0 -13
- data/app/views/identity_feeds/_form.html.erb +0 -20
- data/app/views/identity_feeds/_services_for_user.html.erb +0 -25
- data/app/views/identity_feeds/edit.html.erb +0 -2
- data/app/views/identity_feeds/index.html.erb +0 -32
- data/app/views/identity_feeds/new.html.erb +0 -1
- data/app/views/oai_endpoints/_form.html.erb +0 -22
- data/app/views/oai_endpoints/_oai_endpoint_row.html.erb +0 -25
- data/app/views/oai_endpoints/new.html.erb +0 -2
- data/app/views/oai_endpoints/show.html.erb +0 -5
- data/app/views/parts/_add_feed.html.erb +0 -20
- data/app/views/parts/_select_feed.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ar.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ar.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.bg.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.bg.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ca.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ca.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.cs.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.cs.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.da.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.da.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.de.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.de.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.el.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.el.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.es.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.es.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.et.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.et.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.fa.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.fa.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.fi.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.fi.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.fr.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.fr.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.gl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.gl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.hi.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.hi.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.hr.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.hr.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.hu.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.hu.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.id.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.id.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.it.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.it.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.iw.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.iw.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ja.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ja.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ko.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ko.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.lt.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.lt.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.lv.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.lv.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.mt.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.mt.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.nl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.nl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.no.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.no.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.pl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.pl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.pt-PT.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.pt-PT.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ro.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ro.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.ru.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.ru.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sk.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sk.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sq.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sq.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sr.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sr.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.sv.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.sv.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.th.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.th.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.tl.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.tl.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.tr.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.tr.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.uk.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.uk.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.vi.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.vi.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.zh-CN.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.zh-CN.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.zh-TW.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.zh-TW.plain.erb +0 -7
- data/app/views/raker_mailer/notification_feed_added.text.zh.html.erb +0 -4
- data/app/views/raker_mailer/notification_feed_added.text.zh.plain.erb +0 -7
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ar.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ar.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.bg.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.bg.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ca.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ca.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.cs.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.cs.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.da.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.da.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.de.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.de.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.el.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.el.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.es.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.es.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.et.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.et.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fa.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fa.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fi.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fi.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fr.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.fr.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.gl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.gl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hi.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hi.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hr.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hr.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hu.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.hu.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.id.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.id.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.it.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.it.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.iw.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.iw.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ja.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ja.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ko.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ko.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.lt.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.lt.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.lv.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.lv.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.mt.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.mt.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.nl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.nl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.no.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.no.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.pl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.pl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.pt-PT.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.pt-PT.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ro.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ro.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ru.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.ru.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sk.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sk.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sq.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sq.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sr.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sr.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sv.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.sv.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.th.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.th.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.tl.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.tl.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.tr.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.tr.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.uk.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.uk.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.vi.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.vi.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh-CN.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh-CN.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh-TW.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh-TW.plain.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh.html.erb +0 -4
- data/app/views/raker_mailer/notification_oai_endpoint_added.text.zh.plain.erb +0 -4
- data/app/views/recommendations/index.html.erb +0 -5
- data/app/views/recommendations/index.pjs.erb +0 -44
- data/app/views/recommendations/index.rss.builder +0 -37
- data/app/views/recommendations/index.xml.builder +0 -36
- data/app/views/recommendations/index_js.pjs.erb +0 -39
- data/app/views/recommendations/index_real_time.pjs.erb +0 -44
- data/app/views/recommendations/index_real_time.xml.builder +0 -25
- data/app/views/search/_languages.html.erb +0 -6
- data/app/views/search/_result.html.erb +0 -9
- data/app/views/search/_search_box.html.erb +0 -9
- data/app/views/search/index.html.erb +0 -5
- data/app/views/search/results.atom.builder +0 -27
- data/app/views/search/results.html.erb +0 -35
- data/app/views/search/results.pjs.erb +0 -13
- data/app/views/search/results.rdf.builder +0 -24
- data/app/views/search/results.rss.builder +0 -31
- data/app/views/search/results.xml.builder +0 -19
- data/app/views/service_templates/_facebook.html.erb +0 -4
- data/app/views/service_templates/_friendfeed.html.erb +0 -2
- data/app/views/service_templates/_goodreads.html.erb +0 -2
- data/app/views/service_templates/_linkedin.html.erb +0 -2
- data/app/views/service_templates/_netflix.html.erb +0 -2
- data/app/views/service_templates/_polyvore.html.erb +0 -2
- data/app/views/service_templates/_zotero_group.html.erb +0 -2
- data/app/views/services/_edit_service.html.erb +0 -1
- data/app/views/services/_new_service.html.erb +0 -1
- data/app/views/services/_summary.html.erb +0 -5
- data/app/views/services/_view_service.html.erb +0 -1
- data/app/views/topics/_entry.html.erb +0 -19
- data/app/views/topics/_feed.html.erb +0 -24
- data/app/views/topics/_feed_preview.html.erb +0 -18
- data/app/views/topics/_form.html.erb +0 -15
- data/app/views/topics/_rss_discover.html.erb +0 -1
- data/app/views/topics/_simple_entry.html.erb +0 -7
- data/app/views/topics/new.html.erb +0 -27
- data/app/views/topics/photos.html.erb +0 -14
- data/app/views/topics/show.html.erb +0 -80
- data/app/views/topics/show.opml.builder +0 -18
- data/app/views/topics/videos.html.erb +0 -14
- data/app/views/visits/_comments_tool.html.erb +0 -19
- data/app/views/visits/_frame_scripts.html.erb +0 -26
- data/app/views/visits/_share_tool.html.erb +0 -22
- data/app/views/visits/_toolbar.html.erb +0 -25
- data/app/views/visits/show.html.erb +0 -7
- data/config/muck_raker_routes.rb +0 -37
- data/lib/active_record/acts/muck_aggregation_owner.rb +0 -30
- data/lib/active_record/acts/muck_feed_owner.rb +0 -31
- data/lib/active_record/acts/muck_feed_parent.rb +0 -23
- data/lib/active_record/acts/muck_raker_comment.rb +0 -39
- data/lib/active_record/acts/muck_raker_share.rb +0 -32
- data/lib/muck_raker/exceptions.rb +0 -5
- data/lib/muck_raker/initialize_routes.rb +0 -8
- data/lib/muck_raker/languages.rb +0 -57
- data/lib/muck_raker/muck_custom_form_builder.rb +0 -22
- data/lib/muck_raker/services.rb +0 -12
- data/lib/muck_raker.rb +0 -21
- data/locales/ar.yml +0 -210
- data/locales/bg.yml +0 -210
- data/locales/ca.yml +0 -210
- data/locales/cs.yml +0 -210
- data/locales/da.yml +0 -210
- data/locales/de.yml +0 -210
- data/locales/el.yml +0 -210
- data/locales/en.yml +0 -213
- data/locales/es.yml +0 -210
- data/locales/et.yml +0 -210
- data/locales/fa.yml +0 -210
- data/locales/fi.yml +0 -210
- data/locales/fr.yml +0 -210
- data/locales/gl.yml +0 -210
- data/locales/hi.yml +0 -210
- data/locales/hr.yml +0 -210
- data/locales/hu.yml +0 -210
- data/locales/id.yml +0 -210
- data/locales/it.yml +0 -210
- data/locales/iw.yml +0 -210
- data/locales/ja.yml +0 -210
- data/locales/ko.yml +0 -210
- data/locales/lt.yml +0 -210
- data/locales/lv.yml +0 -210
- data/locales/mt.yml +0 -210
- data/locales/nl.yml +0 -210
- data/locales/no.yml +0 -211
- data/locales/pl.yml +0 -210
- data/locales/pt-PT.yml +0 -210
- data/locales/ro.yml +0 -210
- data/locales/ru.yml +0 -210
- data/locales/sk.yml +0 -210
- data/locales/sl.yml +0 -210
- data/locales/sq.yml +0 -210
- data/locales/sr.yml +0 -210
- data/locales/sv.yml +0 -210
- data/locales/th.yml +0 -210
- data/locales/tl.yml +0 -210
- data/locales/tr.yml +0 -210
- data/locales/uk.yml +0 -210
- data/locales/vi.yml +0 -210
- data/locales/zh-CN.yml +0 -210
- data/locales/zh-TW.yml +0 -210
- data/locales/zh.yml +0 -210
- data/public/images/service_icons/16/amazon.png +0 -0
- data/public/images/service_icons/16/ask.png +0 -0
- data/public/images/service_icons/16/bibsonomy.png +0 -0
- data/public/images/service_icons/16/bing.png +0 -0
- data/public/images/service_icons/16/blogger.png +0 -0
- data/public/images/service_icons/16/bloglines.png +0 -0
- data/public/images/service_icons/16/citeulike.png +0 -0
- data/public/images/service_icons/16/clipmarks.png +0 -0
- data/public/images/service_icons/16/connotea.png +0 -0
- data/public/images/service_icons/16/dailymotion.png +0 -0
- data/public/images/service_icons/16/delicious.png +0 -0
- data/public/images/service_icons/16/digg.png +0 -0
- data/public/images/service_icons/16/diigo.png +0 -0
- data/public/images/service_icons/16/facebook.png +0 -0
- data/public/images/service_icons/16/feed.png +0 -0
- data/public/images/service_icons/16/flickr.png +0 -0
- data/public/images/service_icons/16/fotolog.png +0 -0
- data/public/images/service_icons/16/friendfeed.png +0 -0
- data/public/images/service_icons/16/friendster.png +0 -0
- data/public/images/service_icons/16/furl.png +0 -0
- data/public/images/service_icons/16/goodreads.png +0 -0
- data/public/images/service_icons/16/google.png +0 -0
- data/public/images/service_icons/16/googleblog.png +0 -0
- data/public/images/service_icons/16/googlenews.png +0 -0
- data/public/images/service_icons/16/icerocket.png +0 -0
- data/public/images/service_icons/16/identica.png +0 -0
- data/public/images/service_icons/16/joost.png +0 -0
- data/public/images/service_icons/16/lastfm.png +0 -0
- data/public/images/service_icons/16/librarything.png +0 -0
- data/public/images/service_icons/16/linkedin.png +0 -0
- data/public/images/service_icons/16/livejournal.png +0 -0
- data/public/images/service_icons/16/magnolia.png +0 -0
- data/public/images/service_icons/16/mendeley.png +0 -0
- data/public/images/service_icons/16/metacafe.png +0 -0
- data/public/images/service_icons/16/mixx.png +0 -0
- data/public/images/service_icons/16/myspace.png +0 -0
- data/public/images/service_icons/16/netflix.png +0 -0
- data/public/images/service_icons/16/netvibes.png +0 -0
- data/public/images/service_icons/16/newsvine.png +0 -0
- data/public/images/service_icons/16/oai.png +0 -0
- data/public/images/service_icons/16/odeo.png +0 -0
- data/public/images/service_icons/16/opml.png +0 -0
- data/public/images/service_icons/16/pandora.png +0 -0
- data/public/images/service_icons/16/photobucket.png +0 -0
- data/public/images/service_icons/16/picasa.png +0 -0
- data/public/images/service_icons/16/polyvore.png +0 -0
- data/public/images/service_icons/16/pownce.png +0 -0
- data/public/images/service_icons/16/reddit.png +0 -0
- data/public/images/service_icons/16/simpy.png +0 -0
- data/public/images/service_icons/16/smugmug.png +0 -0
- data/public/images/service_icons/16/stumbleupon.png +0 -0
- data/public/images/service_icons/16/tag.png +0 -0
- data/public/images/service_icons/16/technorati.png +0 -0
- data/public/images/service_icons/16/tumblr.png +0 -0
- data/public/images/service_icons/16/twine.png +0 -0
- data/public/images/service_icons/16/twitter.png +0 -0
- data/public/images/service_icons/16/vimeo.png +0 -0
- data/public/images/service_icons/16/webshots.png +0 -0
- data/public/images/service_icons/16/wordpress.png +0 -0
- data/public/images/service_icons/16/xanga.png +0 -0
- data/public/images/service_icons/16/yahoo.png +0 -0
- data/public/images/service_icons/16/yelp.png +0 -0
- data/public/images/service_icons/16/youtube.png +0 -0
- data/public/images/service_icons/16/zooomr.png +0 -0
- data/public/images/service_icons/16/zotero.png +0 -0
- data/public/images/service_icons/24/amazon.png +0 -0
- data/public/images/service_icons/24/ask.png +0 -0
- data/public/images/service_icons/24/bibsonomy.png +0 -0
- data/public/images/service_icons/24/bing.png +0 -0
- data/public/images/service_icons/24/blogger.png +0 -0
- data/public/images/service_icons/24/bloglines.png +0 -0
- data/public/images/service_icons/24/citeulike.png +0 -0
- data/public/images/service_icons/24/clipmarks.png +0 -0
- data/public/images/service_icons/24/connotea.png +0 -0
- data/public/images/service_icons/24/dailymotion.png +0 -0
- data/public/images/service_icons/24/delicious.png +0 -0
- data/public/images/service_icons/24/digg.png +0 -0
- data/public/images/service_icons/24/diigo.png +0 -0
- data/public/images/service_icons/24/facebook.png +0 -0
- data/public/images/service_icons/24/feed.png +0 -0
- data/public/images/service_icons/24/flickr.png +0 -0
- data/public/images/service_icons/24/fotolog.png +0 -0
- data/public/images/service_icons/24/friendfeed.png +0 -0
- data/public/images/service_icons/24/friendster.png +0 -0
- data/public/images/service_icons/24/furl.png +0 -0
- data/public/images/service_icons/24/goodreads.png +0 -0
- data/public/images/service_icons/24/google.png +0 -0
- data/public/images/service_icons/24/googleblog.png +0 -0
- data/public/images/service_icons/24/googlenews.png +0 -0
- data/public/images/service_icons/24/icerocket.png +0 -0
- data/public/images/service_icons/24/identica.png +0 -0
- data/public/images/service_icons/24/joost.png +0 -0
- data/public/images/service_icons/24/lastfm.png +0 -0
- data/public/images/service_icons/24/librarything.png +0 -0
- data/public/images/service_icons/24/linkedin.png +0 -0
- data/public/images/service_icons/24/livejournal.png +0 -0
- data/public/images/service_icons/24/magnolia.png +0 -0
- data/public/images/service_icons/24/mendeley.png +0 -0
- data/public/images/service_icons/24/metacafe.png +0 -0
- data/public/images/service_icons/24/mixx.png +0 -0
- data/public/images/service_icons/24/myspace.png +0 -0
- data/public/images/service_icons/24/netflix.png +0 -0
- data/public/images/service_icons/24/netvibes.png +0 -0
- data/public/images/service_icons/24/newsvine.png +0 -0
- data/public/images/service_icons/24/oai.png +0 -0
- data/public/images/service_icons/24/odeo.png +0 -0
- data/public/images/service_icons/24/opml.png +0 -0
- data/public/images/service_icons/24/pandora.png +0 -0
- data/public/images/service_icons/24/photobucket.png +0 -0
- data/public/images/service_icons/24/picasa.png +0 -0
- data/public/images/service_icons/24/polyvore.png +0 -0
- data/public/images/service_icons/24/pownce.png +0 -0
- data/public/images/service_icons/24/reddit.png +0 -0
- data/public/images/service_icons/24/simpy.png +0 -0
- data/public/images/service_icons/24/smugmug.png +0 -0
- data/public/images/service_icons/24/stumbleupon.png +0 -0
- data/public/images/service_icons/24/tag.png +0 -0
- data/public/images/service_icons/24/technorati.png +0 -0
- data/public/images/service_icons/24/tumblr.png +0 -0
- data/public/images/service_icons/24/twine.png +0 -0
- data/public/images/service_icons/24/twitter.png +0 -0
- data/public/images/service_icons/24/vimeo.png +0 -0
- data/public/images/service_icons/24/webshots.png +0 -0
- data/public/images/service_icons/24/wordpress.png +0 -0
- data/public/images/service_icons/24/xanga.png +0 -0
- data/public/images/service_icons/24/yahoo.png +0 -0
- data/public/images/service_icons/24/yelp.png +0 -0
- data/public/images/service_icons/24/youtube.png +0 -0
- data/public/images/service_icons/24/zooomr.png +0 -0
- data/public/images/service_icons/24/zotero.png +0 -0
- data/public/images/service_icons/48/amazon.png +0 -0
- data/public/images/service_icons/48/ask.png +0 -0
- data/public/images/service_icons/48/bibsonomy.png +0 -0
- data/public/images/service_icons/48/bing.png +0 -0
- data/public/images/service_icons/48/blogger.png +0 -0
- data/public/images/service_icons/48/bloglines.png +0 -0
- data/public/images/service_icons/48/citeulike.png +0 -0
- data/public/images/service_icons/48/clipmarks.png +0 -0
- data/public/images/service_icons/48/connotea.png +0 -0
- data/public/images/service_icons/48/dailymotion.png +0 -0
- data/public/images/service_icons/48/delicious.png +0 -0
- data/public/images/service_icons/48/digg.png +0 -0
- data/public/images/service_icons/48/diigo.png +0 -0
- data/public/images/service_icons/48/facebook.png +0 -0
- data/public/images/service_icons/48/feed.png +0 -0
- data/public/images/service_icons/48/flickr.png +0 -0
- data/public/images/service_icons/48/fotolog.png +0 -0
- data/public/images/service_icons/48/friendfeed.png +0 -0
- data/public/images/service_icons/48/friendster.png +0 -0
- data/public/images/service_icons/48/furl.png +0 -0
- data/public/images/service_icons/48/goodreads.png +0 -0
- data/public/images/service_icons/48/google.png +0 -0
- data/public/images/service_icons/48/googleblog.png +0 -0
- data/public/images/service_icons/48/googlenews.png +0 -0
- data/public/images/service_icons/48/icerocket.png +0 -0
- data/public/images/service_icons/48/identica.png +0 -0
- data/public/images/service_icons/48/joost.png +0 -0
- data/public/images/service_icons/48/lastfm.png +0 -0
- data/public/images/service_icons/48/librarything.png +0 -0
- data/public/images/service_icons/48/linkedin.png +0 -0
- data/public/images/service_icons/48/livejournal.png +0 -0
- data/public/images/service_icons/48/magnolia.png +0 -0
- data/public/images/service_icons/48/mendeley.png +0 -0
- data/public/images/service_icons/48/metacafe.png +0 -0
- data/public/images/service_icons/48/mixx.png +0 -0
- data/public/images/service_icons/48/myspace.png +0 -0
- data/public/images/service_icons/48/netflix.png +0 -0
- data/public/images/service_icons/48/netvibes.png +0 -0
- data/public/images/service_icons/48/newsvine.png +0 -0
- data/public/images/service_icons/48/oai.png +0 -0
- data/public/images/service_icons/48/odeo.png +0 -0
- data/public/images/service_icons/48/opml.png +0 -0
- data/public/images/service_icons/48/pandora.png +0 -0
- data/public/images/service_icons/48/photobucket.png +0 -0
- data/public/images/service_icons/48/picasa.png +0 -0
- data/public/images/service_icons/48/polyvore.png +0 -0
- data/public/images/service_icons/48/pownce.png +0 -0
- data/public/images/service_icons/48/reddit.png +0 -0
- data/public/images/service_icons/48/simpy.png +0 -0
- data/public/images/service_icons/48/smugmug.png +0 -0
- data/public/images/service_icons/48/stumbleupon.png +0 -0
- data/public/images/service_icons/48/tag.png +0 -0
- data/public/images/service_icons/48/technorati.png +0 -0
- data/public/images/service_icons/48/tumblr.png +0 -0
- data/public/images/service_icons/48/twine.png +0 -0
- data/public/images/service_icons/48/twitter.png +0 -0
- data/public/images/service_icons/48/vimeo.png +0 -0
- data/public/images/service_icons/48/webshots.png +0 -0
- data/public/images/service_icons/48/wordpress.png +0 -0
- data/public/images/service_icons/48/xanga.png +0 -0
- data/public/images/service_icons/48/yahoo.png +0 -0
- data/public/images/service_icons/48/yelp.png +0 -0
- data/public/images/service_icons/48/youtube.png +0 -0
- data/public/images/service_icons/48/zooomr.png +0 -0
- data/public/images/service_icons/48/zotero.png +0 -0
- data/public/images/service_icons/60/amazon.png +0 -0
- data/public/images/service_icons/60/ask.png +0 -0
- data/public/images/service_icons/60/bibsonomy.png +0 -0
- data/public/images/service_icons/60/bing.png +0 -0
- data/public/images/service_icons/60/blogger.png +0 -0
- data/public/images/service_icons/60/bloglines.png +0 -0
- data/public/images/service_icons/60/citeulike.png +0 -0
- data/public/images/service_icons/60/clipmarks.png +0 -0
- data/public/images/service_icons/60/connotea.png +0 -0
- data/public/images/service_icons/60/dailymotion.png +0 -0
- data/public/images/service_icons/60/delicious.png +0 -0
- data/public/images/service_icons/60/digg.png +0 -0
- data/public/images/service_icons/60/diigo.png +0 -0
- data/public/images/service_icons/60/facebook.png +0 -0
- data/public/images/service_icons/60/feed.png +0 -0
- data/public/images/service_icons/60/flickr.png +0 -0
- data/public/images/service_icons/60/fotolog.png +0 -0
- data/public/images/service_icons/60/friendfeed.png +0 -0
- data/public/images/service_icons/60/friendster.png +0 -0
- data/public/images/service_icons/60/furl.png +0 -0
- data/public/images/service_icons/60/goodreads.png +0 -0
- data/public/images/service_icons/60/google.png +0 -0
- data/public/images/service_icons/60/googleblog.png +0 -0
- data/public/images/service_icons/60/googlenews.png +0 -0
- data/public/images/service_icons/60/icerocket.png +0 -0
- data/public/images/service_icons/60/identica.png +0 -0
- data/public/images/service_icons/60/joost.png +0 -0
- data/public/images/service_icons/60/lastfm.png +0 -0
- data/public/images/service_icons/60/librarything.png +0 -0
- data/public/images/service_icons/60/linkedin.png +0 -0
- data/public/images/service_icons/60/livejournal.png +0 -0
- data/public/images/service_icons/60/magnolia.png +0 -0
- data/public/images/service_icons/60/mendeley.png +0 -0
- data/public/images/service_icons/60/metacafe.png +0 -0
- data/public/images/service_icons/60/mixx.png +0 -0
- data/public/images/service_icons/60/myspace.png +0 -0
- data/public/images/service_icons/60/netflix.png +0 -0
- data/public/images/service_icons/60/netvibes.png +0 -0
- data/public/images/service_icons/60/newsvine.png +0 -0
- data/public/images/service_icons/60/oai.png +0 -0
- data/public/images/service_icons/60/odeo.png +0 -0
- data/public/images/service_icons/60/opml.png +0 -0
- data/public/images/service_icons/60/pandora.png +0 -0
- data/public/images/service_icons/60/photobucket.png +0 -0
- data/public/images/service_icons/60/picasa.png +0 -0
- data/public/images/service_icons/60/polyvore.png +0 -0
- data/public/images/service_icons/60/pownce.png +0 -0
- data/public/images/service_icons/60/reddit.png +0 -0
- data/public/images/service_icons/60/simpy.png +0 -0
- data/public/images/service_icons/60/smugmug.png +0 -0
- data/public/images/service_icons/60/stumbleupon.png +0 -0
- data/public/images/service_icons/60/tag.png +0 -0
- data/public/images/service_icons/60/technorati.png +0 -0
- data/public/images/service_icons/60/tumblr.png +0 -0
- data/public/images/service_icons/60/twine.png +0 -0
- data/public/images/service_icons/60/twitter.png +0 -0
- data/public/images/service_icons/60/vimeo.png +0 -0
- data/public/images/service_icons/60/webshots.png +0 -0
- data/public/images/service_icons/60/wordpress.png +0 -0
- data/public/images/service_icons/60/xanga.png +0 -0
- data/public/images/service_icons/60/yahoo.png +0 -0
- data/public/images/service_icons/60/yelp.png +0 -0
- data/public/images/service_icons/60/youtube.png +0 -0
- data/public/images/service_icons/60/zooomr.png +0 -0
- data/public/images/service_icons/60/zotero.png +0 -0
- data/public/images/service_icons/facebook_friend_links.jpg +0 -0
- data/public/images/service_icons/facebook_my_links.jpg +0 -0
- data/public/javascripts/muck_raker.js +0 -94
- data/public/stylesheets/frame.css +0 -56
- data/public/stylesheets/muck-raker.css +0 -90
- data/test/rails_root/app/controllers/application_controller.rb +0 -32
- data/test/rails_root/app/controllers/default_controller.rb +0 -7
- data/test/rails_root/app/helpers/application_helper.rb +0 -3
- data/test/rails_root/app/models/activity.rb +0 -24
- data/test/rails_root/app/models/comment.rb +0 -23
- data/test/rails_root/app/models/share.rb +0 -20
- data/test/rails_root/app/models/user.rb +0 -43
- data/test/rails_root/app/models/user_session.rb +0 -2
- data/test/rails_root/config/environments/cucumber.rb +0 -21
- data/test/rails_root/features/step_definitions/common_steps.rb +0 -93
- data/test/rails_root/features/step_definitions/visit_steps.rb +0 -6
- data/test/rails_root/features/step_definitions/webrat_steps.rb +0 -128
- data/test/rails_root/features/support/env.rb +0 -14
- data/test/rails_root/features/support/paths.rb +0 -36
- data/test/rails_root/public/dispatch.rb +0 -10
- data/test/rails_root/test/factories.rb +0 -151
- data/test/rails_root/test/functional/admin/feeds_controller_test.rb +0 -37
- data/test/rails_root/test/functional/admin/oai_endpoints_controller_test.rb +0 -30
- data/test/rails_root/test/functional/aggregation_feeds_controller_test.rb +0 -67
- data/test/rails_root/test/functional/aggregations_controller_test.rb +0 -89
- data/test/rails_root/test/functional/feed_previews_controller_test.rb +0 -32
- data/test/rails_root/test/functional/feeds_controller_test.rb +0 -77
- data/test/rails_root/test/functional/identity_feeds_controller_test.rb +0 -110
- data/test/rails_root/test/functional/oai_endpoints_controller_test.rb +0 -42
- data/test/rails_root/test/functional/topics_controller_test.rb +0 -46
- data/test/rails_root/test/functional/visits_controller_test.rb +0 -21
- data/test/rails_root/test/shoulda_macros/controller.rb +0 -49
- data/test/rails_root/test/shoulda_macros/forms.rb +0 -32
- data/test/rails_root/test/shoulda_macros/models.rb +0 -50
- data/test/rails_root/test/shoulda_macros/pagination.rb +0 -53
- data/test/rails_root/test/shoulda_macros/plugins.rb +0 -34
- data/test/rails_root/test/test_helper.rb +0 -85
- data/test/rails_root/test/unit/aggregation_feed_test.rb +0 -25
- data/test/rails_root/test/unit/aggregation_test.rb +0 -120
- data/test/rails_root/test/unit/comment_test.rb +0 -38
- data/test/rails_root/test/unit/entry_test.rb +0 -65
- data/test/rails_root/test/unit/feed_parent_test.rb +0 -22
- data/test/rails_root/test/unit/feed_test.rb +0 -177
- data/test/rails_root/test/unit/identity_feed_test.rb +0 -18
- data/test/rails_root/test/unit/oai_endpoint_test.rb +0 -40
- data/test/rails_root/test/unit/raker_mailer_test.rb +0 -35
- data/test/rails_root/test/unit/service_category_test.rb +0 -19
- data/test/rails_root/test/unit/service_test.rb +0 -331
- data/test/rails_root/test/unit/share_test.rb +0 -30
- data/test/rails_root/test/unit/tag_cloud_test.rb +0 -23
- data/test/rails_root/test/unit/user_test.rb +0 -43
- data/test/rails_root/vendor/plugins/jrails/init.rb +0 -1
- data/test/rails_root/vendor/plugins/jrails/install.rb +0 -9
- data/test/rails_root/vendor/plugins/jrails/lib/jrails.rb +0 -421
- data/test/rails_root/vendor/plugins/jrails/rails/init.rb +0 -15
- data/test/rails_root/vendor/plugins/ssl_requirement/lib/ssl_requirement.rb +0 -62
- data/test/rails_root/vendor/plugins/ssl_requirement/test/ssl_requirement_test.rb +0 -132
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Jauns oai rezultāts ir pievienots <%= @application_name %> </h2>
|
2
|
-
<p> Nosaukums: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Tips: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Manage feeds: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> A endpoint ÖÀÎ ġdid ġie miżjud <%= @application_name %> </h2>
|
2
|
-
<p> Titolu: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Uri: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Manage feeds: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Een nieuwe oai eindpunt is toegevoegd aan <%= @application_name %> </h2>
|
2
|
-
<p> Titel: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Uri: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Beheer feeds: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> En ny oai endepunktet har blitt lagt til <%= @application_name %> </h2>
|
2
|
-
<p> Tittel: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Uri: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Behandle feeds: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Nowy punkt końcowy oai został dodany do <%= @application_name %> </h2>
|
2
|
-
<p> Tytuł: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Uri: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Zarządzanie RSS: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Um ponto de extremidade oai nova foi adicionada ao <%= @application_name %> </h2>
|
2
|
-
<p> Título: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Uri: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Gerenciar feeds: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Un obiectiv nou OAI a fost adăugat în <%= @application_name %> </h2>
|
2
|
-
<p> Titlu: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Uri: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Gestionaţi Feed-uri: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Новая конечная точка ИОА была добавлена в <%= @application_name %> </h2>
|
2
|
-
<p> Название: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Ури: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Управление каналами: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Nový oai koniec bol pridaný <%= @application_name %> </h2>
|
2
|
-
<p> Názov: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Uri: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Správa kanálov: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Nov OAI končni rezultat je bil dodan <%= @application_name %> </h2>
|
2
|
-
<p> Naslov: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Uri: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Delo z viri: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Një i ri endpoint ÒÂÏ është shtuar në <%= @application_name %> </h2>
|
2
|
-
<p> Title: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> URI: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Manage Feeds: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Нови ОАИ гране је додат <%= @application_name %> </h2>
|
2
|
-
<p> Наслов: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Ури: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Управљање извори: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> En ny OAI slutpunkt har lagts till <%= @application_name %> </h2>
|
2
|
-
<p> Titel: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> URI: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Hantera feeds: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Endpoint oai ใหม่ได้ถูกเพิ่มลง <%= @application_name %> </h2>
|
2
|
-
<p> ชื่อ: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> URI: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> จัดการข้อมูล: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Isang bagong endpoint oai ay naidagdag na sa <%= @application_name %> </h2>
|
2
|
-
<p> Title: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Uri: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Pamahalaan ang mga feed: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Yeni oai uç <%= @application_name %> eklendi </h2>
|
2
|
-
<p> Title: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Uri: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Yönetmek beslemeleri: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Нова кінцева точка ІОА була додана в <%= @application_name %> </h2>
|
2
|
-
<p> Назва: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Урі: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Управління каналами: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<h2> Một điểm cuối oai mới đã được thêm vào <%= @application_name %> </h2>
|
2
|
-
<p> Tiêu đề: <%= @oai_endpoint.title %> </p>
|
3
|
-
<p> Loại: <%= @oai_endpoint.uri %> </p>
|
4
|
-
<p> Quản lý nguồn cấp dữ liệu: <%= link_to feeds_path(:order => 'created_at', :asc => 'false'), feeds_path(:order => 'created_at', :asc => 'false') %> </p>
|
@@ -1,44 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
@json_recommendations = @entry.json_recommendations(@limit, params[:order] || "mixed", true, params[:omit_feeds] || nil)
|
3
|
-
if !@json_recommendations.nil?
|
4
|
-
@direct_link_text = params[:direct_link_text] || t('muck.raker.direct_link')
|
5
|
-
%>
|
6
|
-
var catalog_page = <%= !@entry.direct_link.nil? and @uri == @entry.permalink %>;
|
7
|
-
var document_host = '<%= @host %>';
|
8
|
-
var recs = <%= @json_recommendations %>;
|
9
|
-
var app = "http://folksemantic.com/";
|
10
|
-
<% if @details == true -%>
|
11
|
-
function truncate(text, length) {
|
12
|
-
nEnd = text.indexOf(" ", 200);
|
13
|
-
if (nEnd < 200) return text;
|
14
|
-
else return text.substring(0, nEnd) + " ...";
|
15
|
-
}
|
16
|
-
var asMonths = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
|
17
|
-
function format_date(published_at) {
|
18
|
-
date = new Date();
|
19
|
-
date.setTime(Date.parse(published_at));
|
20
|
-
return date.getDate() + " " + asMonths[date.getMonth()] + " " + date.getUTCFullYear();
|
21
|
-
}
|
22
|
-
<% end %>
|
23
|
-
document.write('<div class="oer_recommender_container">');
|
24
|
-
<% if params[:title] %>document.write('<div class="oer_recommender_title"><%= t('muck.raker.gm_title') %></div>');<% end %>
|
25
|
-
document.write('<div class="oer_recommender_list">');
|
26
|
-
for(nRec = 0; nRec < recs.length; nRec++) {
|
27
|
-
r = recs[nRec].entry;
|
28
|
-
metadata_link = catalog_page && document_host == r.uri.substring(0, document_host.length);
|
29
|
-
direct_link = metadata_link && r.direct_link;
|
30
|
-
document.write('<p class="oer_recommender_item">');
|
31
|
-
document.write('<a class="oer_recommender_recommendation_link" href="' + app + 'r?id=' + r.id + (metadata_link ? "&target=metadata" : "") + '">' + r.title + ' (' + r.collection + ')</a>');
|
32
|
-
if (direct_link) document.write(' <a class="oer_recommender_direct_link" href="' + app + 'r?id=' + r.id + '&target=direct_link"><%= @direct_link_text %></a>');
|
33
|
-
<% if @details == true -%>
|
34
|
-
document.write(' <span class="oer_recommender_published_at">(' + format_date(r.published_at) + ')</span>');
|
35
|
-
document.write(' <span class="oer_recommender_relevance_score"><%= t('muck.raker.relevance')%>: ' + Math.round(r.relevance*100)/100 + '</span>');
|
36
|
-
document.write('<br/><span class="oer_recommender_description">' + truncate(r.description) + '</span>');
|
37
|
-
document.write('<br/><span class="oer_recommender_uri">' + r.uri + '</span>');
|
38
|
-
<% end -%>
|
39
|
-
document.write('</a></p>');
|
40
|
-
}
|
41
|
-
document.write('</div>');
|
42
|
-
<% if params[:more_link] %>document.write('<div class="oer_recommender_more_link"><a href="' + app + 'documents/<%= @entry.id %>"><%= t('muck.raker.gm_more_prompt') %></a></div>');<% end %>
|
43
|
-
document.write('</div>');
|
44
|
-
<% end %>
|
@@ -1,37 +0,0 @@
|
|
1
|
-
if @entry.nil?
|
2
|
-
@recommendations = Array.new
|
3
|
-
else
|
4
|
-
@recommendations = @entry.ranked_recommendations(@limit, params[:order] || "mixed")
|
5
|
-
end
|
6
|
-
|
7
|
-
headers["Content-Type"] = "application/rss+xml"
|
8
|
-
xml.instruct!
|
9
|
-
|
10
|
-
xml.rss "version" => "2.0", "xmlns:dc" => "http://purl.org/dc/elements/1.1/", "xmlns:oerr" => "http://www.oerrecommender.org/oerr/elements/1.0/" do
|
11
|
-
xml.channel do
|
12
|
-
|
13
|
-
xml.title "OER Recommender recommendations for " + @entry.permalink
|
14
|
-
xml.link url_for(request.env["REQUEST_URI"])
|
15
|
-
# xml.pubDate CGI.rfc1123_date @entries.first.updated_at if @entries.any?
|
16
|
-
# xml.description "Blog posts for " + @event.title
|
17
|
-
xml.generator 'OER Recommender'
|
18
|
-
|
19
|
-
@recommendations.each do |recommendation|
|
20
|
-
xml.item do
|
21
|
-
xml.link recommendation["uri"]
|
22
|
-
xml.oerr :clicks, recommendation["clicks"]
|
23
|
-
xml.oerr :relevance, round(recommendation["relevance"])
|
24
|
-
xml.title recommendation["title"]
|
25
|
-
if recommendation["description"] != nil
|
26
|
-
xml.description "type" => "html" do
|
27
|
-
xml.text! recommendation["description"]
|
28
|
-
end
|
29
|
-
end
|
30
|
-
# xml.pubDate CGI.rfc1123_date recommendation.created_at
|
31
|
-
xml.guid "http://www.oerrecommender.org/r?id=" + recommendation["id"].to_s
|
32
|
-
# xml.author "#{entry.author} (#{entry.author})"
|
33
|
-
end
|
34
|
-
end
|
35
|
-
|
36
|
-
end
|
37
|
-
end
|
@@ -1,36 +0,0 @@
|
|
1
|
-
xml.instruct!
|
2
|
-
|
3
|
-
if @entry.nil?
|
4
|
-
xml.recommendations
|
5
|
-
else
|
6
|
-
|
7
|
-
@recommendations = @entry.ranked_recommendations(@limit, params[:order] || "mixed", @details)
|
8
|
-
#xml.recommendations(:document_id => @entry.nil? ? "" : @entry.id, :uri => @uri, :title => t(:gm_title), :more_prompt => t(:gm_more_prompt), :direct_link_text => t(:direct_link), :locale => @entry.language) do
|
9
|
-
xml.recommendations(:document_id => @entry.nil? ? "" : @entry.id, :uri => @uri, :title => t("muck.raker.gm_title"), :more_prompt => t("muck.raker.gm_more_prompt"), :direct_link_text => t("muck.raker.direct_link")) do
|
10
|
-
@recommendations.each do |recommendation|
|
11
|
-
xml.recommendation do
|
12
|
-
xml.title recommendation["title"]
|
13
|
-
xml.collection recommendation["collection"]
|
14
|
-
xml.link "http://folksemantic.com/r?id=" + recommendation["id"].to_s
|
15
|
-
# xml.link "http://localhost:3000/r?id=" + recommendation["id"].to_s
|
16
|
-
xml.has_direct_link "true" if (recommendation["direct_link"] != nil and @uri[0..20] == recommendation["uri"][0..20])
|
17
|
-
|
18
|
-
if @details == true
|
19
|
-
xml.direct_link "http://www.folksemantic.com/r?id=" + recommendation["id"].to_s + "&u=" + recommendation["direct_link"] if recommendation["direct_link"] != nil
|
20
|
-
# xml.direct_link "http://localhost:3000/r?id=" + recommendation["id"].to_s + "&u=" + recommendation["direct_link"] if recommendation["direct_link"] != nil
|
21
|
-
xml.uri recommendation["uri"]
|
22
|
-
xml.direct_uri recommendation["direct_link"]
|
23
|
-
xml.description recommendation["description"]
|
24
|
-
xml.clicks recommendation["clicks"]
|
25
|
-
xml.average_time_at_dest recommendation["avg_time_on_target"]
|
26
|
-
xml.relevance round(recommendation["relevance"])
|
27
|
-
xml.published_at recommendation["published_at"]
|
28
|
-
xml.author recommendation["author"]
|
29
|
-
xml.tag_list recommendation["tag_list"]
|
30
|
-
else
|
31
|
-
xml.description ""
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
end
|
@@ -1,39 +0,0 @@
|
|
1
|
-
<!--
|
2
|
-
this was an experiment with randomizing order in the js instead of server side
|
3
|
-
it is no longer used
|
4
|
-
-->
|
5
|
-
<% if @recs.size > 0 %>
|
6
|
-
function avg(aRecs){dSum = 0; for(nRec = 0; nRec < aRecs.length; nRec++) {dSum += aRecs[nRec].relevance;} return dSum/aRecs.length;}
|
7
|
-
function std(aRecs,dAvg){dSum = 0; for(nRec = 0; nRec < aRecs.length; nRec++) {dSum += Math.pow((aRecs[nRec].relevance-dAvg),2);} return Math.sqrt(dSum/aRecs.length);}
|
8
|
-
function calcThreshold(aRecs){var average = avg(aRecs);var standard_deviation = std(aRecs, average); return average + standard_deviation;}
|
9
|
-
function sortByClicks(r1,r2){return r2.clicks-r1.clicks;}
|
10
|
-
function randomize(aRecs){var i = aRecs.length;if (i == 0) return aRecs;while (--i){var j = Math.floor(Math.random()*(i+1));var ti = aRecs[i];var tj=aRecs[j];aRecs[i]= tj;aRecs[j]=ti;} return aRecs;}
|
11
|
-
function sortRecs(aRecs)
|
12
|
-
{
|
13
|
-
var relevance_threshold = calcThreshold(aRecs);
|
14
|
-
var nClickThreshold = 10;
|
15
|
-
var aPopular = new Array();
|
16
|
-
var aRelevant = new Array();
|
17
|
-
var aLoosers = new Array();
|
18
|
-
for(nRec = 0; nRec < aRecs.length; nRec++) {
|
19
|
-
r = aRecs[nRec];
|
20
|
-
if (r.clicks > nClickThreshold) aPopular.push(r);
|
21
|
-
else if (r.relevance > relevance_threshold) aRelevant.push(r);
|
22
|
-
else aLoosers.push(r);
|
23
|
-
}
|
24
|
-
return aPopular.sort(sortByClicks).concat(randomize(aRelevant),randomize(aLoosers));
|
25
|
-
}
|
26
|
-
var aRecommendations = [
|
27
|
-
<% @recs.each do |r| -%>
|
28
|
-
{"id":<%= r.id %>, "clicks":<%= r.clicks %>, "relevance":<%= r.relevance %>, "uri":"<%= r.uri %>", "title":"<%= r.title.gsub(/"/, '"').gsub(/'/, "'") %>", "source":"(<%= r.source %>)"},
|
29
|
-
<% end -%>];
|
30
|
-
document.write('<div class="oer_recommender_container"><div class="oer_recommender_title">Related Resources</div><div class="oer_recommender_list">');
|
31
|
-
var aSortedRecs = sortRecs(aRecommendations);
|
32
|
-
for(nRec = 0; nRec < aSortedRecs.length; nRec++)
|
33
|
-
{
|
34
|
-
r = aSortedRecs[nRec];
|
35
|
-
document.write('<p class="oer_recommender_item"><a href="http://www.oerrecommender.org/r?id=' + r.id + "&u=" + r.uri + '" title="' + r.source + ' ' + r.title + '">' + r.title + '</a></p>');
|
36
|
-
}
|
37
|
-
document.write('</div></div>');
|
38
|
-
<% end %>
|
39
|
-
<%= @recs_json %>
|
@@ -1,44 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
@json_recommendations = @entry.json_recommendations(@limit, params[:order] || "mixed", true, params[:omit_feeds] || nil)
|
3
|
-
if !@json_recommendations.nil?
|
4
|
-
@direct_link_text = params[:direct_link_text] || t('muck.raker.direct_link')
|
5
|
-
%>
|
6
|
-
var catalog_page = <%= !@entry.direct_link.nil? and @uri == @entry.permalink %>;
|
7
|
-
var document_host = '<%= @host %>';
|
8
|
-
var recs = <%= @json_recommendations %>.solr_data.docs;
|
9
|
-
var app = "http://folksemantic.com/";
|
10
|
-
<% if @details == true -%>
|
11
|
-
function truncate(text, length) {
|
12
|
-
nEnd = text.indexOf(" ", 200);
|
13
|
-
if (nEnd < 200) return text;
|
14
|
-
else return text.substring(0, nEnd) + " ...";
|
15
|
-
}
|
16
|
-
var asMonths = ["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];
|
17
|
-
function format_date(published_at) {
|
18
|
-
date = new Date();
|
19
|
-
date.setTime(Date.parse(published_at));
|
20
|
-
return date.getDate() + " " + asMonths[date.getMonth()] + " " + date.getUTCFullYear();
|
21
|
-
}
|
22
|
-
<% end %>
|
23
|
-
document.write('<div class="oer_recommender_container">');
|
24
|
-
<% if params[:title] %>document.write('<div class="oer_recommender_title"><%= t('muck.raker.gm_title') %></div>');<% end %>
|
25
|
-
document.write('<div class="oer_recommender_list">');
|
26
|
-
for(nRec = 0; nRec < recs.length; nRec++) {
|
27
|
-
r = recs[nRec].entry;
|
28
|
-
metadata_link = catalog_page && document_host == r.uri.substring(0, document_host.length);
|
29
|
-
direct_link = metadata_link && r.direct_link;
|
30
|
-
document.write('<p class="oer_recommender_item">');
|
31
|
-
document.write('<a class="oer_recommender_recommendation_link" href="' + app + 'visits/' + r.id +'">' + r.title + ' (' + r.collection + ')</a>');
|
32
|
-
if (direct_link) document.write(' <a class="oer_recommender_direct_link" href="' + app + 'visits/' + r.id + '?target=direct_link"><%= @direct_link_text %></a>');
|
33
|
-
<% if @details == true -%>
|
34
|
-
document.write(' <span class="oer_recommender_published_at">(' + format_date(r.published_at) + ')</span>');
|
35
|
-
document.write(' <span class="oer_recommender_relevance_score"><%= t('muck.raker.relevance')%>: ' + Math.round(r.relevance*100)/100 + '</span>');
|
36
|
-
document.write('<br/><span class="oer_recommender_description">' + truncate(r.description) + '</span>');
|
37
|
-
document.write('<br/><span class="oer_recommender_uri">' + r.uri + '</span>');
|
38
|
-
<% end -%>
|
39
|
-
document.write('</a></p>');
|
40
|
-
}
|
41
|
-
document.write('</div>');
|
42
|
-
<% if params[:more_link] %>document.write('<div class="oer_recommender_more_link"><a href="' + app + 'documents/<%= @entry.id %>"><%= t('muck.raker.gm_more_prompt') %></a></div>');<% end %>
|
43
|
-
document.write('</div>');
|
44
|
-
<% end %>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
xml.instruct!
|
2
|
-
|
3
|
-
if @entry.nil?
|
4
|
-
xml.recommendations
|
5
|
-
else
|
6
|
-
@recommendations = @entry.ranked_recommendations(@limit, params[:order] || "mixed", @details)
|
7
|
-
xml.recommendations(:document_id => @entry.nil? ? "" : @entry.id, :uri => @uri, :title => t("muck.raker.gm_title"), :more_prompt => t("muck.raker.gm_more_prompt"), :direct_link_text => t("muck.raker.direct_link")) do
|
8
|
-
@recommendations.results.each do |recommendation|
|
9
|
-
xml.recommendation do
|
10
|
-
xml.title recommendation["title"]
|
11
|
-
xml.collection recommendation["collection"]
|
12
|
-
xml.link "http://folksemantic.com/visits/" + recommendation["id"].to_s
|
13
|
-
|
14
|
-
if @details == true
|
15
|
-
xml.description recommendation["description"]
|
16
|
-
xml.relevance round(recommendation["score"])
|
17
|
-
xml.published_at recommendation["published_at"]
|
18
|
-
xml.author recommendation["author"]
|
19
|
-
else
|
20
|
-
xml.description ""
|
21
|
-
end
|
22
|
-
end
|
23
|
-
end
|
24
|
-
end
|
25
|
-
end
|
@@ -1,6 +0,0 @@
|
|
1
|
-
<select id="locale" name="locale" <%= (@auto_switch.nil? ? "" : "onchange=\"document.location='/?locale='+document.getElementById('locale').value\"")%>>
|
2
|
-
<% @languages.each do |language|%>
|
3
|
-
<option value="<%= language.code %>"<%= language.code == session[:locale] ? " selected" : "" %>><%= language.name %></option>
|
4
|
-
<% end %>
|
5
|
-
</select>
|
6
|
-
|
@@ -1,9 +0,0 @@
|
|
1
|
-
<% link = result.direct_link.nil? ? result.permalink : result.direct_link %>
|
2
|
-
<p>
|
3
|
-
<%= link_to result.title + " (" + result.collection + ")", link, :class => "title_link", :rel => "nofollow" %>
|
4
|
-
<span class='published_at'>(<%= result.published_at.strftime("%d %b %Y") %>)</span>
|
5
|
-
<span class='relevance_score'><%= t(:relevance) %>: <%= round(result.solr_score) %></span>
|
6
|
-
<% if !result.direct_link.nil? %> - <%= link_to t(:metadata), result.permalink, :class => "catalog_link" %><% end %>
|
7
|
-
<% if result.description.length > 0 %><br/><span class="description"><%= truncate_words(result.description) %></span><% end %>
|
8
|
-
<br/><span class="uri"><%= link %></span> - <%= link_to t(:related_resources), "/documents/" + result.id.to_s, :class => "related_resources_link", :rel => "nofollow" %>
|
9
|
-
</p>
|
@@ -1,9 +0,0 @@
|
|
1
|
-
<% form_tag(:controller => 'search', :action => 'results') do %>
|
2
|
-
<%= text_field_tag(:form_terms, @terms.nil? ? "" : @terms, :size => 30) %>
|
3
|
-
<%= submit_tag(t(:search), :class => "input-button") %>
|
4
|
-
<%= render(:partial => "search/languages") %>
|
5
|
-
<% end %>
|
6
|
-
<p class="help_links"><%= link_to t(:demo), "/help/demo" %>
|
7
|
-
| <%= link_to t(:collections_long), "/collections" %>
|
8
|
-
| <%= link_to t(:developers_long), "/help/integration" %>
|
9
|
-
- <%= t(:powered_by) %> <a href="http://lucene.apache.org/">Lucene</a></p>
|
@@ -1,27 +0,0 @@
|
|
1
|
-
headers["Content-Type"] = "application/atom+xml"
|
2
|
-
xml.instruct!
|
3
|
-
|
4
|
-
xml.feed "xmlns" => "http://www.w3.org/2005/Atom" do
|
5
|
-
|
6
|
-
xml.title "Open Educational Resources"
|
7
|
-
xml.link "rel" => "self", "href" => request.env["REQUEST_URI"]
|
8
|
-
xml.id url_for(:only_path => false, :controller => 'results')
|
9
|
-
xml.updated CGI.rfc1123_date Time.now
|
10
|
-
xml.author { xml.name "Open Educational Resources" }
|
11
|
-
|
12
|
-
xml.image do
|
13
|
-
xml.title 'Open Educational Resources logo'
|
14
|
-
xml.url 'http://www.oerrecommender.org/images/diagram.gif'
|
15
|
-
xml.link 'http://www.oerrecommender.org'
|
16
|
-
xml.description 'Open Educational Resources'
|
17
|
-
end
|
18
|
-
|
19
|
-
@results.each do |result|
|
20
|
-
xml.entry do
|
21
|
-
xml.title result.title
|
22
|
-
xml.link "rel" => "alternate", "href" => result.uri
|
23
|
-
xml.id result.uri
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
end
|