Skip navigation

I seem to parse the dmoz content dump, and as anyone who's actually played around with it will tell you, it's annoying to parse, so, for future reference:

^<ExternalPage\ about="(?<link>.+?)">\n\ \ <d:Title>(?<title>.+?)</d:Title>\n\ \ <d:Description>(?<description>.+?)</d:Description>\n\ \ <topic>(?<topic>.+?)</topic>\n</ExternalPage>\ $
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: