adamcoulombe


Member since 06/24/2009

Name: Adam Coulombe

Location: Kingston, Ontario, Canada

Website: http://www.adamcoulombe.info

4 snippets

6251 profile views

5 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

adamcoulombe's Recent SnippetsTagged html



« Prev 1 Next »
2 871 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 1825 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 1021 posted 14 years ago by adamcoulombe
« Prev 1 Next »