Sha256: b41dd2fdde7fd58bcef791f4c942e62a58b4c60be343c322225b611272186a49
Contents?: true
Size: 1.44 KB
Versions: 9
Compression:
Stored size: 1.44 KB
Contents
require "acts-as-taggable-on" require "calagator/machine_tag" ActsAsTaggableOn::Tag.send :include, Calagator::MachineTag::TagExtensions # Structure of machine tag namespaces and predicates to their URLs. See # Calagator::MachineTag for details. Calagator::MachineTag.configure do |config| config.urls.merge! \ 'epdx' => { 'company' => 'http://epdx.org/companies/%s', 'group' => 'http://epdx.org/groups/%s', 'person' => 'http://epdx.org/people/%s', 'project' => 'http://epdx.org/projects/%s', }, 'upcoming' => { 'event' => "http://upcoming.yahoo.com/event/%s", 'venue' => "http://upcoming.yahoo.com/venue/%s" }, 'plancast' => { 'activity' => "http://plancast.com/a/%s", 'plan' => "http://plancast.com/p/%s" }, 'yelp' => { 'biz' => "http://www.yelp.com/biz/%s" }, 'foursquare' => { 'venue' => "http://foursquare.com/venue/%s" }, 'gowalla' => { 'spot' => "http://gowalla.com/spots/%s" }, 'shizzow' => { 'place' => "http://www.shizzow.com/places/%s" }, 'meetup' => { 'group' => "http://www.meetup.com/%s" }, 'facebook' => { 'event' => "http://www.facebook.com/event.php?eid=%s" }, 'lanyrd' => { 'event' => "http://lanyrd.com/%s" } config.venue_predicates = %w(venue place spot biz) config.defunct_namespaces = %w(upcoming gowalla shizzow) config.site_root_url = Calagator.url end
Version data entries
9 entries across 9 versions & 2 rubygems