12

Is there a way to search for posts that have links to other posts?

Say I have this post link text.

and I want to find all posts that have that linked in. Is there a way to do this?

If I just put the number in the search, it only finds that post. I want to find other posts as there is a lot of: I saw this answer(link) but my situation is different...I want to find the "different" ones as one of those might work for me instead of pushing in a new one.

6
  • 3
    I think it would be a very useful feature.
    – Zoredache
    Commented Feb 25, 2010 at 2:33
  • that'd be really cool, I agree :)
    – warren
    Commented Mar 10, 2010 at 19:12
  • That's pretty much what my project at HREF Overflow: A tool to find cross-references between the trilogy sites does. Is supposed to do, rather; it's based on the September data dump, so probably not that useful.
    – balpha StaffMod
    Commented Mar 11, 2010 at 7:37
  • It's been updated now.
    – balpha StaffMod
    Commented Mar 19, 2010 at 17:20
  • Of course, it is 5am and Jeff is busy tagging away.. such an odd sleep schedule
    – Earlz
    Commented Apr 25, 2010 at 9:57
  • Can I just say that I love this solution/resolution, thanks for a very useful feature that I use often! Commented Jan 19, 2011 at 21:05

3 Answers 3

0

No there is no built in way to do that.

9

There's no built-in method for that, but you can find them if they're indexed by google by searching (using your example):

link:http://stackoverflow.com/questions/1004079/

See here:

The query [link:] will list webpages that have links to the specified webpage. For instance, [link:www.google.com] will list webpages that have links pointing to the Google homepage. Note there can be no space between the "link:" and the web page url.

This functionality is also accessible from the Advanced Search page, under Page Specific Search > Links.

1
  • This will give a lot of false positives due to the "Related" column on the right side of a page. Commented Apr 25, 2010 at 10:33
8

This is deployed experimentally to meta. Notice there is a new Linked Posts column on the right, above the existing Related Posts.

Linked posts are built by scanning all post bodies and all comment bodies for strings matching

http://example.com/questions/\d+/

Once "linked", the links are visible on both sides.

5
  • Sample: meta.stackexchange.com/questions/47634, "How are the rules different on meta?". 12 items in the "Linked" column. Commented Apr 25, 2010 at 10:48
  • @Jeff Atwood: meta.stackoverflow.com/questions/46008, "Threshold for turning posts to CW Mode, on 8th revision or 9th?", has a link in an answer to meta.stackoverflow.com/questions/11740, "What are “Community Wiki” posts?". However “Community Wiki” posts?" has another post in the "Linked" column: "Losing my Way on the Meaning of “Subjective and Argumentative”". Commented Apr 25, 2010 at 12:04
  • OK, I got it. Editing meta.stackoverflow.com/questions/46008 brought in the 3 outbound links in comments and answers. Now there is a Linked section in meta.stackexchange.com/questions/46008 with 3 items. Ref.: comments to meta.stackexchange.com/questions/40952/… Commented Apr 25, 2010 at 12:28
  • 1
    Does this work across sites?
    – balpha StaffMod
    Commented Apr 25, 2010 at 12:51
  • 1
    @balpha not at the moment Commented Apr 25, 2010 at 20:59

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .