app/models/site.rb
def default_name(url)
      title = begin
        MetaInspector.new(url).title
      rescue
        Rails.logger.warn($!)
        nil
      end
      title || url
    end
#
# Generate name from the page title
#
Generate name from the page title
Generate name from the page title
def default_name(url)
      title = begin
        MetaInspector.new(url).title
      rescue
        Rails.logger.warn($!)
        nil
      end
      title || url
    end
def default_name ( url ) title = begin MetaInspector . new ( url ) . title rescue Rails . logger . warn ( $! ) nil end title || url end
Generate name from the page title
Generate name from the page title
url