Changeset 1449
- Timestamp:
- 09/18/06 16:05:58 (2 years ago)
- Files:
-
- 1 modified
-
trunk/blog/sync/item.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/blog/sync/item.php
r1448 r1449 7 7 if ($result && ($row = mysql_fetch_array($result))) { 8 8 $author = fetchQueryCell("SELECT name FROM {$database['prefix']}Users WHERE userid = $owner"); 9 $item = array('title' => $row['title'], 'description' => $row['content'], 'link' => "$defaultURL/ {$row['id']}", 'categories' => array(), 'location' => $row['location'], 'pubDate' => Timestamp::getRFC1123GMT($row['published']));9 $item = array('title' => $row['title'], 'description' => $row['content'], 'link' => "$defaultURL/".($blog['useSlogan'] ? "entry/{$row['slogan']}": $row['id']), 'categories' => array(), 'location' => $row['location'], 'pubDate' => Timestamp::getRFC1123GMT($row['published'])); 10 10 array_push($item['categories'], $row['categoryName']); 11 11 $tag_result = mysql_query("select name from {$database['prefix']}Tags, {$database['prefix']}TagRelations where id = tag and owner = $owner and entry = {$row['id']} order by name");
