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,65 +0,0 @@
|
|
1
|
-
<%= output_errors('', {:class => 'help-box'}, @aggregation) %>
|
2
|
-
<div id="ajax-messages" class="message" style="display:none;"></div>
|
3
|
-
<%# TODO Add preview as single feed ie merge everything into a single feed and show that. %>
|
4
|
-
<div id="edit-aggregation-controls" class="span-8 column">
|
5
|
-
|
6
|
-
<div class="box">
|
7
|
-
<h2><%= t('muck.raker.edit_aggregation')%></h2>
|
8
|
-
<% custom_form_for(@aggregation, :url => polymorphic_url([@parent, @aggregation]), :id => 'update-aggregation-form') do |f| -%>
|
9
|
-
<%= f.text_field :title, { :label => t('muck.raker.add_aggregation_title') } %>
|
10
|
-
<%= f.submit t('muck.general.save'), :id => 'update-aggregation-button' %>
|
11
|
-
<% end -%>
|
12
|
-
</div>
|
13
|
-
|
14
|
-
<div class="box">
|
15
|
-
<h2><%= t('muck.raker.add_feed') %></h2>
|
16
|
-
<% custom_form_for(@aggregation, :url => polymorphic_url([@parent, @aggregation]), :id => 'add-feed-form') do |f| -%>
|
17
|
-
<%= text_field_tag :uri, '', :id => 'add_uri' %>
|
18
|
-
<%= submit_tag t('muck.raker.add_feed'), :id => 'add-feed-button' %>
|
19
|
-
<div id="add-feed-waiting" class="waiting" style="display:none;"><%= t('muck.raker.searching_for_feed')%></div>
|
20
|
-
<% end -%>
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<div class="box">
|
24
|
-
<h2><%= t('muck.raker.add_opml_to_aggregation')%></h2>
|
25
|
-
</div>
|
26
|
-
|
27
|
-
<div class="box">
|
28
|
-
<h2><%= I18n.t('muck.raker.add_sources_by_tag') %></h2>
|
29
|
-
<% custom_form_for(@aggregation, :url => polymorphic_url([@parent, @aggregation]), :id => 'add-sources-form') do |f| -%>
|
30
|
-
<%= text_field_tag :terms %>
|
31
|
-
<%= f.submit t('muck.raker.add_more_sources'), :id => 'add-sources-button' %>
|
32
|
-
<div id="edit-data-sources" class="services-main span-16 column">
|
33
|
-
<%= data_sources(@service_categories) %>
|
34
|
-
</div>
|
35
|
-
<% end -%>
|
36
|
-
</div>
|
37
|
-
|
38
|
-
</div>
|
39
|
-
|
40
|
-
|
41
|
-
<div id="aggregation-feeds" class="span-16 column datafeeds">
|
42
|
-
<%= google_feeds(@feeds, @show_controls, @number_of_items, @number_of_images, @number_of_videos) %>
|
43
|
-
</div>
|
44
|
-
|
45
|
-
<%= render :partial => 'google/feeds_scripts' %>
|
46
|
-
|
47
|
-
<% content_for :javascript do -%>
|
48
|
-
jQuery(document).ready(function() {
|
49
|
-
jQuery("#add-feed-button").click(function() {
|
50
|
-
jQuery('#add-feed-waiting').show();
|
51
|
-
var form = jQuery(this).parents('form');
|
52
|
-
jQuery.post(form.attr('action') + '.json', form.serialize(),
|
53
|
-
function(data){
|
54
|
-
var json = eval('(' + data + ')');
|
55
|
-
if(json.success && json.feeds.length > 0){
|
56
|
-
jQuery('#aggregation-feeds').prepend(json.html);
|
57
|
-
} else {
|
58
|
-
<%= jquery_message('#ajax-messages') %>
|
59
|
-
}
|
60
|
-
jQuery('#add-feed-waiting').hide();
|
61
|
-
});
|
62
|
-
return false;
|
63
|
-
});
|
64
|
-
});
|
65
|
-
<% end -%>
|
@@ -1,17 +0,0 @@
|
|
1
|
-
<%= output_errors('', {:class => 'help-box'}) %>
|
2
|
-
<h1><%= @page_title %></h1>
|
3
|
-
|
4
|
-
<div id="search-container" class="services-main span-24 column">
|
5
|
-
<% custom_form_for(:aggregation, :url => preview_aggregations_path(@parent), :html => {:method => :get}) do |f| -%>
|
6
|
-
<%= render :partial => 'aggregations/preview_form', :locals => {:f => f} %>
|
7
|
-
<% end -%>
|
8
|
-
</div>
|
9
|
-
|
10
|
-
<div id="search-container" class="services-main span-24 column">
|
11
|
-
<h2><%= t('muck.raker.latest_aggregations')%></h2>
|
12
|
-
<%= render :partial => 'aggregations/aggregation', :collection => @aggregations %>
|
13
|
-
</div>
|
14
|
-
|
15
|
-
<% content_for :javascript do -%>
|
16
|
-
<%= show_hide_on_click('searching_message', 'search') %>
|
17
|
-
<% end -%>
|
File without changes
|
@@ -1,12 +0,0 @@
|
|
1
|
-
<%= output_errors('', {:class => 'help-box'}) %>
|
2
|
-
|
3
|
-
<% custom_form_for(:aggregation, :url => preview_aggregations_path(@parent), :html => {:method => :get}) do |f| -%>
|
4
|
-
<div id="add-data-source" class="services-main span-6 column">
|
5
|
-
<%= render :partial => 'aggregations/preview_form', :locals => {:f => f} %>
|
6
|
-
</div>
|
7
|
-
<div id="data-sources" class="services-main span-16 column">
|
8
|
-
<h2><%= I18n.t('muck.raker.available_sources') %></h2>
|
9
|
-
<%= data_sources(@service_categories) %>
|
10
|
-
</div>
|
11
|
-
<% end -%>
|
12
|
-
|
@@ -1,46 +0,0 @@
|
|
1
|
-
<%= output_errors('', {:class => 'help-box'}) %>
|
2
|
-
|
3
|
-
<% custom_form_for(:aggregation, :url => polymorphic_url([@parent, :aggregations])) do |f| -%>
|
4
|
-
|
5
|
-
<div class="span-24">
|
6
|
-
<h2><%= @title %></h2>
|
7
|
-
</div>
|
8
|
-
|
9
|
-
<div class="span-24">
|
10
|
-
<% if @show_controls -%>
|
11
|
-
<div id="save_aggregation_preview" class="box">
|
12
|
-
<% if logged_in? -%>
|
13
|
-
<%= f.text_field :title, { :label => t('muck.raker.add_aggregation_title') } %>
|
14
|
-
<%= f.hidden_field :terms %>
|
15
|
-
<%= f.submit t('muck.raker.save_aggreation') %>
|
16
|
-
<p><%= t('muck.raker.save_aggreation_instructions') %></p>
|
17
|
-
<% else -%>
|
18
|
-
<%= t('muck.raker.signup_to_save_aggreation', :login => link_to(t('muck.raker.login'), login_path),
|
19
|
-
:signup => link_to(t('muck.raker.signup'), signup_path)) %>
|
20
|
-
<% end -%>
|
21
|
-
<p><%= link_to t('muck.raker.new_search'), new_polymorphic_url([@parent, :aggregation]) %></p>
|
22
|
-
</div>
|
23
|
-
<% end -%>
|
24
|
-
</div>
|
25
|
-
|
26
|
-
<div class="span-14 column datafeeds">
|
27
|
-
|
28
|
-
<div id="calculated-feeds">
|
29
|
-
<%= google_feeds(@general_feeds, @show_controls, @number_of_items, @number_of_images, @number_of_videos) %>
|
30
|
-
</div>
|
31
|
-
|
32
|
-
<div id="discovered_feeds">
|
33
|
-
<%= google_feeds(@discovered_feeds, @show_controls, @number_of_items, @number_of_images, @number_of_videos, true) %>
|
34
|
-
</div>
|
35
|
-
</div>
|
36
|
-
|
37
|
-
<div class="span-10 column datafeeds">
|
38
|
-
<%= google_feeds(@photo_feeds, @show_controls, @number_of_items, @number_of_images, @number_of_videos) %>
|
39
|
-
<%= google_feeds(@video_feeds, @show_controls, @number_of_items, @number_of_images, @number_of_videos) %>
|
40
|
-
<%= google_feeds(@music_feeds, @show_controls, @number_of_items, @number_of_images, @number_of_videos) %>
|
41
|
-
<%= google_feeds(@bookmark_feeds, @show_controls, @number_of_items, @number_of_images, @number_of_videos) %>
|
42
|
-
</div>
|
43
|
-
|
44
|
-
<% end -%>
|
45
|
-
|
46
|
-
<%= render :partial => 'google/feeds_scripts' %>
|
File without changes
|
File without changes
|
@@ -1,4 +0,0 @@
|
|
1
|
-
<%= link_to related_entry.title + " (" + related_entry.collection + ")", "/r?id=#{related_entry.id}", :class => "title_link", :rel => "nofollow" %>
|
2
|
-
- <%= link_to t('muck.raker.related_resources'), resource_path(related_entry.dest_entry_id), :class => "related_resources_link", :rel => "nofollow" %>
|
3
|
-
<% if !related_entry.direct_link.nil? %> - <%= link_to t('muck.raker.metadata'), "/r?id=#{related_entry.id}&target=metadata", :class => "catalog_link" %><% end %>
|
4
|
-
<% if related_entry.description.length > 0 %><br/><span class="description"><%= truncate_words(related_entry.description) %></span><% end %>
|
@@ -1,7 +0,0 @@
|
|
1
|
-
<% link = visit_path(result) %>
|
2
|
-
<p>
|
3
|
-
<%= link_to result.title + " (" + result.collection + ")", link, :class => "title_link", :rel => "nofollow" %>
|
4
|
-
- <%= link_to t('muck.raker.related_resources'), resource_path(result), :class => "related_resources_link", :rel => "nofollow" %>
|
5
|
-
<% if !result.direct_link.nil? %> - <%= link_to t('muck.raker.metadata'), result.permalink, :class => "catalog_link" %><% end %>
|
6
|
-
<% if result.description.length > 0 %><br/><span class="description"><%= truncate_words(result.description) %></span><% end %>
|
7
|
-
</p>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<div id="results-description" class="block">
|
2
|
-
<div class="column span-24 align-right">
|
3
|
-
<span>
|
4
|
-
<%= results_status %>
|
5
|
-
<%= (' ' + link_to('[' + t('muck.raker.start_over') + ']', {:action => 'index', :grain_size => @grain_size}) + ' ') unless @tag_filter.nil? %>
|
6
|
-
|
7
|
-
<% if @grain_size == 'course' %>
|
8
|
-
<%= link_to('[' + t('muck.raker.show_tagged_resources') + ']', @tag_filter.nil? ? {:q => @search, :grain_size => 'all'} : {:grain_size => 'all'}) %>
|
9
|
-
<% else %>
|
10
|
-
<%= link_to('[' + t('muck.raker.show_tagged_courses') + ']', @tag_filter.nil? ? {:q => @search, :grain_size => 'course'} : {:grain_size => 'course'}) %>
|
11
|
-
<% end %>
|
12
|
-
|
13
|
-
<%= link_to('[' + t('muck.raker.explore', :topic => @search.titleize) + ']', topic_path(safe_id(@search))) %>
|
14
|
-
</span>
|
15
|
-
</div>
|
16
|
-
</div>
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<div id="tag-cloud">
|
2
|
-
<fieldset>
|
3
|
-
<legend><%= @tag_filter.nil? ? (@grain_size == 'course' ? t('muck.raker.courses_tag_cloud_label') : t('muck.raker.resources_tag_cloud_label')) : t('muck.raker.narrow_further') %></legend>
|
4
|
-
<% if @tag_cloud.blank? -%>
|
5
|
-
<%= t('muck.raker.no_tags') %>
|
6
|
-
<% else -%>
|
7
|
-
<% if @tag_filter %>
|
8
|
-
<% tag_cloud @tag_cloud, %w(cloud1 cloud2 cloud3 cloud4 cloud5 cloud6) do |tag, css_class| %>
|
9
|
-
<%= filtered_tag_link(tag, @tag_filter, css_class, @grain_size) %>
|
10
|
-
<% end %>
|
11
|
-
<% else %>
|
12
|
-
<% tag_cloud @tag_cloud, %w(cloud1 cloud2 cloud3 cloud4 cloud5 cloud6) do |tag, css_class| %>
|
13
|
-
<%= tag_link(tag, css_class, @grain_size) %>
|
14
|
-
<% end %>
|
15
|
-
<% end %>
|
16
|
-
<% end -%>
|
17
|
-
</fieldset>
|
18
|
-
</div>
|
@@ -1,16 +0,0 @@
|
|
1
|
-
<%= output_errors('', {:class => 'help-box'}) %>
|
2
|
-
<div class="block">
|
3
|
-
<% if @results.length > 0 %>
|
4
|
-
<%= render(:partial => 'entries/result_status') %>
|
5
|
-
<div class="column span-15">
|
6
|
-
<%= render(:partial => 'entries/results') %>
|
7
|
-
<div class="results-nav"><%= will_paginate(@paginated_results, :next_label => '<b>' + t('muck.raker.next_label') + ' »</b>', :previous_label => '<b>« ' + t('muck.raker.previous_label') + '</b>') %></div>
|
8
|
-
</div>
|
9
|
-
<div class="column span-9 last">
|
10
|
-
<%= render(:partial => 'entries/tag_cloud') %>
|
11
|
-
</div>
|
12
|
-
<% else %>
|
13
|
-
<p><%= @grain_size == 'all' ? t('muck.raker.no_tagged_resources', :tags => @search) : t('muck.raker.no_tagged_courses', :tags => @tag_filter.split('/').join(', ')) %></p>
|
14
|
-
<p><%= link_to('[' + t('muck.raker.explore', :topic => @search.titleize) + ']', topic_path(safe_id(@search))) %></p>
|
15
|
-
<% end %>
|
16
|
-
</div>
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<h1>OER Recommender - Indexed Collections</h1>
|
2
|
-
<p><a href="/">Return to home page</a></p>
|
3
|
-
|
4
|
-
<h2>Languages</h2>
|
5
|
-
<ul>
|
6
|
-
<% @languages.each do |language| %>
|
7
|
-
<li><%= language.name %> (<%= language.indexed_records %> records)</li>
|
8
|
-
<% end %>
|
9
|
-
</ul>
|
10
|
-
|
11
|
-
<% collection = nil %>
|
12
|
-
<% @feeds.each do |feed| %>
|
13
|
-
<% if feed.harvested_from_title != collection %>
|
14
|
-
<% collection = feed.harvested_from_title %>
|
15
|
-
<% if !collection.nil? %></ul><% end %>
|
16
|
-
<h2><%= link_to feed.harvested_from_title, feed.harvested_from_display_uri, :rel => "nofollow" %></h2>
|
17
|
-
<ul>
|
18
|
-
<% end %>
|
19
|
-
<li>
|
20
|
-
<%= link_to feed.title, feed_query_uri(feed), :rel => "nofollow" %>
|
21
|
-
<span class="harvest_time">
|
22
|
-
(feed_id = <%= feed.id.to_s %>)
|
23
|
-
(<%= feed.entries_count %> record<%= feed.entries_count == 1 ? "" : "s" %>) harvested on <%= feed.last_harvested_at.strftime("%d %b %Y") %>
|
24
|
-
</span>
|
25
|
-
</li>
|
26
|
-
<% end %>
|
27
|
-
|
28
|
-
</ul>
|
@@ -1,25 +0,0 @@
|
|
1
|
-
<h1><%= link_to @entry_title, @entry.permalink %> <%= link_to "(xml)", "/recommendations.xml?u=" + @entry.permalink, :class=> "catalog_link" %> - <%= t('muck.raker.details') %></h1>
|
2
|
-
|
3
|
-
<table border="1" cellpadding="3px">
|
4
|
-
<tr>
|
5
|
-
<th><%= t('muck.raker.related_resources_title') %> <span style="color:#888;font-weight:normal;">(<%= t('muck.raker.calculated') %> <%= @entry.relevance_calculated_at.strftime("%d %b %Y") %>)</span></th>
|
6
|
-
<th class="centered">Relevance</th>
|
7
|
-
<th class="centered">Clicks</th>
|
8
|
-
<th class="centered">Avg Time<br/>(seconds)</th>
|
9
|
-
</tr>
|
10
|
-
<% @recommendations.each do |r| %>
|
11
|
-
<tr>
|
12
|
-
<td><%= render :partial => 'entries/related_entry', :locals => {:related_entry => r} %></td>
|
13
|
-
<td class="centered"><%= round(r["relevance"]) %></td>
|
14
|
-
<td class="centered"><%= r["clicks"] %></td>
|
15
|
-
<td class="centered"><%= r["avg_time_on_target"] %></td>
|
16
|
-
</tr>
|
17
|
-
<% end%>
|
18
|
-
</table>
|
19
|
-
|
20
|
-
<p>Ranking method:</p>
|
21
|
-
<ol>
|
22
|
-
<li><em>Popular items</em> ordered by number of clicks. These are items that have been clicked on at least 1.5 standard deviations more than the average number of times.</li>
|
23
|
-
<li><em>Highly relevant</em> items, ordered randomly. These are items with a relevance score at least one standard deviation higher than the average relevance score.</li>
|
24
|
-
<li><em>Other relevant</em> items, ordered randomly. These are the rest of the relevant items.</li>
|
25
|
-
</ol>
|
@@ -1,10 +0,0 @@
|
|
1
|
-
<%= output_errors('', {:class => 'help-box'}) %>
|
2
|
-
<div id="search-results" class="span-24">
|
3
|
-
<% if @hit_count > 0 %>
|
4
|
-
<%= render(:partial => 'entries/result_status') %>
|
5
|
-
<%= render(:partial => 'entries/results') %>
|
6
|
-
<div class="results-nav"><%= will_paginate(@paginated_results, :next_label => '<b>' + t('muck.raker.next_label') + ' »</b>', :previous_label => '<b>« ' + t('muck.raker.previous_label') + '</b>') %></div>
|
7
|
-
<% else %>
|
8
|
-
<p><%= t('muck.raker.no_hits', :search => @search, :resource_type => @grain_size == 'all' ? 'resources' : 'courses') %></p>
|
9
|
-
<% end %>
|
10
|
-
</div>
|
@@ -1,7 +0,0 @@
|
|
1
|
-
<% link = @entry.direct_link.nil? ? @entry.permalink : @entry.direct_link %>
|
2
|
-
<h1 style="margin-bottom:20px;"><%= link_to @entry_title, link %> - <%= t('muck.raker.related_resources_title') %> - <%= link_to 'details', "?details=true", :class=> "catalog_link" %></h1>
|
3
|
-
<div id="results">
|
4
|
-
<% @recommendations.each do |r| %>
|
5
|
-
<p><%= render :partial => 'entries/related_entry', :locals => {:related_entry => r} %></p>
|
6
|
-
<% end %>
|
7
|
-
</div>
|
File without changes
|
@@ -1 +0,0 @@
|
|
1
|
-
<%= add_feed %>
|
@@ -1 +0,0 @@
|
|
1
|
-
<p><%= link_to h(entry.title), entry.permalink %> - <%= h(entry.description) %></p>
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<div id="feed-container" class="show-feed">
|
2
|
-
<%= output_errors('', {:class => 'help-box'}) %>
|
3
|
-
<h1><%= t('muck.raker.feed') %>: <%= feed.title %></h1>
|
4
|
-
<div><span class="label"><%= t('muck.raker.feed_id') %></span>: <%= feed.id.to_s %></div>
|
5
|
-
<% if feed.display_uri != feed.uri %><div><%= t('muck.raker.feed_display_address') %></span>: <%= link_to feed.display_uri, feed.display_uri %></div><% end %>
|
6
|
-
<div><span class="label"><%= t('muck.raker.feed_metadata_address') %></span>: <%= link_to feed.uri, feed.uri %></div>
|
7
|
-
<div><span class="label"><%= t('muck.raker.entries_count') %></span>: <%= feed.entries_count.nil? ? "0" : feed.entries_count.to_s %></div>
|
8
|
-
<div><span class="label"><%= t('muck.raker.contributor') %></span>: <%= feed_contributor_link(@feed) %></div>
|
9
|
-
<% if defined?(show_admin) && show_admin -%>
|
10
|
-
<% form_for(feed, :url => admin_feed_path(feed), :html => { :method => :put }) do |f| -%>
|
11
|
-
<div><span class="label"><%= t('muck.raker.approval_status') %></span>:
|
12
|
-
<% if feed.banned? -%>
|
13
|
-
<%= hidden_field_tag :status, 'approve' %>
|
14
|
-
<%= image_submit_tag '/images/icons/exclaim.png', {:width => '16', :height => '16', :alt => t('muck.raker.validate_feed') } %>
|
15
|
-
<% elsif feed.pending? -%>
|
16
|
-
<%= hidden_field_tag :status, 'approve' %>
|
17
|
-
<%= image_submit_tag '/images/icons/pending.png', {:width => '16', :height => '16', :alt => t('muck.raker.validate_feed') } %>
|
18
|
-
<% else -%>
|
19
|
-
<%= hidden_field_tag :status, 'ban' %>
|
20
|
-
<%= image_submit_tag '/images/icons/accept.png', {:width => '16', :height => '16', :alt => t('muck.raker.ban_feed') } %>
|
21
|
-
<% end -%>
|
22
|
-
</div>
|
23
|
-
<% end -%>
|
24
|
-
<% end %>
|
25
|
-
<hr/>
|
26
|
-
<%= render :partial => 'feeds/entry', :collection => @entries %>
|
27
|
-
<%= will_paginate @entries %>
|
28
|
-
</div>
|
@@ -1,29 +0,0 @@
|
|
1
|
-
<tr>
|
2
|
-
<% if defined?(show_admin) && show_admin -%>
|
3
|
-
<td>
|
4
|
-
<% form_for(feed_row, :url => admin_feed_path(feed_row), :html => { :method => :put }) do |f| -%>
|
5
|
-
<% if feed_row.banned? -%>
|
6
|
-
<%= hidden_field_tag :status, 'approve' %>
|
7
|
-
<%= image_submit_tag '/images/icons/exclaim.png', {:width => '16', :height => '16', :alt => t('muck.raker.validate_feed') } %>
|
8
|
-
<% elsif feed_row.pending? -%>
|
9
|
-
<%= hidden_field_tag :status, 'approve' %>
|
10
|
-
<%= image_submit_tag '/images/icons/pending.png', {:width => '16', :height => '16', :alt => t('muck.raker.validate_feed') } %>
|
11
|
-
<% else -%>
|
12
|
-
<%= hidden_field_tag :status, 'ban' %>
|
13
|
-
<%= image_submit_tag '/images/icons/accept.png', {:width => '16', :height => '16', :alt => t('muck.raker.ban_feed') } %>
|
14
|
-
<% end -%>
|
15
|
-
<% end -%>
|
16
|
-
</td>
|
17
|
-
<% end -%>
|
18
|
-
<td><%= feed_row.error_message ? t('muck.raker.failed_last_request', :error => feed_row.error_message) : feed_row.banned? ? t('muck.raker.banned') : feed_row.pending? ? ('muck.raker.pending') : t('muck.raker.ok') %></td>
|
19
|
-
<td><%= feed_row.default_language.english_name %></td>
|
20
|
-
<td><%= feed_row.entries_count.nil? ? "0" : feed_row.entries_count.to_s %></td>
|
21
|
-
<td><%= feed_row.harvested_from_short_title %></td>
|
22
|
-
<td>
|
23
|
-
<%= link_to image_tag('icons/feed.png'), feed_row.uri, :target => '_blank' %>
|
24
|
-
<%= link_to h(feed_row.title || feed_row.display_uri), feed_path(feed_row) %>
|
25
|
-
<% if feed_row.display_uri != feed_row.uri %><%= link_to image_tag('icons/external.png'), feed_row.display_uri, :target => '_blank' %><% end %>
|
26
|
-
</td>
|
27
|
-
<td><%= feed_row.last_harvested_at.strftime('%d %b at %H:%M') %></td>
|
28
|
-
<td><%= feed_row.created_at.strftime('%d %b %y') %></td>
|
29
|
-
</tr>
|
@@ -1 +0,0 @@
|
|
1
|
-
<p><%= feed_selection.short_title %> <span class="c">(<%#= feed_selection.entries_count %>)</span></p>
|
@@ -1,20 +0,0 @@
|
|
1
|
-
<%= error_messages_for :feed -%>
|
2
|
-
<% custom_form_for(:feed, :url => polymorphic_url([parent, :feeds], :format => 'pjs')) do |f| -%>
|
3
|
-
<%= f.text_field :title, { :label => t('muck.raker.title' ) } %>
|
4
|
-
<%= f.text_field :uri, { :label => t('muck.raker.add_feed_url' ) } %>
|
5
|
-
<%= f.hidden_field :service_id %>
|
6
|
-
<div class="button form-row">
|
7
|
-
<%= submit_tag t('muck.raker.add_feed'), :id => 'add_feed_uri' %>
|
8
|
-
<span id="finding_uri_message" style="display:none;">
|
9
|
-
<%= t('muck.raker.submitting_feed_message') %> <img src="/images/spinner.gif" alt="<%= t('muck.raker.loading_image') %>" />
|
10
|
-
</span>
|
11
|
-
</div>
|
12
|
-
<% end -%>
|
13
|
-
<% content_for :javascript do -%>
|
14
|
-
jQuery(document).ready(function() {
|
15
|
-
jQuery('#add_feed_uri').click(function(){
|
16
|
-
jQuery(this).hide();
|
17
|
-
jQuery('#finding_uri_message').show();
|
18
|
-
});
|
19
|
-
});
|
20
|
-
<% end -%>
|
@@ -1,107 +0,0 @@
|
|
1
|
-
<script type="text/javascript">
|
2
|
-
function validate()
|
3
|
-
{
|
4
|
-
title = document.getElementById("feed_title");
|
5
|
-
if (!title.value)
|
6
|
-
{
|
7
|
-
alert("You must specify a Title for the collection.");
|
8
|
-
return false;
|
9
|
-
}
|
10
|
-
short_title = document.getElementById("feed_short_title");
|
11
|
-
if (!short_title.value)
|
12
|
-
{
|
13
|
-
alert("You must specify a Short Title for the collection.");
|
14
|
-
return false;
|
15
|
-
}
|
16
|
-
h_title = document.getElementById("feed_harvested_from_title");
|
17
|
-
if (!h_title.value)
|
18
|
-
{
|
19
|
-
alert("You must specify a Repository Title.");
|
20
|
-
return false;
|
21
|
-
}
|
22
|
-
h_short_title = document.getElementById("feed_harvested_from_short_title");
|
23
|
-
if (!h_short_title.value)
|
24
|
-
{
|
25
|
-
alert("You must specify a Repository Short Title.");
|
26
|
-
return false;
|
27
|
-
}
|
28
|
-
rss_uri = document.getElementById("feed_uri");
|
29
|
-
if (!rss_uri.value)
|
30
|
-
{
|
31
|
-
alert("You must specify the Address of the Collection Metadata.");
|
32
|
-
return false;
|
33
|
-
}
|
34
|
-
if (rss_uri.value.indexOf("http://") != 0)
|
35
|
-
{
|
36
|
-
rss_uri.value = "http://" + rss_uri.value;
|
37
|
-
}
|
38
|
-
display_uri = document.getElementById("feed_display_uri");
|
39
|
-
if (display_uri.value && display_uri.value.indexOf("http://") != 0)
|
40
|
-
{
|
41
|
-
display_uri.value = "http://" + display_uri.value;
|
42
|
-
}
|
43
|
-
return true;
|
44
|
-
}
|
45
|
-
</script>
|
46
|
-
|
47
|
-
<h1>Edit Collection Metadata: <%= @feed.title %></h1>
|
48
|
-
|
49
|
-
<%= error_messages_for :feed %>
|
50
|
-
|
51
|
-
<% form_for :feed, @feed, :url => feed_path(@feed), :html => {:method => :put, :onsubmit => "return validate()"} do |f| %>
|
52
|
-
|
53
|
-
<p>
|
54
|
-
<b>Collection Title</b><br />
|
55
|
-
<%= f.text_field :title, :size => 100 %>
|
56
|
-
</p>
|
57
|
-
|
58
|
-
<p>
|
59
|
-
<b>Collection Short Title (this will be appended to resource titles)</b><br />
|
60
|
-
<%= f.text_field :short_title, {:maxlength => 30, :size => 30} %>
|
61
|
-
</p>
|
62
|
-
|
63
|
-
<p>
|
64
|
-
<b>Repository Title</b><br />
|
65
|
-
<%= f.text_field :harvested_from_title, :size => 100 %>
|
66
|
-
</p>
|
67
|
-
|
68
|
-
<p>
|
69
|
-
<b>Repository Short Title</b><br />
|
70
|
-
<%= f.text_field :harvested_from_short_title, {:maxlength => 30, :size => 30} %>
|
71
|
-
</p>
|
72
|
-
|
73
|
-
<p>
|
74
|
-
<b>Address of the Collection Metadata</b><br />
|
75
|
-
<%= f.text_field :uri, :size => 100 %>
|
76
|
-
</p>
|
77
|
-
|
78
|
-
<p>
|
79
|
-
<b>Address of the Collection Home Page</b><br />
|
80
|
-
<%= f.text_field :display_uri, :size => 100 %>
|
81
|
-
</p>
|
82
|
-
|
83
|
-
<p>
|
84
|
-
<b>Type of Metadata:</b>
|
85
|
-
<select name="feed[service_id]">
|
86
|
-
<option value="0">RSS</option>
|
87
|
-
<option value="13"<%= @feed.service_id == 13 ? " selected" : ""%>>OAI</option>
|
88
|
-
</select>
|
89
|
-
<br/>If you specify OAI, you must specify the full url to the ListRecords request (not just the OAI endpoint)
|
90
|
-
</p>
|
91
|
-
|
92
|
-
<p>
|
93
|
-
<b>Description</b><br />
|
94
|
-
<%= f.text_field :description, :size => 100 %>
|
95
|
-
</p>
|
96
|
-
|
97
|
-
<p>
|
98
|
-
<b>How Often to Harvest the Collection</b><br />
|
99
|
-
<%= select :feed, "harvest_interval_hours", [["Once a day", "24"], ["Once a week", "168"], ["Once a month", "672"]] %>
|
100
|
-
</p>
|
101
|
-
|
102
|
-
<p>
|
103
|
-
<%= submit_tag "Update Feed" %>
|
104
|
-
</p>
|
105
|
-
|
106
|
-
<% end %>
|
107
|
-
|
@@ -1,34 +0,0 @@
|
|
1
|
-
<h1><%= t('muck.raker.feeds_title') %></h1>
|
2
|
-
<div>
|
3
|
-
<p>
|
4
|
-
<%= link_to t('muck.raker.discover_feed'), new_feed_preview_path, :class => 'iframe lightbox' %>
|
5
|
-
<%= link_to t('muck.raker.add_feed'), new_feed_path, :class => 'iframe lightbox' %>
|
6
|
-
<%= link_to t('muck.raker.add_feed_advanced'), new_extended_feeds_path, :class => 'iframe lightbox' %>
|
7
|
-
</p>
|
8
|
-
<table class="feeds">
|
9
|
-
<tr>
|
10
|
-
<th><%= link_to t('muck.raker.status'), sort_feeds_link(params[:order], params[:asc], 'status') %></th>
|
11
|
-
<th><%= link_to t('muck.raker.default_language'), sort_feeds_link(params[:order], params[:asc], 'languages.english_name') %></th>
|
12
|
-
<th><%= link_to t('muck.raker.entries_count'), sort_feeds_link(params[:order], params[:asc], 'entries_count') %></th>
|
13
|
-
<th><%= link_to t('muck.raker.repository'), sort_feeds_link(params[:order], params[:asc], 'harvested_from_title') %></th>
|
14
|
-
<th><%= link_to t('muck.raker.title'), sort_feeds_link(params[:order], params[:asc], 'title') %></th>
|
15
|
-
<th><%= link_to t('muck.raker.harvested_at'), sort_feeds_link(params[:order], params[:asc], 'last_harvested_at') %></th>
|
16
|
-
<th><%= link_to t('muck.raker.added_date'), sort_feeds_link(params[:order], params[:asc], 'created_at') %></th>
|
17
|
-
</tr>
|
18
|
-
<%= render :partial => 'feeds/feed_row', :collection => @feeds %>
|
19
|
-
</table>
|
20
|
-
<div class="clear">
|
21
|
-
<%= will_paginate @feeds %>
|
22
|
-
</div>
|
23
|
-
</div>
|
24
|
-
|
25
|
-
<% content_for :javascript do -%>
|
26
|
-
jQuery(document).ready(function() {
|
27
|
-
jQuery('a.lightbox').fancybox({
|
28
|
-
'hideOnContentClick': true,
|
29
|
-
'overlayShow': true,
|
30
|
-
'frameWidth': 700,
|
31
|
-
'frameHeight': 600
|
32
|
-
});
|
33
|
-
});
|
34
|
-
<% end -%>
|
@@ -1,21 +0,0 @@
|
|
1
|
-
<div id="add_single_feed">
|
2
|
-
<%= error_messages_for :feed -%>
|
3
|
-
<% custom_form_for(:feed, :url => polymorphic_url([@parent, :feeds])) do |f| -%>
|
4
|
-
<%= f.text_field :uri, { :label => t('muck.raker.add_feed_url' ) } %>
|
5
|
-
<%= f.text_field :title, { :label => t('muck.raker.title' ) } %>
|
6
|
-
<div class="button form-row">
|
7
|
-
<%= submit_tag t('muck.raker.add_feed'), :id => 'add_feed_uri' %>
|
8
|
-
<span id="finding_uri_message" style="display:none;">
|
9
|
-
<%= t('muck.raker.discover_feed_message') %><img src="/images/spinner.gif" alt="<%= t('muck.raker.loading_image') %>" />
|
10
|
-
</span>
|
11
|
-
</div>
|
12
|
-
<% end -%>
|
13
|
-
</div>
|
14
|
-
<% content_for :javascript do -%>
|
15
|
-
jQuery(document).ready(function() {
|
16
|
-
jQuery('#add_feed_uri').click(function(){
|
17
|
-
jQuery(this).hide();
|
18
|
-
jQuery('#finding_uri_message').show();
|
19
|
-
});
|
20
|
-
});
|
21
|
-
<% end -%>
|
@@ -1,32 +0,0 @@
|
|
1
|
-
<div id="add_single_feed">
|
2
|
-
<h1><%= t('muck.raker.add_extended_feed_title') %></h1>
|
3
|
-
<p><%= t('muck.raker.add_extended_feed_sub_title') %></p>
|
4
|
-
<%= error_messages_for :feed -%>
|
5
|
-
<% custom_form_for(:feed, :url => polymorphic_url([@parent, :feeds])) do |f| -%>
|
6
|
-
<%= f.text_field :title, { :label => t('muck.raker.title' ) } %>
|
7
|
-
<%= f.text_field :short_title, { :label => t('muck.raker.short_title' ) } %>
|
8
|
-
<%= f.text_field :harvested_from_title, { :label => t('muck.raker.repository_title' ) } %>
|
9
|
-
<%= f.text_field :harvested_from_short_title, { :label => t('muck.raker.repository_short_title' ) } %>
|
10
|
-
<%= f.text_field :uri, { :label => t('muck.raker.collection_uri' ) } %>
|
11
|
-
<%= f.text_field :display_uri, { :label => t('muck.raker.collection_home_uri' ) } %>
|
12
|
-
<%= f.text_area :description, { :label => t('muck.raker.collection_description' ) } %>
|
13
|
-
<%= f.muck_raker_language_select :default_language_id, { :label => t('muck.raker.add_feed_url' ) } %>
|
14
|
-
<%= f.muck_raker_service_select :service_id, { :label => t('muck.raker.type_of_metadata'),
|
15
|
-
:tip => t('muck.raker.oai_prompt') } %>
|
16
|
-
<div class="button form-row">
|
17
|
-
<%= hidden_field_tag :new_template, 'feeds/new_extended' %>
|
18
|
-
<%= submit_tag t('muck.raker.add_feed'), :id => 'add_feed_uri' %>
|
19
|
-
<span id="finding_uri_message" style="display:none;">
|
20
|
-
<%= t('muck.raker.submitting_feed_message') %><img src="/images/loading.gif" alt="<%= t('muck.raker.loading_image') %>" />
|
21
|
-
</span>
|
22
|
-
</div>
|
23
|
-
<% end -%>
|
24
|
-
</div>
|
25
|
-
<% content_for :javascript do -%>
|
26
|
-
jQuery(document).ready(function() {
|
27
|
-
jQuery('#add_feed_uri').click(function(){
|
28
|
-
jQuery(this).hide();
|
29
|
-
jQuery('#finding_uri_message').show();
|
30
|
-
});
|
31
|
-
});
|
32
|
-
<% end -%>
|