View Single Post
Old 04-25-2011, 01:53 PM  
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,534
Quote:
Originally Posted by Barry-xlovecam View Post
Friend of mine did this regex:

Code:
$xml =~ s#<(performerinfo)>(.*?)</\1>
         #{
             my ($tmp, $data) = ($2);
             $tmp =~ s|<(\w+)><!\[CDATA\[(.*?)\]\]></\1>
                      |{$data->{$1}=$2}|sgex;
            push(@models, $data)
         }#sgex;
perl i take it?
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


My Cam Feeds Script / Gallery Scraper / WPXXX Theme / Free Templates
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote