Results 1 to 2 of 2
Thread: Grabbing information
Nov 8, 2009, 18:54 #1
- Join Date
- Dec 2008
- 0 Post(s)
- 0 Thread(s)
I am doing it fine for another part of the source code, but this one I'm having difficulty with because of the ' marks in the code.
View the source, I need to grab whatever is in:
'VIDEO_TITLE': 'Dizzee Rascal - Dance Wiv Me',
preg_match('!.*?\'VIDEO_TITLE\': \'(.*?)\'!', $page, $matches);
$title_text = $matches;
Nov 8, 2009, 22:36 #2
seems ok as it grabs every thing followed by video_title:
any way i think many php classes are available for it...
when i wrote one...i used xml of the video...which is more standard....