# the_onion_pda.site

# * 2000-04-19, Andrew Chadwick: corrected depth, removed shell
#   metachars from Name, added advert and avantgo markup removal.

URL: http://mobile.theonion.com/
Name: The Onion
Description: The Onion (PDA Edition).
Levels: 2
ImageURL: .*
ContentsHTMLPreProcess: {
	s!<br/?>\s*<br/?>!<p>!gsi;
	s!<A\s+HREF=.http://adbot.theonion.com[^>]+>.*?</A>!!gsix;
}
StoryHTMLPreProcess: {	
	s!<br/?>\s*<br/?>!<p>!gsi;
	s!(<A\s+HREF=.?) pods://avantgo/back/? ([^>]*>.*?</A>)
	 !$1http://mobile.theonion.com/$2!xsig;
	s!<A\s+HREF=.http://adbot.theonion.com[^>]+>.*?</A>!!gsix;
}
