diff options
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')); + } + + ?> |