Member since 06/24/2009

Name: Adam Coulombe

Location: Kingston, Ontario, Canada


4 snippets

4670 profile views

5 Comment(s) Posted

View their favorites



first submission:submitting first snipplet

adamcoulombe's Recent SnippetsTagged html

« Prev 1 Next »
2 720 posted 13 years ago by adamcoulombe
This example uses file_get_contents to retrieve remote HTML. From there, we can parse through it using PHP5's DOMDocument and DOMXpath. XPath Queries are easy to create using the Firefox extension "XPather"
3 1589 posted 14 years ago by adamcoulombe
This is handy for cleaning up your HTML to use more plain text and fewer img tags. Whether this is SEO friendly or not is subjective. I tend to think it's fine as long as you don't use it for spam. Digg implements a similar method for their main logo...
1 822 posted 14 years ago by adamcoulombe
« Prev 1 Next »