RE: [PHP] RSS / eregi_replace()

2004-08-03 Thread Richard Bewley
* Thus wrote Anthony Ritter: > Greetings, > > I'm using an RSS feed from the New York Times and right now the a href link > takes the user to the same window. > > I'd like the link to open in it's own window by using the target .html > attribute. > > I was hoping that I could use the eregi_repla

Re: [PHP] RSS / eregi_replace()

2004-08-03 Thread Anthony Ritter
Justin Patrin <[EMAIL PROTECTED]> wrote in message: > Thanks, lots of good info here. It's nice to have all of the info at once. > > I don't know about eregs myself, but I'll try a preg solution: > > $new_text = preg_replace('!(.*?)!', ' target="_blank">\1', $text); Thank you. I tried th

Re: [PHP] RSS / eregi_replace()

2004-08-03 Thread Curt Zirzow
* Thus wrote Anthony Ritter: > Greetings, > > I'm using an RSS feed from the New York Times and right now the a href link > takes the user to the same window. > > I'd like the link to open in it's own window by using the target .html > attribute. > > I was hoping that I could use the eregi_repla

Re: [PHP] RSS / eregi_replace()

2004-08-03 Thread Justin Patrin
On Tue, 3 Aug 2004 18:36:02 -0400, Anthony Ritter <[EMAIL PROTECTED]> wrote: > Greetings, > > I'm using an RSS feed from the New York Times and right now the a href link > takes the user to the same window. > > I'd like the link to open in it's own window by using the target .html > attribute. >