Blogs

EDRI-gram

By EDRi · August 13, 2004

EDRI-gram is a bi-weekly newsletter about digital civil rights in Europe. Below are the two most recent issues of EDRI-gram.

You can browse the archive per month or view the complete archive list.

You can also subscribe to EDRI-gram. European Digital Rights has a clear and simple privacy policy.

If you have any suggestions or wish to contribute, please contact ">the editor.

“;

$result = db_query(“SELECT n.nid FROM {node} n INNER JOIN {book} b ON n.nid = b.nid WHERE b.parent = 0 AND n.status = 1 AND (n.moderate = 0 OR n.revisions IS NOT NULL) ORDER BY n.created DESC, n.title”);
$num = 0;
while ($num < 2){ $page = db_fetch_object($result); // load the node: $node = node_load(array("nid" => $page->nid));

if ($node) {
// take the most recent approved revision, extract the page and check output:
$node = book_content($node);
$node = book_custom_navigation($node);
$output .= “

“.l($node->title, “node/view/$node->nid”).”

“;
$output .= $node->body . “
“;

}
$num = $num + 1;
}

print $output;