lib/mir_extensions.rb
def obfuscated_link_to(path, image, label, args={})
      _html = %{<form action="#{path}" method="get" class="obfuscated_link">}
      _html << %{ <fieldset><input alt="#{label}" src="#{image}" type="image" /></fieldset>}
      args.each{ |k,v| _html << %{  <div><input id="#{k.to_s}" name="#{k}" type="hidden" value="#{v}" /></div>} }
      _html << %{</form>}
      _html
    end
def obfuscated_link_to(path, image, label, args={})
      _html = %{<form action="#{path}" method="get" class="obfuscated_link">}
      _html << %{ <fieldset><input alt="#{label}" src="#{image}" type="image" /></fieldset>}
      args.each{ |k,v| _html << %{  <div><input id="#{k.to_s}" name="#{k}" type="hidden" value="#{v}" /></div>} }
      _html << %{</form>}
      _html
    end
def obfuscated_link_to ( path , image , label , args = { } ) _html = %{<form action="#{path}" method="get" class="obfuscated_link">} _html << %{ <fieldset><input alt="#{label}" src="#{image}" type="image" /></fieldset>} args . each { | k , v | _html << %{  <div><input id="#{k.to_s}" name="#{k}" type="hidden" value="#{v}" /></div>} } _html << %{</form>} _html end
Create a link that is opaque to search engine spiders.
Create a link that is opaque to search engine spiders .