Changeset 1648 for trunk/gregarius/cls
- Timestamp:
- 01/02/07 14:24:57 (20 months ago)
- Location:
- trunk/gregarius/cls
- Files:
-
- 2 modified
-
channels.php (modified) (1 diff)
-
items.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/cls/channels.php
r1644 r1648 90 90 //$this->rlink = getPath().preg_replace("/[^a-zA-Z0-9_]/", "_", $title)."/"; 91 91 /* EXPERIMENTAL! */ 92 $this->rlink = getPath( ) . utf8_uri_encode(preg_replace('/[\s&\/\+]/','_',$title)) . "/";92 $this->rlink = getPath(rss_uri($title)) . "/"; 93 93 } else { 94 94 $this->rlink = getPath()."feed.php?channel=$id"; -
trunk/gregarius/cls/items.php
r1561 r1648 73 73 $this->title = "[nt]"; 74 74 } 75 $this->escapedTitle = preg_replace("/[^A-Za-z0-9%\.]/", "_", utf8_uri_encode($title)); 75 $this->escapedTitle = rss_uri($title); //preg_replace("/[^A-Za-z0-9%\.]/", "_", utf8_uri_encode($title)); 76 76 77 $this->url = trim($url); 77 78 $this->enclosure = $enclosure; … … 136 137 $this->iconUrl = $icon; 137 138 } 138 $this->escapedTitle = preg_replace("/[^A-Za-z0-9\.]/", "_", $title); 139 //$this->escapedTitle = preg_replace("/[^A-Za-z0-9\.]/", "_", $title); 140 $this->escapedTitle = rss_uri($title); 139 141 } 140 142
