1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

PHP RSS Feed Question

Discussion in 'HTML & Website Design' started by toddieg, Mar 30, 2005.

  1. #1
    Hi - I just had a quick question.. I'm not a PHP programmer or anything, but I was wondering 2 thing.

    1. Can I set up my RSS feed to have the links open in a new window?
    2. How can I change my RSS feed to use my style sheet?

    (i have just set up an RSS feed on www.sddefenselawyers.com and was hoping i could fix this problem)

    the php code that i added in works with MAGPIERSS and looks like this
    Any help would be appreciated.

    Thanks
     
    toddieg, Mar 30, 2005 IP
  2. ServerUnion

    ServerUnion Peon

    Messages:
    3,611
    Likes Received:
    296
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I have a pretty good reader on www suaffiliates net, willing to share if you like.

    Short Listing will link to expanded page with summaries. Summary page uses javascript to open full article in new window and limit ourgoing links.

    If you want to update your code, replace with this sytex:
    echo "<a class=smallRedBoldUndLinks target=_new href=" . $item[link] . ">" . $item[title] . "</a><BR>\n";

    To mask the outgoing link, try something like this:
    echo "<a class=smallRedBoldUndLinks target=_new href='#' onclick=\"javascript:window.open('" . $item[link]. "');\">" . $item[title] . "</a><BR>\n";
     
    ServerUnion, Mar 30, 2005 IP
  3. toddieg

    toddieg Peon

    Messages:
    252
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #3
    perfect, thanks!!! much appreciated.
     
    toddieg, Mar 30, 2005 IP
  4. ServerUnion

    ServerUnion Peon

    Messages:
    3,611
    Likes Received:
    296
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No problem, good luck...
     
    ServerUnion, Mar 30, 2005 IP