Skip to content

Instantly share code, notes, and snippets.

@zimbatm
Created May 19, 2010 15:46
Show Gist options
  • Save zimbatm/406455 to your computer and use it in GitHub Desktop.
Save zimbatm/406455 to your computer and use it in GitHub Desktop.
--- fever.php.orig 2010-05-19 15:33:00.000000000 +0000
+++ fever.php 2010-05-19 15:33:03.000000000 +0000
@@ -3438,7 +3438,7 @@
$has_href = $link->has_attr('href');
$has_rel = $link->has_attr('rel');
$has_xml_base = $parent_node->has_attr('xml:base');
- if ($has_href && $has_rel && $link->get_attr('rel') != 'self' && $link->get_attr('rel') != 'license')
+ if ($has_href && $has_rel && $link->get_attr('rel') != 'self' && $link->get_attr('rel') != 'license' && $link->get_attr('rel') != 'hub')
{
$site_url = $link->get_attr('href');
break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment