1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Autobloggers: how do you cloak source RSS feeds links?

Discussion in 'Blogging' started by Frankie4Fingers, Mar 30, 2010.

  1. Frankie4Fingers

    Frankie4Fingers Power Member

    Joined:
    Jan 8, 2009
    Messages:
    676
    Likes Received:
    214
    I can't strip link off 'em because my site would become useless (it's about job offers, and those link bring the visitor to the complete job offer).

    But, if I don't cloak those links, I fear G could think my blog is a linkfarm.

    Is there any free plugin/hardcoding that can solve this?

    Thank you.
     
  2. toligadow

    toligadow Newbie

    Joined:
    Apr 6, 2008
    Messages:
    10
    Likes Received:
    3
    Are you using wordpress?

    Try the GoCodes plugin:
    http://wordpress.org/extend/plugins/gocodes/
     
    • Thanks Thanks x 1
  3. Frankie4Fingers

    Frankie4Fingers Power Member

    Joined:
    Jan 8, 2009
    Messages:
    676
    Likes Received:
    214
    Yes, I use WP, but I need something that automatically transform already existing outgoing links, I can't manually replace thousands of links... :eek:

    I already tried Pretty Links, but it doesn't have that option. Neither GoCodes, it seems.
     
  4. smashedpumpkins

    smashedpumpkins Regular Member

    Joined:
    Mar 3, 2010
    Messages:
    231
    Likes Received:
    84
    So you're looking for something to edit all external links before being posted? If so I just added a feature to remove links from articles. I believe you just need to do something similar to add the no follow in.

    PHP:
    $content preg_replace('%</?a\b[^>]*>%i'''$content);
    EDIT: How about http://wordpress.org/extend/plugins/wp-noexternallinks/
     
    • Thanks Thanks x 1
  5. Frankie4Fingers

    Frankie4Fingers Power Member

    Joined:
    Jan 8, 2009
    Messages:
    676
    Likes Received:
    214
    SmashedPumpkins,

    as I said in my first post I can't just strip links 'cause they are vital for my users. On the other hand, the plugin you mentioned could really be what I was after...thank you very much, I'll give it a try right now! :)
     
  6. gregstereo

    gregstereo Elite Member

    Joined:
    Oct 5, 2009
    Messages:
    1,833
    Likes Received:
    1,027
    Occupation:
    I'm known to locate certain things from time to ti
    Location:
    Moose Factory, ON
    wp-noexternallinks doesn't strip links, it turns them into links that redirect through your site and open the target link in a new browser window. I think you'll find it useful, I use it on a few sites where I wanted the users to be able to get to the outbound links but didn't want the window with my site to get abandoned.
     
    Last edited: Mar 31, 2010