diff options
author | Andrew Dolgov <[email protected]> | 2013-01-22 22:32:17 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-01-22 22:32:17 +0400 |
commit | 87d7e8507a4a41c4e0d7a4f2d54fe48f3a6f72cb (patch) | |
tree | 569db7d16c8f1d529d382039b1ead0d6e0c46c68 /include/rssfuncs.php | |
parent | 04f60eb729e1444bb3363677584c8179050403c4 (diff) |
split some more functions from functions.php
Diffstat (limited to 'include/rssfuncs.php')
-rw-r--r-- | include/rssfuncs.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/rssfuncs.php b/include/rssfuncs.php index b20c7958c..8500df0df 100644 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -1287,4 +1287,11 @@ return ""; } + + function make_guid_from_title($title) { + return preg_replace("/[ \"\',.:;]/", "-", + mb_strtolower(strip_tags($title), 'utf-8')); + } + + ?> |