@@ 789-797 (lines=9) @@ | ||
786 | // RSS URL checks |
|
787 | // For some reason both URLs must appear before it is recognised |
|
788 | $remainder = substr( $chunk, $offset ); |
|
789 | if ( !strncasecmp( $remainder, $rdfUrl, strlen( $rdfUrl ) ) ) { |
|
790 | $found['rdf-url'] = true; |
|
791 | if ( isset( $found['rdf-tag'] ) |
|
792 | && isset( $found['rdf-purl'] ) ) // [sic] |
|
793 | { |
|
794 | break; |
|
795 | } |
|
796 | continue; |
|
797 | } |
|
798 | ||
799 | if ( !strncasecmp( $remainder, $rdfPurl, strlen( $rdfPurl ) ) ) { |
|
800 | if ( isset( $found['rdf-tag'] ) |
|
@@ 799-806 (lines=8) @@ | ||
796 | continue; |
|
797 | } |
|
798 | ||
799 | if ( !strncasecmp( $remainder, $rdfPurl, strlen( $rdfPurl ) ) ) { |
|
800 | if ( isset( $found['rdf-tag'] ) |
|
801 | && isset( $found['rdf-url'] ) ) // [sic] |
|
802 | { |
|
803 | break; |
|
804 | } |
|
805 | continue; |
|
806 | } |
|
807 | ||
808 | // XBM checks |
|
809 | if ( !strncasecmp( $remainder, $xbmMagic1, strlen( $xbmMagic1 ) ) ) { |