Current location: Hot Scripts Forums » Programming Languages » PHP » extract from google news url


extract from google news url

Reply
  #1 (permalink)  
Old 08-03-09, 10:17 AM
naissa naissa is offline
Wannabe Coder
 
Join Date: Jul 2004
Posts: 101
Thanks: 0
Thanked 0 Times in 0 Posts
extract from google news url

So my php script reads google news rss.

How do I use PHP to take a url such as
Code:
http://news.google.com/news/url?sa=T&ct=us/19-0&fd=R&url=http://www.theregister.co.uk/2008/08/05/limo_lands_seven_new_phones/&cid=1233302260&ei=Gk-ZSLbVI4PGlgS_94jVBA&usg=AFQjCNEILOMvAvv5fwcFWpYLWWJVs7vc5Q
and parse it to only get the

Code:
http://www.theregister.co.uk/2008/08/05/limo_lands_seven_new_phones/&cid=1233302260&ei=Gk-ZSLbVI4PGlgS_94jVBA&usg=AFQjCNEILOMvAvv5fwcFWpYLWWJVs7vc5Q
(found after the url= )

Thanks!

Weina Scott

Last edited by naissa; 08-03-09 at 10:19 AM.
Reply With Quote
  #2 (permalink)  
Old 08-03-09, 01:29 PM
wirehopper's Avatar
wirehopper wirehopper is offline
-
 
Join Date: Feb 2006
Posts: 2,515
Thanks: 20
Thanked 109 Times in 106 Posts
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get Indexed in Google Quickly rorycanyon General Advertisements 3 03-21-07 09:11 AM
How does Google News Work ? itssami The Lounge 2 09-22-06 03:11 AM
Google news alerts tenaki The Lounge 0 03-07-06 01:41 PM
How do I extract links from google klaniak PHP 8 04-25-05 05:07 AM


All times are GMT -5. The time now is 07:56 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.