Extracting Links from a Page with Ruby and Nokogiri

Scraper is a pretty good Chrome extension I use on a regular basis to quickly extract links from a page. Unfortunately, there can be rare instances where it actually takes more effort to use. For example, if I wanted to retrieve all links from Hewlett-Packard’s HTML sitemap, I would need to create multiple Google spreadsheets to capture that data because of the way the page is structured. In this particular case, I’d have to scrape the page a total of 14 times to account for the different sections....

February 13, 2014 · Christopher Yee

A Year of Webkit2png

When I joined SEOgadget last year, my first blog post was about using webkit2png for site audits, stalking and more. What I didn’t mention was my 2013 new years resolution - to track the home page of three websites for the entire year with webkit2png. The following videos come from the home pages of Macy’s, Yahoo and Amazon with a years worth of images compiled together. It’s nothing too crazy but feel free to turn on your favorite jam, sit back, relax and view them for your pleasure....

January 2, 2014 · Christopher Yee

Crayon Syntax Highlighter Themes

This article is seriously outdated since I no longer use WordPress If you write a technical blog post about optimizing source code for SEO or programming scripts, I highly recommend the Crayon Syntax Highlighter for WordPress users - it gives your examples a nice, snazzy look to it. The plugin includes 25 default themes but I couldn’t find a good preview gallery for them anywhere so I decided to list them all out below....

October 22, 2013 · Christopher Yee

Updated aHrefs Link Analysis Script

I updated my aHrefs bulk link analysis script to improve its functionality by adding two features. The script now returns the results in a CSV file called ahrefs_results.csv Introduces the .map Ruby enumerable for a “cleaner” syntax The source code for this Ruby script can be found at my Github repository. My next task is defining individual functions to eliminate any code redundancy and ultimately speed up the API calls....

March 19, 2013 · Christopher Yee

Bulk Link Analysis with the aHrefs API using Ruby

One of my top blog posts this year is the bulk URL checker and has become my staple tool for HTTP checks en masse when I don’t want to fire up third party software. This accomplishment got me hooked (on coding) and to keep my momentum going I decided to write a Ruby script which interfaced with the aHrefs API and emulate their batch analysis tool. If you’re only interested in the bulk link analysis script then you can find it here....

December 20, 2012 · Christopher Yee