Changeset 1853 in ExiteCMS for trunk/feeds.php
- Timestamp:
- 10/16/08 11:37:18 (4 years ago)
- File:
-
- 1 edited
-
trunk/feeds.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/feeds.php
r1476 r1853 72 72 $item['description'] = "<![CDATA[ <b>".$data['user_name']." ".$locale['401']."</b> ".(strlen($data['post_message']) > 500 ? (substr($data['post_message'],0,496)." ...") : $data['post_message'])." ]]>"; 73 73 // locale must be english for this to work! 74 $loc = setlocale( "LC_TIME", "en_US");74 $loc = setlocale(LC_TIME, "en_US"); 75 75 $item['pubDate'] = strftime("%a, %d %b %G %T %z", $data['post_datestamp']); 76 setlocale( "LC_TIME", $loc);76 setlocale(LC_TIME, $loc); 77 77 $item['guid'] = $item['link']; // make the guid equal to the link, we don't have a need for permalinks 78 78 $feed[] = $item;
Note: See TracChangeset
for help on using the changeset viewer.
