Coder Social home page Coder Social logo

Comments (4)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
we generally want to decide to nofollow based on a heuristic, e.g., is this 
link inside our network at http://stackexchange.com/sites -- or outside it?

In my opinion, nofollowing links should be done as a separate pass. I guess I 
could support "nofollow everything by default, then unfollow just the safe 
links" but either way it is a loop across all the URLs in the input with some 
custom logic that isn't really markdown specific.

Original comment by [email protected] on 12 Nov 2010 at 8:52

from markdownsharp.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024

Original comment by [email protected] on 12 Nov 2010 at 9:02

  • Added labels: Priority-Low
  • Removed labels: Priority-Medium

from markdownsharp.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024

Original comment by [email protected] on 12 Nov 2010 at 9:03

  • Added labels: Type-Enhancement
  • Removed labels: Type-Defect

from markdownsharp.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 16, 2024
Good point about deciding whether to include the attribute based on some 
property of the link.  In fact I think that's something I would like to do for 
my app too, now you mention it.

However I'd still like to do this in a single pass, just to reduce the amount 
of string churning on the server.  I think it'd be simpler to code too.  I'll 
hook up a callback mechanism that passes out the URL to some optional external 
code in order to decide whether to mark the link as nofollow or not.

Let me know if you're interested in a patch or not.

Original comment by drewnoakes on 18 Nov 2010 at 2:53

from markdownsharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.