Changeset 191688
- Timestamp:
- 01/08/2010 11:21:25 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lifestream/trunk/extensions/myspace/extension.inc.php
r191681 r191688 17 17 } 18 18 19 function _get_domain()20 {21 if ($this->get_option('permalink_url')) $url = $this->get_option('permalink_url');22 else $url = $this->get_option('url');23 preg_match('#^(http://)?([a-z0-9\-\.]*\.)?([a-z0-9\-]+(?:\.[a-z0-9\-]+)?)/?#i', $url, $matches);24 return $matches[3];25 }26 27 19 function get_public_name() 28 20 { … … 31 23 return $this->get_option('feed_label'); 32 24 } 33 return $this->_get_domain();25 return 'MySpace Blog'; 34 26 } 35 27
Note: See TracChangeset
for help on using the changeset viewer.