- Timestamp:
- 09/09/07 13:00:27 (15 months ago)
- Location:
- team/michiel/import_blogs
- Files:
-
- 2 modified
-
. (modified) (1 prop)
-
common/rdf.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
team/michiel/import_blogs
- Property svnmerge-integrated changed from /trunk:1-597 to /trunk:1-599
-
team/michiel/import_blogs/common/rdf.php
r573 r600 20 20 require("mvblog.php"); 21 21 $mvblog = new MvBlog(); 22 //get all the authors in an array23 $res =& $mvblog->db->query("SELECT * FROM authors");24 25 if (PEAR::isError($res)) {26 die($res->getMessage());27 }28 29 while ($row = $res->fetchRow(MDB2_FETCHMODE_ASSOC)) {30 $authors[$row["id"]]["fullname"] = $row["fullname"];31 $authors[$row["id"]]["email"] = $row["email"];32 }33 22 34 23 //generate url to the root of our website … … 65 54 $items[$i]["category"] = implode(", ", $category_names); 66 55 } 67 $items[$i]["creator"] = htmlspecialchars($ authors[$row["authors_id"]]["fullname"]);56 $items[$i]["creator"] = htmlspecialchars($mvblog->authors[$row["authors_id"]]["fullname"]); 68 57 $items[$i]["description"] = $mvblog->strip_bbcode(strip_tags(str_replace("##BREAKPOINT##", "", stripslashes($row["body"])))); 69 58 $items[$i]["date"] = date("r", $row["date"]);
