What does `incoming link count` in discourse database mean?

I was hoping that incoming link count for a post in discourse database means no. of times external websites have mentioned that post in their content… But the numbers that I have are too high to believe that.
Could someone please explain what does incoming link count mean?

2 Mi Piace

I believe it is the number of incoming links from the forum itself, that is, the number of other posts that have linked to that post.

There is no rational way to determine how many times external websites have linked to a place without crawling the entire web, like Google.

7 Mi Piace

Ho esaminato il codice e sembra che incoming_link_count sia simile alla tabella “topic_views” tranne per il fatto che non incrementa incoming_link_count quando il formato della richiesta è json.

Ecco le righe pertinenti in topics_controller.rb

  def track_visit_to_topic
    topic_id =  @topic_view.topic.id
    ip = request.remote_ip
    user_id = (current_user.id if current_user)
    track_visit = should_track_visit_to_topic?

    if !request.format.json?
      hash = {
        referer: request.referer || flash[:referer],
        host: request.host,
        current_user: current_user,
        topic_id: @topic_view.topic.id,
        post_number: @topic_view.current_post_number,
        username: request['u'],
        ip_address: request.remote_ip
      }
      # rimanda in questo modo in modo da non catturare l'intero controller
      # nella chiusura
      TopicsController.defer_add_incoming_link(hash)
    end

    TopicsController.defer_track_visit(topic_id, ip, user_id, track_visit)
  end

Speravo che questa colonna mi dicesse il numero di volte in cui qualcuno è arrivato a questo argomento da un link esterno (inclusi motori di ricerca esterni) rispetto ai clic sui link interni.

1 Mi Piace

Lo stesso! Sarebbe fantastico se fosse possibile vedere quali argomenti vengono visitati maggiormente dai link esterni :+1::+1::+1: