diff options
author | Andrew Dolgov <[email protected]> | 2007-05-14 07:53:02 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2007-05-14 07:53:02 +0100 |
commit | 40e1a95b20a44354126ab3b0ec4a87e42e16e483 (patch) | |
tree | 4505be94dd08d4c8df6da33f3b62c4d18b6bf9cf | |
parent | a349077cc4d2365a74d95907fdc5f648cfa38659 (diff) |
tweak tag detection (use all rel='tag' links)
-rw-r--r-- | functions.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.php b/functions.php index 6d3a2cacc..f528edc9b 100644 --- a/functions.php +++ b/functions.php @@ -823,11 +823,11 @@ } /* taaaags */ - // <a href="http://technorati.com/tag/Xorg" rel="tag">Xorg</a>, // + // <a href="..." rel="tag">Xorg</a>, // $entry_tags = null; - preg_match_all("/<a.*?href=.http:\/\/.*?technorati.com\/tag\/([^\"\'>]+)/i", + preg_match_all("/<a.*?rel=['\"]tag['\"].*?>([^<]+)<\/a>/i", $entry_content_unescaped, $entry_tags); // print "<br>$entry_title : $entry_content_unescaped<br>"; |