Link of the Day - DaveMansfield.com



Friday, October 29, 2004

Anvil Dropping it's not just for cartoon characters anymore.

A Brief Introduction to Zen

Despite rumours Joss Whedon (Creater of Buffy) has not been asked to direct X-men 3. Although he has co-witten a few of the latest X-Men Comics
- Dave, 1:32 pm :: Comment ::
 

Wednesday, October 27, 2004

Download Fahrenheit 9/11 ( again )
- Dave, 4:10 pm :: Comment ::
 

RSS feeds are damn useful little things. Instead of having to click though everyones blogs and all those news sites, you give their RSS feeds to an RSS reader, and it keeps track of all new entries for you.

However not all sites supply RSS feeds, which is I created the customisable Site Update Information Trackers.
However RjY's SNAFU keeps track of some sites which SUIT can't. So stealling RjY's code I created the SNAFU RSS feed (example).

However, this wasn't enough! I wrote a template for PHP remote RSS generator. All you need to add is a few variables for the site (I.E. URL, recognising the start and end points of posts and a function to turn dates into timestamps) and it'll generate RSS from other blogs front pages.

RjY RSS feed (example)
edit {removed}
Errant RSS feed (example)
- Dave, 2:00 pm :: Comment ::
 

A nice simple Regular Expression Tutorial. RegExps are a way of performing quite complex pattern matching in text. After reading this tutorial I was able to write the following snippit of php code that will turn all relative paths into absolute URLs, and leave absolute URLs alone.

$page = eregi_replace("((src|href)=\")([^\":]*\")", "\\1".$site."/\\3" ,$page);

where $page is the page's html, and $site is the absolute path to the page.
(more on why I wanted to do this later today).
- Dave, 12:40 pm :: Comment ::
 

Tuesday, October 26, 2004

Porn Bread and Porn Origami
(Interview with Origami Porn creator)
- Dave, 2:20 pm :: Comment ::
 

 


Home  |  LotD Blog  |  contact me